24 |
24 |
25 /* |
25 /* |
26 * @test |
26 * @test |
27 * @bug 6865031 |
27 * @bug 6865031 |
28 * @summary Application gives bad result (throws bad exception) with compressed oops |
28 * @summary Application gives bad result (throws bad exception) with compressed oops |
29 * @run main/othervm -XX:+UseCompressedOops -XX:HeapBaseMinAddress=32g -XX:-LoopUnswitching -XX:CompileCommand=inline,AbstractMemoryEfficientList.equals Test hello goodbye |
29 * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+UseCompressedOops -XX:HeapBaseMinAddress=32g -XX:-LoopUnswitching -XX:CompileCommand=inline,AbstractMemoryEfficientList.equals Test hello goodbye |
30 */ |
30 */ |
31 |
31 |
32 import java.lang.ref.ReferenceQueue; |
32 import java.lang.ref.ReferenceQueue; |
33 import java.lang.ref.WeakReference; |
33 import java.lang.ref.WeakReference; |
34 import java.util.ArrayList; |
34 import java.util.ArrayList; |