< prev index next >

test/micro/org/openjdk/bench/java/lang/foreign/StrLenTest.java

Print this page
*** 153,10 ***
--- 153,11 ---
      static class RingAllocator implements SegmentAllocator {
          final MemorySegment segment;
          SegmentAllocator current;
          long rem;
  
+         @SuppressWarnings("initialization")
          public RingAllocator(Arena session, int size) {
              this.segment = session.allocate(size, 1);
              reset();
          }
  
< prev index next >