RFR: 8368818: Deduplicate dtrace macros in objectMonitor and synchronizer
Francesco Andreuzzi
fandreuzzi at openjdk.org
Sun Sep 28 10:52:17 UTC 2025
I propose to move the following macros and constants definition to `objectMonitor.hpp`:
DTRACE_MONITOR_PROBE_COMMON
DTRACE_MONITOR_WAIT_PROBE
DTRACE_MONITOR_PROBE
HOTSPOT_MONITOR_notify
HOTSPOT_MONITOR_notifyAll
They are defined both in `objectMonitor.cpp` and `synchronizer.cpp`.
Passes tier1 (fastdebug) with `--enable-jvm-feature-dtrace`.
-------------
Commit messages:
- cc
- dedup
Changes: https://git.openjdk.org/jdk/pull/27538/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27538&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8368818
Stats: 137 lines in 3 files changed: 46 ins; 91 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/27538.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27538/head:pull/27538
PR: https://git.openjdk.org/jdk/pull/27538
More information about the hotspot-runtime-dev
mailing list