< prev index next >

src/hotspot/share/runtime/javaThread.cpp

Print this page
*** 502,11 ***
  
    _class_to_be_initialized(nullptr),
  
    _SleepEvent(ParkEvent::Allocate(this)),
  
!   _lock_stack(this) {
    set_jni_functions(jni_functions());
  
  #if INCLUDE_JVMCI
    assert(_jvmci._implicit_exception_pc == nullptr, "must be");
    if (JVMCICounterSize > 0) {
--- 502,12 ---
  
    _class_to_be_initialized(nullptr),
  
    _SleepEvent(ParkEvent::Allocate(this)),
  
!   _lock_stack(this),
+   _om_cache(this) {
    set_jni_functions(jni_functions());
  
  #if INCLUDE_JVMCI
    assert(_jvmci._implicit_exception_pc == nullptr, "must be");
    if (JVMCICounterSize > 0) {

*** 803,10 ***
--- 804,12 ---
    elapsedTimer _timer_exit_phase1;
    elapsedTimer _timer_exit_phase2;
    elapsedTimer _timer_exit_phase3;
    elapsedTimer _timer_exit_phase4;
  
+   om_clear_monitor_cache();
+ 
    if (log_is_enabled(Debug, os, thread, timer)) {
      _timer_exit_phase1.start();
    }
  
    HandleMark hm(this);
< prev index next >