< prev index next >

test/runtime/CompressedOops/CompressedClassPointers.java

Print this page
rev 8016 : [mq]: unique-cds

*** 1,7 **** /* ! * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 93,103 **** public static void sharingTest() throws Exception { // Test small heaps ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( "-XX:+UnlockDiagnosticVMOptions", ! "-XX:SharedArchiveFile=./sample.jsa", "-Xmx128m", "-XX:SharedBaseAddress=8g", "-XX:+PrintCompressedOopsMode", "-XX:+VerifyBeforeGC", "-Xshare:dump"); --- 93,103 ---- public static void sharingTest() throws Exception { // Test small heaps ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( "-XX:+UnlockDiagnosticVMOptions", ! "-XX:SharedArchiveFile=./CompressedClassPointers.jsa", "-Xmx128m", "-XX:SharedBaseAddress=8g", "-XX:+PrintCompressedOopsMode", "-XX:+VerifyBeforeGC", "-Xshare:dump");
*** 106,116 **** output.shouldContain("Loading classes to share"); output.shouldHaveExitValue(0); pb = ProcessTools.createJavaProcessBuilder( "-XX:+UnlockDiagnosticVMOptions", ! "-XX:SharedArchiveFile=./sample.jsa", "-Xmx128m", "-XX:SharedBaseAddress=8g", "-XX:+PrintCompressedOopsMode", "-Xshare:on", "-version"); --- 106,116 ---- output.shouldContain("Loading classes to share"); output.shouldHaveExitValue(0); pb = ProcessTools.createJavaProcessBuilder( "-XX:+UnlockDiagnosticVMOptions", ! "-XX:SharedArchiveFile=./CompressedClassPointers.jsa", "-Xmx128m", "-XX:SharedBaseAddress=8g", "-XX:+PrintCompressedOopsMode", "-Xshare:on", "-version");
< prev index next >