changeset 28733 | 0fc2c4609840 |
parent 23509 | 08e26f93c9a5 |
child 29200 | 5e480434bef4 |
--- a/hotspot/test/gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java Fri Jan 23 11:44:21 2015 -0800 +++ b/hotspot/test/gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java Mon Jan 12 09:16:06 2015 +0100 @@ -41,6 +41,10 @@ // Compressed Class Space is only available on 64-bit JVMs return; } + if (!Platform.shouldSAAttach()) { + System.out.println("SA attach not expected to work - test skipped."); + return; + } String pid = Integer.toString(ProcessTools.getProcessId());