RFR(XS): 8232921: assert(is_object_aligned(result)) failed: address not aligned

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Tue Oct 29 14:32:54 UTC 2019


Originally, I wanted to model indicating that frames
have been dropped nicely in Java using
a meaningful java object. Exceptions in hidden frames
should be rare, so allocating only in that case should have
been cheap. Unfortunately, I can not allocate here.
Also, Boolean::TRUE is not necessarily initialized properly.

Actually, putting the modeling aside, I only need any legal
oop for this field. It is only tested for null later on.
So the most simple (and cheap) fix is just reusing
one of the oops in the array at hand.

So please review this fix.

I'll run it through our testing tonight.

Best regards,

More information about the hotspot-runtime-dev mailing list