RFR: 8342577: Clean up JVMTI breakpoint support
Alex Menkov
amenkov at openjdk.org
Thu Oct 24 01:48:38 UTC 2024
The fix cleans up code to support list of JVMTI breakpoints.
- classes required to supports cache of byte code pointers (GrowableElement, GrowableCache, JvmtiBreakpointCache) are dropped;
- class JvmtiCurrentBreakpoints (JvmtiBreakpoints factory) is left as is, dropped unused code;
- fixed race in JvmtiCurrentBreakpoints::get_jvmti_breakpoints() (fix for JDK-8210637);
- JvmtiBreakpoint:JvmtiBreakpoint() + JvmtiBreakpoint::copy(JvmtiBreakpoint& bp) are replaced with copy ctor;
- JvmtiBreakpoints::clearall_in_class_at_safepoint() is simplified to do a single pass;
Testing: tier1..tier6
-------------
Commit messages:
- bp_cleanup
Changes: https://git.openjdk.org/jdk/pull/21675/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21675&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8342577
Stats: 352 lines in 2 files changed: 27 ins; 284 del; 41 mod
Patch: https://git.openjdk.org/jdk/pull/21675.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/21675/head:pull/21675
PR: https://git.openjdk.org/jdk/pull/21675
More information about the serviceability-dev
mailing list