< prev index next >
test/hotspot/jtreg/gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java
Print this page
rev 59148 : imported patch 8244384
@@ -34,11 +34,10 @@
* java.management
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:CompressedClassSpaceSize=50m gc.metaspace.CompressedClassSpaceSizeInJmapHeap
*/
import jdk.test.lib.JDKToolLauncher;
-import jdk.test.lib.Platform;
import jdk.test.lib.process.OutputAnalyzer;
import jdk.test.lib.process.ProcessTools;
import jdk.test.lib.SA.SATestUtils;
import java.nio.file.*;
import java.io.File;
@@ -48,15 +47,10 @@
public class CompressedClassSpaceSizeInJmapHeap {
// Note that on some platforms it may require root privileges to run this test.
public static void main(String[] args) throws Exception {
SATestUtils.skipIfCannotAttach(); // throws SkippedException if attach not expected to work.
- if (!Platform.is64bit()) {
- // Compressed Class Space is only available on 64-bit JVMs
- return;
- }
-
String pid = Long.toString(ProcessTools.getProcessId());
JDKToolLauncher jmap = JDKToolLauncher.create("jhsdb")
.addToolArg("jmap")
.addToolArg("--heap")
< prev index next >