--- old/src/hotspot/share/c1/c1_Instruction.hpp 2019-01-15 22:00:22.241054849 -0800 +++ new/src/hotspot/share/c1/c1_Instruction.hpp 2019-01-15 22:00:22.057048084 -0800 @@ -1574,14 +1574,19 @@ LEAF(MonitorEnter, AccessMonitor) +bool _maybe_valuetype; public: // creation - MonitorEnter(Value obj, int monitor_no, ValueStack* state_before) + MonitorEnter(Value obj, int monitor_no, ValueStack* state_before, bool maybe_valuetype) : AccessMonitor(obj, monitor_no, state_before) + , _maybe_valuetype(maybe_valuetype) { ASSERT_VALUES } + // accessors + bool maybe_valuetype() const { return _maybe_valuetype; } + // generic virtual bool can_trap() const { return true; } };