Skip to content

Commit 6346158

Browse files
comments
1 parent 03bf2c6 commit 6346158

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

substratevm/src/com.oracle.svm.test/src/com/oracle/svm/test/jfr/TestObjectAllocationInNewTLABEvent.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)