[lworld] Integrated: 8370509: [lworld] EnableValhalla is not needed for sync

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


On Thu, 23 Oct 2025 20:30:17 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.

This pull request has now been integrated.

Changeset: ba1a3055
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/ba1a3055dec3a12163aa77a683ea000062f1ecaf
Stats:     18 lines in 3 files changed: 0 ins; 3 del; 15 mod

8370509: [lworld] EnableValhalla is not needed for sync

Reviewed-by: phubner, fparain

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

PR: https://git.openjdk.org/valhalla/pull/1699


More information about the valhalla-dev mailing list