diff --git a/test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNonConstant.java b/test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNonConstant.java index 9bff6e02210a7..91ce8faec3854 100644 --- a/test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNonConstant.java +++ b/test/micro/org/openjdk/bench/java/lang/foreign/LoopOverNonConstant.java @@ -160,24 +160,6 @@ public int segment_loop_nested_unaligned() { return sum; } - @Benchmark - public int segment_loop_nested() { - int sum = 0; - for (int i = 0; i < ELEM_SIZE; i++) { - sum += (int) VH_SEQ_INT.get(segment, (long) i); - } - return sum; - } - - @Benchmark - public int segment_loop_nested_unaligned() { - int sum = 0; - for (int i = 0; i < ELEM_SIZE; i++) { - sum += (int) VH_SEQ_INT_UNALIGNED.get(segment, (long) i); - } - return sum; - } - @Benchmark public int segment_loop_instance() { int sum = 0;