Hi Collen,
Thank you for making this update! It looks good to me. One nit: http://cr.openjdk.java.net/~coleenp/2019/8212160.03/webrev/test/hotspot/jtreg/serviceability/jvmti/CompiledMethodLoad/libCompiledZombie.cpp.html 46 // Continuously generate CompiledMethodLoad events for all currently compiled methods 47 void JNICALL GenerateEventsThread(jvmtiEnv* jvmti, JNIEnv* jni, void* arg) { 48 jvmti->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_COMPILED_METHOD_LOAD, NULL); 49 int count = 0; 50 51 while (true) { 52 events = 0; 53 jvmti->GenerateEvents(JVMTI_EVENT_COMPILED_METHOD_LOAD); 54 if (events != 0 && ++count == 200) { 55 printf("Generated %d events\n", events); 56 count = 0; 57 } 58 } 59 } The above can be simplified a little bit: if (events % 200 == 199) { printf("Generated %d events\n", events); } Then this line is not needed too: 49 int count = 0; Thanks, Serguei On 12/5/19 04:08, coleen.phillim...@oracle.com wrote:
|
- Re: RFR (M) 8212160: JVMTI agent crash... erik . osterlund
- Re: RFR (M) 8212160: JVMTI agent c... coleen . phillimore
- Re: RFR (M) 8212160: JVMTI agent crashes with &... serguei.spit...@oracle.com
- Re: RFR (M) 8212160: JVMTI agent crashes w... serguei.spit...@oracle.com
- Re: RFR (M) 8212160: JVMTI agent crashes w... coleen . phillimore
- Re: RFR (M) 8212160: JVMTI agent crash... serguei.spit...@oracle.com
- Re: RFR (M) 8212160: JVMTI agent crash... Daniel D. Daugherty
- Re: RFR (M) 8212160: JVMTI agent c... coleen . phillimore
- Re: RFR (M) 8212160: JVMTI age... David Holmes
- Re: RFR (M) 8212160: JVMT... coleen . phillimore
- Re: RFR (M) 8212160: JVMTI age... serguei.spit...@oracle.com
- Re: RFR (M) 8212160: JVMT... coleen . phillimore
- Re: RFR (M) 8212160: JVMT... coleen . phillimore
- Re: RFR (M) 8212160: ... serguei.spit...@oracle.com
- Re: RFR (M) 8212160: ... coleen . phillimore
- Re: RFR (M) 8212160: ... serguei.spit...@oracle.com
- Re: RFR (M) 8212160: ... coleen . phillimore