hotspot/src/share/vm/runtime/java.cpp
changeset 36384 b0b41336a9a8
parent 35914 aab83fe79386
child 37242 91e5f98fff6f
equal deleted inserted replaced
36383:f41dad80f4e3 36384:b0b41336a9a8
    62 #include "runtime/task.hpp"
    62 #include "runtime/task.hpp"
    63 #include "runtime/thread.inline.hpp"
    63 #include "runtime/thread.inline.hpp"
    64 #include "runtime/timer.hpp"
    64 #include "runtime/timer.hpp"
    65 #include "runtime/vm_operations.hpp"
    65 #include "runtime/vm_operations.hpp"
    66 #include "services/memTracker.hpp"
    66 #include "services/memTracker.hpp"
       
    67 #include "trace/traceMacros.hpp"
    67 #include "trace/tracing.hpp"
    68 #include "trace/tracing.hpp"
    68 #include "utilities/dtrace.hpp"
    69 #include "utilities/dtrace.hpp"
    69 #include "utilities/globalDefinitions.hpp"
    70 #include "utilities/globalDefinitions.hpp"
    70 #include "utilities/histogram.hpp"
    71 #include "utilities/histogram.hpp"
    71 #include "utilities/macros.hpp"
    72 #include "utilities/macros.hpp"
   483   }
   484   }
   484 
   485 
   485 
   486 
   486   EventThreadEnd event;
   487   EventThreadEnd event;
   487   if (event.should_commit()) {
   488   if (event.should_commit()) {
   488       event.set_javalangthread(java_lang_Thread::thread_id(thread->threadObj()));
   489       event.set_thread(THREAD_TRACE_ID(thread));
   489       event.commit();
   490       event.commit();
   490   }
   491   }
   491 
   492 
   492   // Always call even when there are not JVMTI environments yet, since environments
   493   // Always call even when there are not JVMTI environments yet, since environments
   493   // may be attached late and JVMTI must track phases of VM execution
   494   // may be attached late and JVMTI must track phases of VM execution