< prev index next >
test/hotspot/jtreg/runtime/CompressedOops/UseCompressedOops.java
Print this page
rev 59103 : imported patch hotspot
*** 84,99 ****
// Explicly enabling compressed oops
testCompressedOops(args, "-XX:+UseCompressedOops", "-Xmx32m")
.shouldContain("Compressed Oops mode")
.shouldHaveExitValue(0);
! // Skip the following seven test cases if we're on OSX, Windows, or Solaris.
//
// OSX doesn't seem to care about HeapBaseMinAddress. Windows memory
! // locations are affected by ASLR. Solaris puts the heap way up,
! // forcing different behaviour.
! if (!Platform.isOSX() && !Platform.isWindows() && !Platform.isSolaris()) {
// Larger than 4gb heap should result in zero based with shift 3
testCompressedOops(args, "-XX:+UseCompressedOops", "-Xmx5g")
.shouldContain("Zero based")
.shouldContain("Oop shift amount: 3")
--- 84,98 ----
// Explicly enabling compressed oops
testCompressedOops(args, "-XX:+UseCompressedOops", "-Xmx32m")
.shouldContain("Compressed Oops mode")
.shouldHaveExitValue(0);
! // Skip the following seven test cases if we're on OSX or Windows.
//
// OSX doesn't seem to care about HeapBaseMinAddress. Windows memory
! // locations are affected by ASLR.
! if (!Platform.isOSX() && !Platform.isWindows()) {
// Larger than 4gb heap should result in zero based with shift 3
testCompressedOops(args, "-XX:+UseCompressedOops", "-Xmx5g")
.shouldContain("Zero based")
.shouldContain("Oop shift amount: 3")
< prev index next >