[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-hotspot-runtime-dev
Subject:    Integrated: 8320304: Refactor and simplify monitor deflation functions
From:       Stefan Karlsson <stefank () openjdk ! org>
Date:       2023-11-30 12:43:20
Message-ID: KTWtG6QWh5o7l4n5K5tBRmJ2HrF9iCtFV3zxD4RtrKY=.1e3d2b05-83a8-4184-8610-074189faf2cc () github ! com
[Download RAW message or body]

On Fri, 17 Nov 2023 10:45:10 GMT, Stefan Karlsson <stefank@openjdk.org> wrote:

> The recent rewrites to remove safepointed monitor deflation allows us to simplify \
> the monitor deflation code a bit. The code is now guaranteed to be called from the \
> MonitorDeflationThread, which is a JavaThread, and never from the VMThread. 
> I would like to propose two changes to the code:
> 1) Remove all code that supports monitor deflation from other threads than the \
> MonitorDeflationThread 2) Extract out the logging code so that it is easier to see \
> the structure of the monitor deflation code 
> I have run minimal manual of this patch. I'd like to get some feedback on the \
> proposal before I proceed to run more in-depth testing.

This pull request has now been integrated.

Changeset: 03759e89
Author:    Stefan Karlsson <stefank@openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/03759e892df1f1de5d5ede93f5ded21e468cff5a
                
Stats:     228 lines in 2 files changed: 104 ins; 73 del; 51 mod

8320304: Refactor and simplify monitor deflation functions

Reviewed-by: dcubed, dholmes

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

PR: https://git.openjdk.org/jdk/pull/16706


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic