RFR: 8295851: Do not use ttyLock in BytecodeTracer::trace [v4]

Coleen Phillimore coleenp at openjdk.org
Thu Jun 26 20:35:41 UTC 2025


On Wed, 25 Jun 2025 02:45:39 GMT, David Holmes <dholmes at openjdk.org> wrote:

> You could use a ThreadLocal for the current method being printed.

Oh yes that would be better, but I hate to add things to Thread for just one use.  Actually, reprinting the method name probably helps with readability if multiple threads are interleaving output.

Thanks for the review @dholmes-ora

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

PR Comment: https://git.openjdk.org/jdk/pull/25915#issuecomment-3006207216


More information about the hotspot-runtime-dev mailing list