< prev index next >

test/hotspot/jtreg/compiler/codegen/TestOopCmp.java

Print this page
rev 59103 : imported patch hotspot

*** 58,68 **** WhiteBox WB = WhiteBox.getWhiteBox(); // The test is started with -XX:HeapBaseMinAddress=0x700000000 and a // small heap of only 4mb. This works pretty reliable and at least on ! // Linux/Windows/Solaris we will get a heap starting at 0x700000000. // The test also runs with -XX:+UseSerialGC which means that we'll get // eden starting at 0x700000000. // Calling 'System.gc()' will clean up all the objects from eden, so if // eden starts at 0x700000000 the first allocation right after the // system GC will be allcoated right at address 0x700000000. --- 58,68 ---- WhiteBox WB = WhiteBox.getWhiteBox(); // The test is started with -XX:HeapBaseMinAddress=0x700000000 and a // small heap of only 4mb. This works pretty reliable and at least on ! // Linux/Windows we will get a heap starting at 0x700000000. // The test also runs with -XX:+UseSerialGC which means that we'll get // eden starting at 0x700000000. // Calling 'System.gc()' will clean up all the objects from eden, so if // eden starts at 0x700000000 the first allocation right after the // system GC will be allcoated right at address 0x700000000.
< prev index next >