RFR: 8295851: Do not use ttyLock in BytecodeTracer::trace [v4]
Coleen Phillimore
coleenp at openjdk.org
Fri Jun 27 15:33:28 UTC 2025
On Fri, 27 Jun 2025 15:13:27 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:
> Should the test also include the simple serial version?
Since we don't really verify the output, I don't think one would be needed. The test was originally added when there was a safepointing lock around BytecodeTracer in JDK 7 and the Method* moved, so all the test did was verify that tracing bytecodes didn't crash. With the concurrency I added, it did crash and found a bug that I fixed in BytecodeTracer::trace function.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25915#issuecomment-3013466481
More information about the hotspot-runtime-dev
mailing list