[lworld] RFR: 8370509: [lworld] EnableValhalla is not needed for sync [v2]

Coleen Phillimore coleenp at openjdk.org
Mon Oct 27 19:41:34 UTC 2025


On Fri, 24 Oct 2025 17:29:07 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> I took out EnableValhalla as a conditional test in the ObjectSynchronizer code.  If the inline type bit is set in the markWord or the klass is InlineKlass, we can't synchronize on the object.
>> I added a test but it was sort of a duplicate of all runtime/valhalla/inlinetypes/MonitorEnterTest.java and duplicates all tests that do locking so I didn't add a test.
>> Testing with tier1-4, still in progress.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
> 
>   More descriptive assert message for FastHashCode of value classes.

Thanks Paul and Fred for reviewing.

-------------

PR Comment: https://git.openjdk.org/valhalla/pull/1699#issuecomment-3452993343


More information about the valhalla-dev mailing list