< prev index next >

src/hotspot/share/jfr/recorder/checkpoint/types/jfrType.cpp

Print this page
rev 56464 : 8231707: Improve Mutex inlining
Contributed-by: robbin.ehn@oracle.com, claes.redestad@oracle.com


  27 #include "code/codeBlob.hpp"
  28 #include "code/codeCache.hpp"
  29 #include "gc/shared/gcCause.hpp"
  30 #include "gc/shared/gcName.hpp"
  31 #include "gc/shared/gcTrace.hpp"
  32 #include "gc/shared/gcWhen.hpp"
  33 #include "jfr/leakprofiler/leakProfiler.hpp"
  34 #include "jfr/recorder/checkpoint/jfrCheckpointManager.hpp"
  35 #include "jfr/recorder/checkpoint/types/jfrType.hpp"
  36 #include "jfr/recorder/jfrRecorder.hpp"
  37 #include "jfr/recorder/checkpoint/types/jfrThreadGroup.hpp"
  38 #include "jfr/recorder/checkpoint/types/jfrThreadState.hpp"
  39 #include "jfr/recorder/checkpoint/types/jfrTypeSet.hpp"
  40 #include "jfr/support/jfrThreadLocal.hpp"
  41 #include "jfr/writers/jfrJavaEventWriter.hpp"
  42 #include "memory/metaspaceGCThresholdUpdater.hpp"
  43 #include "memory/referenceType.hpp"
  44 #include "memory/universe.hpp"
  45 #include "oops/compressedOops.hpp"
  46 #include "runtime/flags/jvmFlag.hpp"
  47 #include "runtime/mutexLocker.hpp"
  48 #include "runtime/osThread.hpp"
  49 #include "runtime/safepoint.hpp"
  50 #include "runtime/synchronizer.hpp"
  51 #include "runtime/thread.inline.hpp"
  52 #include "runtime/vmOperations.hpp"
  53 
  54 #ifdef COMPILER2
  55 #include "opto/compile.hpp"
  56 #include "opto/node.hpp"
  57 #endif
  58 
  59 // Requires a ResourceMark for get_thread_name/as_utf8
  60 class JfrCheckpointThreadClosure : public ThreadClosure {
  61  private:
  62   JfrCheckpointWriter& _writer;
  63   JfrCheckpointContext _ctx;
  64   const int64_t _count_position;
  65   Thread* const _curthread;
  66   u4 _count;
  67 




  27 #include "code/codeBlob.hpp"
  28 #include "code/codeCache.hpp"
  29 #include "gc/shared/gcCause.hpp"
  30 #include "gc/shared/gcName.hpp"
  31 #include "gc/shared/gcTrace.hpp"
  32 #include "gc/shared/gcWhen.hpp"
  33 #include "jfr/leakprofiler/leakProfiler.hpp"
  34 #include "jfr/recorder/checkpoint/jfrCheckpointManager.hpp"
  35 #include "jfr/recorder/checkpoint/types/jfrType.hpp"
  36 #include "jfr/recorder/jfrRecorder.hpp"
  37 #include "jfr/recorder/checkpoint/types/jfrThreadGroup.hpp"
  38 #include "jfr/recorder/checkpoint/types/jfrThreadState.hpp"
  39 #include "jfr/recorder/checkpoint/types/jfrTypeSet.hpp"
  40 #include "jfr/support/jfrThreadLocal.hpp"
  41 #include "jfr/writers/jfrJavaEventWriter.hpp"
  42 #include "memory/metaspaceGCThresholdUpdater.hpp"
  43 #include "memory/referenceType.hpp"
  44 #include "memory/universe.hpp"
  45 #include "oops/compressedOops.hpp"
  46 #include "runtime/flags/jvmFlag.hpp"
  47 #include "runtime/mutexLocker.inline.hpp"
  48 #include "runtime/osThread.hpp"
  49 #include "runtime/safepoint.hpp"
  50 #include "runtime/synchronizer.hpp"
  51 #include "runtime/thread.inline.hpp"
  52 #include "runtime/vmOperations.hpp"
  53 
  54 #ifdef COMPILER2
  55 #include "opto/compile.hpp"
  56 #include "opto/node.hpp"
  57 #endif
  58 
  59 // Requires a ResourceMark for get_thread_name/as_utf8
  60 class JfrCheckpointThreadClosure : public ThreadClosure {
  61  private:
  62   JfrCheckpointWriter& _writer;
  63   JfrCheckpointContext _ctx;
  64   const int64_t _count_position;
  65   Thread* const _curthread;
  66   u4 _count;
  67 


< prev index next >