src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/tools/HeapSummary.java
changeset 59053 ba6c248cae19
parent 53517 20ba6a7f897a
equal deleted inserted replaced
59051:f0312c7d5b37 59053:ba6c248cae19
   158        long l = getFlagValue("UseTLAB", flagMap);
   158        long l = getFlagValue("UseTLAB", flagMap);
   159        if (l == 1L) {
   159        if (l == 1L) {
   160           System.out.println("using thread-local object allocation.");
   160           System.out.println("using thread-local object allocation.");
   161        }
   161        }
   162 
   162 
   163        l = getFlagValue("UseConcMarkSweepGC", flagMap);
       
   164        if (l == 1L) {
       
   165           System.out.println("Concurrent Mark-Sweep GC");
       
   166           return;
       
   167        }
       
   168 
       
   169        l = getFlagValue("UseParallelGC", flagMap);
   163        l = getFlagValue("UseParallelGC", flagMap);
   170        if (l == 1L) {
   164        if (l == 1L) {
   171           System.out.print("Parallel GC ");
   165           System.out.print("Parallel GC ");
   172           l = getFlagValue("ParallelGCThreads", flagMap);
   166           l = getFlagValue("ParallelGCThreads", flagMap);
   173           System.out.println("with " + l + " thread(s)");
   167           System.out.println("with " + l + " thread(s)");