RFR(M): 8204615: [lworld] C2 support for java.lang.Object methods on value types

Tobias Hartmann tobias.hartmann at oracle.com
Thu Jul 5 14:48:04 UTC 2018


On 05.07.2018 16:36, Roland Westrelin wrote:
>> Yes, we deoptimize with the pending exception that was installed by CHECK_THROW_NOSYNC_IMSE if the
>> obj is a value type (i.e., always locked) in synchronizer.cpp.
> 
> Wouldn't it be simpler to clear the exception, deoptimize and let the
> interpreter re-execute the monitorenter and throw the exception?

I've tried that when prototyping but it didn't work (I don't remember why). Let me try again.

Thanks,
Tobias


More information about the valhalla-dev mailing list