Integrated: 8284849: Add deoptimization to unified logging

Johan Sjölén duke at openjdk.java.net
Wed Jun 15 12:29:03 UTC 2022


On Fri, 20 May 2022 14:12:30 GMT, Johan Sjölén <duke at openjdk.org> wrote:

> This PR adds a new "deoptimization" tag and a new log message on the info level mimicking JFR's deoptimization event. In the future this tag will be used to add trace level information, hopefully replacing TraceDeoptimization. JFR's event also captures the stacktrace, which this does not (happy to add this if considered important).
> 
> An example output looks like this: 
> 
> 
> [1.324s][debug][deoptimization] cid=236 level=4java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(I)Z trap_bci=26 unstable_if reinterpret pc=0x00007f8b30bf8b94 relative_pc=0x0000000000000174
> 
> 
> Passes tier1.

This pull request has now been integrated.

Changeset: d5cd2f2c
Author:    Johan Sjölén <johan.sjolen at oracle.com>
Committer: Jorn Vernee <jvernee at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d5cd2f2caa857891c2cbc13e7da4f85720f3bbb7
Stats:     41 lines in 2 files changed: 33 ins; 2 del; 6 mod

8284849: Add deoptimization to unified logging

Reviewed-by: jvernee, kvn, xliu, coleenp

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

PR: https://git.openjdk.org/jdk/pull/8812


More information about the hotspot-dev mailing list