src/share/vm/prims/jvmtiExport.hpp

changeset 2445
7246a374a9f2
parent 2325
c760f78e0a53
child 2467
9afee0b9fc1d
     1.1 --- a/src/share/vm/prims/jvmtiExport.hpp	Mon Jan 10 09:23:20 2011 -0800
     1.2 +++ b/src/share/vm/prims/jvmtiExport.hpp	Mon Jan 10 17:14:53 2011 -0500
     1.3 @@ -356,9 +356,6 @@
     1.4  
     1.5    // SetNativeMethodPrefix support
     1.6    static char** get_all_native_method_prefixes(int* count_ptr);
     1.7 -
     1.8 -  // call after CMS has completed referencing processing
     1.9 -  static void cms_ref_processing_epilogue() KERNEL_RETURN;
    1.10  };
    1.11  
    1.12  // Support class used by JvmtiDynamicCodeEventCollector and others. It
    1.13 @@ -492,55 +489,11 @@
    1.14  
    1.15  // Base class for reporting GC events to JVMTI.
    1.16  class JvmtiGCMarker : public StackObj {
    1.17 - private:
    1.18 -  bool _full;                           // marks a "full" GC
    1.19 -  unsigned int _invocation_count;       // GC invocation count
    1.20 - protected:
    1.21 -  JvmtiGCMarker(bool full) KERNEL_RETURN;       // protected
    1.22 -  ~JvmtiGCMarker() KERNEL_RETURN;               // protected
    1.23 + public:
    1.24 +  JvmtiGCMarker() KERNEL_RETURN;
    1.25 +  ~JvmtiGCMarker() KERNEL_RETURN;
    1.26  };
    1.27  
    1.28 -
    1.29 -// Support class used to report GC events to JVMTI. The class is stack
    1.30 -// allocated and should be placed in the doit() implementation of all
    1.31 -// vm operations that do a stop-the-world GC for failed allocation.
    1.32 -//
    1.33 -// Usage :-
    1.34 -//
    1.35 -// void VM_GenCollectForAllocation::doit() {
    1.36 -//   JvmtiGCForAllocationMarker jgcm;
    1.37 -//   :
    1.38 -// }
    1.39 -//
    1.40 -// If jvmti is not enabled the constructor and destructor is essentially
    1.41 -// a no-op (no overhead).
    1.42 -//
    1.43 -class JvmtiGCForAllocationMarker : public JvmtiGCMarker {
    1.44 - public:
    1.45 -  JvmtiGCForAllocationMarker() : JvmtiGCMarker(false) {
    1.46 -  }
    1.47 -};
    1.48 -
    1.49 -// Support class used to report GC events to JVMTI. The class is stack
    1.50 -// allocated and should be placed in the doit() implementation of all
    1.51 -// vm operations that do a "full" stop-the-world GC. This class differs
    1.52 -// from JvmtiGCForAllocationMarker in that this class assumes that a
    1.53 -// "full" GC will happen.
    1.54 -//
    1.55 -// Usage :-
    1.56 -//
    1.57 -// void VM_GenCollectFull::doit() {
    1.58 -//   JvmtiGCFullMarker jgcm;
    1.59 -//   :
    1.60 -// }
    1.61 -//
    1.62 -class JvmtiGCFullMarker : public JvmtiGCMarker {
    1.63 - public:
    1.64 -  JvmtiGCFullMarker() : JvmtiGCMarker(true) {
    1.65 -  }
    1.66 -};
    1.67 -
    1.68 -
    1.69  // JvmtiHideSingleStepping is a helper class for hiding
    1.70  // internal single step events.
    1.71  class JvmtiHideSingleStepping : public StackObj {

mercurial