src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/HSDB.java
changeset 50525 767cdb97f103
parent 50523 7b7c75d87f9b
child 52925 9c18c9d839d3
equal deleted inserted replaced
50524:04f4e983c2f7 50525:767cdb97f103
     1 /*
     1 /*
     2  * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    35 import sun.jvm.hotspot.debugger.*;
    35 import sun.jvm.hotspot.debugger.*;
    36 import sun.jvm.hotspot.gc.epsilon.*;
    36 import sun.jvm.hotspot.gc.epsilon.*;
    37 import sun.jvm.hotspot.gc.parallel.*;
    37 import sun.jvm.hotspot.gc.parallel.*;
    38 import sun.jvm.hotspot.gc.shared.*;
    38 import sun.jvm.hotspot.gc.shared.*;
    39 import sun.jvm.hotspot.gc.g1.*;
    39 import sun.jvm.hotspot.gc.g1.*;
       
    40 import sun.jvm.hotspot.gc.z.*;
    40 import sun.jvm.hotspot.interpreter.*;
    41 import sun.jvm.hotspot.interpreter.*;
    41 import sun.jvm.hotspot.memory.*;
    42 import sun.jvm.hotspot.memory.*;
    42 import sun.jvm.hotspot.oops.*;
    43 import sun.jvm.hotspot.oops.*;
    43 import sun.jvm.hotspot.runtime.*;
    44 import sun.jvm.hotspot.runtime.*;
    44 import sun.jvm.hotspot.ui.*;
    45 import sun.jvm.hotspot.ui.*;
  1110                             bad = false;
  1111                             bad = false;
  1111                           }
  1112                           }
  1112                         } else if (collHeap instanceof EpsilonHeap) {
  1113                         } else if (collHeap instanceof EpsilonHeap) {
  1113                           anno = "Epsilon ";
  1114                           anno = "Epsilon ";
  1114                           bad = false;
  1115                           bad = false;
       
  1116                         } else if (collHeap instanceof ZCollectedHeap) {
       
  1117                           ZCollectedHeap heap = (ZCollectedHeap) collHeap;
       
  1118                           anno = "ZHeap ";
       
  1119                           bad = false;
  1115                         } else {
  1120                         } else {
  1116                           // Optimistically assume the oop isn't bad
  1121                           // Optimistically assume the oop isn't bad
  1117                           anno = "[Unknown generation] ";
  1122                           anno = "[Unknown generation] ";
  1118                           bad = false;
  1123                           bad = false;
  1119                         }
  1124                         }