RFR: 8342105: JVM Crash when Jacoco and JFR are active [v2]
Markus Grönlund
mgronlun at openjdk.org
Tue Nov 5 13:15:56 UTC 2024
> Greetings,
>
> JFR hooking invocations of deprecated methods have a problem supporting Condy because these involve indirect invocations (via a bootstrap method) and do not have a reified bytecode invocation instruction (which gets support structures in the MDO).
>
> The bytecode for a condy invocation is ldc or fast_aload (when the bytecode is rewritten), and no MDO support structures are added for these.
>
> ConstantPool idx 0x55: ("Condy")
>
> 55 = Dynamic 0:54 // 0:$jacocoData:Ljava/lang/Object;
>
> CONSTANT_Dynamic_info {
> u1 tag;
> u2 bootstrap_method_attr_index; [0]
> u2 name_and_type_index; [54]
> }
>
> For additional details, please take a look at the JIRA issue.
>
> Testing: jdk_jfr
>
> Thanks
> Markus
Markus Grönlund has updated the pull request incrementally with one additional commit since the last revision:
add missing default case
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/21902/files
- new: https://git.openjdk.org/jdk/pull/21902/files/f4749cec..ac59a84b
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=21902&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=21902&range=00-01
Stats: 5 lines in 1 file changed: 4 ins; 1 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/21902.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/21902/head:pull/21902
PR: https://git.openjdk.org/jdk/pull/21902
More information about the hotspot-jfr-dev
mailing list