Integrated: 8342105: JVM Crash when Jacoco and JFR are active
Markus Grönlund
mgronlun at openjdk.org
Mon Nov 11 14:41:08 UTC 2024
On Tue, 5 Nov 2024 12:27:31 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:
> 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
This pull request has now been integrated.
Changeset: 0759224e
Author: Markus Grönlund <mgronlun at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/0759224edc9843d77b3eb0f121d724de826b634d
Stats: 26 lines in 1 file changed: 23 ins; 0 del; 3 mod
8342105: JVM Crash when Jacoco and JFR are active
Reviewed-by: egahlin
-------------
PR: https://git.openjdk.org/jdk/pull/21902
More information about the hotspot-jfr-dev
mailing list