File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
substratevm/src/com.oracle.svm.test/src/com/oracle/svm/test/jfr Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -87,21 +87,21 @@ event.<RecordedClass> getValue("objectClass").getName().equals(byte[].class.getN
8787 @ Test
8888 public void test () throws Exception {
8989
90- // These arrays must result in exceeding the large array threshold, resulting in new TLABs.
90+ // These arrays must result in exceeding the large array threshold, resulting in new TLABs. Big Byte.
9191 byte [] bigByte = new byte [2 * DEFAULT_ALIGNED_HEAP_CHUNK_SIZE ];
9292 Arrays .fill (bigByte , (byte ) 0 );
9393
94- // Using char, so it's the same size as bigByte.
94+ // Using char, so it's the same size as bigByte. Big Char.
9595 char [] bigChar = new char [DEFAULT_ALIGNED_HEAP_CHUNK_SIZE ];
9696 Arrays .fill (bigChar , 'm' );
9797
98- // Try to exhaust TLAB with arrays
98+ // Try to exhaust TLAB with small arrays. Small byte.
9999 for (int i = 0 ; i < DEFAULT_ALIGNED_HEAP_CHUNK_SIZE / KILO ; i ++) {
100100 byteArray = new byte [KILO ];
101101 Arrays .fill (byteArray , (byte ) 0 );
102102 }
103103
104- // Try to exhaust TLAB with instances
104+ // Try to exhaust TLAB with instances. Instance.
105105 for (int i = 0 ; i < DEFAULT_ALIGNED_HEAP_CHUNK_SIZE ; i ++) {
106106 helper = new Helper ();
107107 }
You can’t perform that action at this time.
0 commit comments