RFR: 8284849: Add deoptimization to unified logging [v11]
Johan Sjölén
duke at openjdk.java.net
Tue Jun 14 13:46:58 UTC 2022
> 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.
Johan Sjölén has updated the pull request incrementally with two additional commits since the last revision:
- Revert my changes to deoptimization.hpp
- Declare log_deopt static
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/8812/files
- new: https://git.openjdk.org/jdk/pull/8812/files/4f488d95..76ff7483
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8812&range=10
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8812&range=09-10
Stats: 4 lines in 2 files changed: 0 ins; 1 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/8812.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/8812/head:pull/8812
PR: https://git.openjdk.org/jdk/pull/8812
More information about the hotspot-dev
mailing list