[11u] RFR: 8222072: JVMTI GenerateEvents() sends CompiledMethodLoad events to wrong jvmtiEnv

Reingruber, Richard richard.reingruber at sap.com
Tue Nov 24 15:23:54 UTC 2020


Hi Götz,

> The change applies clean, but I had to convert the test coding
> from C++ to C.

I'd suggest to replace true/false with JNI_TRUE/JNI_FALSE and change the type of
fail_status to jboolean.

Cheers, Richard.

-----Original Message-----
From: jdk-updates-dev <jdk-updates-dev-retn at openjdk.java.net> On Behalf Of Lindenmaier, Goetz
Sent: Dienstag, 24. November 2020 08:42
To: jdk-updates-dev at openjdk.java.net
Subject: [11u] RFR: 8222072: JVMTI GenerateEvents() sends CompiledMethodLoad events to wrong jvmtiEnv

Hi,

I would like to downport this fix for jvmti. 
Some of the coding added here is needed by follow-up 
8212160: JVMTI agent crashes with "assert(_value != 0LL) failed: resolving NULL _value"
which I downported for 11.0.10-oracle parity.

The change applies clean, but I had to convert the test coding 
from C++ to C.

http://cr.openjdk.java.net/~goetz/wr20/8222072-wrong_jvmtiEnv-jdk11/01/

Please review.

https://bugs.openjdk.java.net/browse/JDK-8222072
http://hg.openjdk.java.net/jdk/jdk/rev/96230a5ef2ec

Best regards
  Goetz.


More information about the jdk-updates-dev mailing list