RFR: 8315884: New Object to ObjectMonitor mapping [v9]

Coleen Phillimore coleenp at openjdk.org
Tue Aug 13 14:56:56 UTC 2024


On Mon, 12 Aug 2024 14:37:50 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:

>> This is a really good suggestion and might help a lot with the performance problems that we see with the table with heavily contended locking.  I think we should change this in a follow-on patch (which I'll work on).
>
> I inlined the table in the surrounding object as it is a trivial change. 
> 
> Removing both indirections and creating static storage I would require more work (some conditional deferred creation, similar to an optional).

Sadly doesn't help with performance.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20067#discussion_r1715443138


More information about the core-libs-dev mailing list