< prev index next >

src/hotspot/share/opto/parse1.cpp

Print this page
*** 421,10 ***
--- 421,14 ---
  
    if (parse_method->has_reserved_stack_access()) {
      C->set_has_reserved_stack_access(true);
    }
  
+   if (parse_method->is_synchronized()) {
+     C->set_has_monitors(true);
+   }
+ 
    _tf = TypeFunc::make(method());
    _iter.reset_to_method(method());
    _flow = method()->get_flow_analysis();
    if (_flow->failing()) {
      C->record_method_not_compilable(_flow->failure_reason());
< prev index next >