Integrated: JDK-8281450: Remove unnecessary operator new and delete from ObjectMonitor
Thomas Stuefe
stuefe at openjdk.java.net
Tue Feb 8 14:47:07 UTC 2022
On Tue, 8 Feb 2022 08:03:51 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> Trivial (?) patch to remove ObjectMonitor operator new and delete. Since ObjectMonitor derives from CHeapObj, we don't need those.
>
> This also solves the problem that the local new overrules the NMT category flag set in CHeapObj (both currently are mtInternal, so the problem is theoretical).
This pull request has now been integrated.
Changeset: 83d67452
Author: Thomas Stuefe <stuefe at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/83d67452da248db17bc72de80247a670d6813cf5
Stats: 20 lines in 2 files changed: 0 ins; 18 del; 2 mod
8281450: Remove unnecessary operator new and delete from ObjectMonitor
Reviewed-by: dholmes
-------------
PR: https://git.openjdk.java.net/jdk/pull/7377
More information about the hotspot-runtime-dev
mailing list