hotspot/src/share/vm/runtime/synchronizer.cpp
changeset 40664 1ec65b303bb7
parent 40655 9f644073d3a0
child 46271 979ebd346ecf
equal deleted inserted replaced
40659:a2b2936240b9 40664:1ec65b303bb7
  1817 static void post_monitor_inflate_event(EventJavaMonitorInflate& event,
  1817 static void post_monitor_inflate_event(EventJavaMonitorInflate& event,
  1818                                        const oop obj,
  1818                                        const oop obj,
  1819                                        const ObjectSynchronizer::InflateCause cause) {
  1819                                        const ObjectSynchronizer::InflateCause cause) {
  1820 #if INCLUDE_TRACE
  1820 #if INCLUDE_TRACE
  1821   assert(event.should_commit(), "check outside");
  1821   assert(event.should_commit(), "check outside");
  1822   event.set_klass(obj->klass());
  1822   event.set_monitorClass(obj->klass());
  1823   event.set_address((TYPE_ADDRESS)(uintptr_t)(void*)obj);
  1823   event.set_address((TYPE_ADDRESS)(uintptr_t)(void*)obj);
  1824   event.set_cause((u1)cause);
  1824   event.set_cause((u1)cause);
  1825   event.commit();
  1825   event.commit();
  1826 #endif
  1826 #endif
  1827 }
  1827 }