hotspot/src/share/vm/services/management.hpp
changeset 17296 68557efd8583
parent 13975 2f7431485cfa
child 30247 9925b07bba5b
equal deleted inserted replaced
17093:04fc6db0518b 17296:68557efd8583
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2013, 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.
    48   static Klass*             _memoryPoolMXBean_klass;
    48   static Klass*             _memoryPoolMXBean_klass;
    49   static Klass*             _memoryManagerMXBean_klass;
    49   static Klass*             _memoryManagerMXBean_klass;
    50   static Klass*             _garbageCollectorMXBean_klass;
    50   static Klass*             _garbageCollectorMXBean_klass;
    51   static Klass*             _managementFactory_klass;
    51   static Klass*             _managementFactory_klass;
    52   static Klass*             _garbageCollectorImpl_klass;
    52   static Klass*             _garbageCollectorImpl_klass;
       
    53   static Klass*             _diagnosticCommandImpl_klass;
       
    54   static Klass*             _managementFactoryHelper_klass;
    53   static Klass*             _gcInfo_klass;
    55   static Klass*             _gcInfo_klass;
    54 
    56 
    55   static Klass* load_and_initialize_klass(Symbol* sh, TRAPS);
    57   static Klass* load_and_initialize_klass(Symbol* sh, TRAPS);
    56 
    58 
    57 public:
    59 public:
    97       NOT_MANAGEMENT_RETURN_(NULL);
    99       NOT_MANAGEMENT_RETURN_(NULL);
    98   static Klass* sun_management_GarbageCollectorImpl_klass(TRAPS)
   100   static Klass* sun_management_GarbageCollectorImpl_klass(TRAPS)
    99       NOT_MANAGEMENT_RETURN_(NULL);
   101       NOT_MANAGEMENT_RETURN_(NULL);
   100   static Klass* com_sun_management_GcInfo_klass(TRAPS)
   102   static Klass* com_sun_management_GcInfo_klass(TRAPS)
   101       NOT_MANAGEMENT_RETURN_(NULL);
   103       NOT_MANAGEMENT_RETURN_(NULL);
       
   104   static Klass* sun_management_DiagnosticCommandImpl_klass(TRAPS)
       
   105       NOT_MANAGEMENT_RETURN_(NULL);
       
   106   static Klass* sun_management_ManagementFactoryHelper_klass(TRAPS)
       
   107       NOT_MANAGEMENT_RETURN_(NULL);
   102 
   108 
   103   static instanceOop create_thread_info_instance(ThreadSnapshot* snapshot, TRAPS);
   109   static instanceOop create_thread_info_instance(ThreadSnapshot* snapshot, TRAPS);
   104   static instanceOop create_thread_info_instance(ThreadSnapshot* snapshot, objArrayHandle monitors_array, typeArrayHandle depths_array, objArrayHandle synchronizers_array, TRAPS);
   110   static instanceOop create_thread_info_instance(ThreadSnapshot* snapshot, objArrayHandle monitors_array, typeArrayHandle depths_array, objArrayHandle synchronizers_array, TRAPS);
   105 };
   111 };
   106 
   112