src/share/vm/runtime/java.cpp

changeset 3427
94ec88ca68e2
parent 3202
436b4a3231bf
child 3884
f8de958e5b2c
child 3900
d2a62e0f25eb
equal deleted inserted replaced
3402:4f25538b54c9 3427:94ec88ca68e2
55 #include "runtime/sharedRuntime.hpp" 55 #include "runtime/sharedRuntime.hpp"
56 #include "runtime/statSampler.hpp" 56 #include "runtime/statSampler.hpp"
57 #include "runtime/task.hpp" 57 #include "runtime/task.hpp"
58 #include "runtime/timer.hpp" 58 #include "runtime/timer.hpp"
59 #include "runtime/vm_operations.hpp" 59 #include "runtime/vm_operations.hpp"
60 #include "trace/tracing.hpp"
61 #include "trace/traceEventTypes.hpp"
60 #include "utilities/dtrace.hpp" 62 #include "utilities/dtrace.hpp"
61 #include "utilities/globalDefinitions.hpp" 63 #include "utilities/globalDefinitions.hpp"
62 #include "utilities/histogram.hpp" 64 #include "utilities/histogram.hpp"
63 #include "utilities/vmError.hpp" 65 #include "utilities/vmError.hpp"
64 #ifdef TARGET_ARCH_x86 66 #ifdef TARGET_ARCH_x86
500 } 502 }
501 503
502 if (JvmtiExport::should_post_thread_life()) { 504 if (JvmtiExport::should_post_thread_life()) {
503 JvmtiExport::post_thread_end(thread); 505 JvmtiExport::post_thread_end(thread);
504 } 506 }
507
508 EVENT_BEGIN(TraceEventThreadEnd, event);
509 EVENT_COMMIT(event,
510 EVENT_SET(event, javalangthread, java_lang_Thread::thread_id(thread->threadObj())));
511
505 // Always call even when there are not JVMTI environments yet, since environments 512 // Always call even when there are not JVMTI environments yet, since environments
506 // may be attached late and JVMTI must track phases of VM execution 513 // may be attached late and JVMTI must track phases of VM execution
507 JvmtiExport::post_vm_death(); 514 JvmtiExport::post_vm_death();
508 Threads::shutdown_vm_agents(); 515 Threads::shutdown_vm_agents();
509 516

mercurial