Re: RFR: 8242425: JVMTI monitor operations should use Thread-Local Handshakes

2020-04-22 Thread Yasumasa Suenaga
is more familiar with it could let us know... Best regards, Richard. -Original Message- From: serviceability-dev On Behalf Of Yasumasa Suenaga Sent: Montag, 20. April 2020 02:33 To: serviceability-dev@openjdk.java.net Cc: yasue...@gmail.com Subject: Re: RFR: 8242425: JVMTI monitor operations

Re: RFR: 8242425: JVMTI monitor operations should use Thread-Local Handshakes

2020-04-22 Thread Chris Plummer
. April 2020 02:33 To: serviceability-dev@openjdk.java.net Cc: yasue...@gmail.com Subject: Re: RFR: 8242425: JVMTI monitor operations should use Thread-Local Handshakes Hi all, Could you review it?     JBS: https://bugs.openjdk.java.net/browse/JDK-8242425     webrev: http://cr.openjdk.java.net

Re: RFR: 8242425: JVMTI monitor operations should use Thread-Local Handshakes

2020-04-20 Thread Yasumasa Suenaga
: Re: RFR: 8242425: JVMTI monitor operations should use Thread-Local Handshakes Hi all, Could you review it? JBS: https://bugs.openjdk.java.net/browse/JDK-8242425 webrev: http://cr.openjdk.java.net/~ysuenaga/JDK-8242425/webrev.02/ I need one more reviewer to push. Thanks, Yasumasa

RE: RFR: 8242425: JVMTI monitor operations should use Thread-Local Handshakes

2020-04-20 Thread Reingruber, Richard
Sent: Montag, 20. April 2020 02:33 To: serviceability-dev@openjdk.java.net Cc: yasue...@gmail.com Subject: Re: RFR: 8242425: JVMTI monitor operations should use Thread-Local Handshakes Hi all, Could you review it? JBS: https://bugs.openjdk.java.net/browse/JDK-8242425 webrev: http

Re: RFR: 8242425: JVMTI monitor operations should use Thread-Local Handshakes

2020-04-19 Thread David Holmes
Hi Yasumasa, This looks good. A couple of minor nits below. On 20/04/2020 10:32 am, Yasumasa Suenaga wrote: Hi all, Could you review it?   JBS: https://bugs.openjdk.java.net/browse/JDK-8242425   webrev: http://cr.openjdk.java.net/~ysuenaga/JDK-8242425/webrev.02/

Re: RFR: 8242425: JVMTI monitor operations should use Thread-Local Handshakes

2020-04-19 Thread Yasumasa Suenaga
Hi all, Could you review it? JBS: https://bugs.openjdk.java.net/browse/JDK-8242425 webrev: http://cr.openjdk.java.net/~ysuenaga/JDK-8242425/webrev.02/ I need one more reviewer to push. Thanks, Yasumasa On 2020/04/17 5:13, serguei.spit...@oracle.com wrote: Hi Yasumasa, Thank you for

Re: RFR: 8242425: JVMTI monitor operations should use Thread-Local Handshakes

2020-04-16 Thread Yasumasa Suenaga
Thanks Serguei! Yasumasa On 2020/04/17 5:13, serguei.spit...@oracle.com wrote: Hi Yasumasa, Thank you for the update. It looks good. Thanks, Serguei On 4/10/20 04:30, Yasumasa Suenaga wrote: Hi Serguei, I use current_jt in this webrev. Could you review again?  

Re: RFR: 8242425: JVMTI monitor operations should use Thread-Local Handshakes

2020-04-16 Thread serguei.spit...@oracle.com
Hi Yasumasa, Thank you for the update. It looks good. Thanks, Serguei On 4/10/20 04:30, Yasumasa Suenaga wrote: Hi Serguei, I use current_jt in this webrev. Could you review again?   http://cr.openjdk.java.net/~ysuenaga/JDK-8242425/webrev.02/ I tested this change with

Re: RFR: 8242425: JVMTI monitor operations should use Thread-Local Handshakes

2020-04-10 Thread Yasumasa Suenaga
Hi Serguei, I use current_jt in this webrev. Could you review again? http://cr.openjdk.java.net/~ysuenaga/JDK-8242425/webrev.02/ I tested this change with vmTestbase/nsk/jvmti, they are fine on my Linux x64. Thanks, Yasumasa On 2020/04/10 17:21, serguei.spit...@oracle.com wrote: Hi

Re: RFR: 8242425: JVMTI monitor operations should use Thread-Local Handshakes

2020-04-10 Thread serguei.spit...@oracle.com
Hi Yasumasa, Thank you for the update. Minor:  http://cr.openjdk.java.net/~ysuenaga/JDK-8242425/webrev.01/src/hotspot/share/prims/jvmtiEnvBase.cpp.udiff.html +err = get_locked_objects_in_frame(JavaThread::current(), java_thread, jvf,

Re: RFR: 8242425: JVMTI monitor operations should use Thread-Local Handshakes

2020-04-10 Thread Yasumasa Suenaga
Hi Serguei, Thanks for your comment! I uploaded new webrev: http://cr.openjdk.java.net/~ysuenaga/JDK-8242425/webrev.01/ I ran following tests, and all of them were passed on my Linux x64. - vmTestbase/nsk/jvmti/GetCurrentContendedMonitor - vmTestbase/nsk/jvmti/GetOwnedMonitorInfo -

Re: RFR: 8242425: JVMTI monitor operations should use Thread-Local Handshakes

2020-04-09 Thread serguei.spit...@oracle.com
Hi Yasumasa, It looks pretty good in general. A couple of comments though. http://cr.openjdk.java.net/~ysuenaga/JDK-8242425/webrev.00/src/hotspot/share/prims/jvmtiEnvBase.cpp.frames.html 650 JvmtiEnvBase::get_current_contended_monitor(JavaThread

RFR: 8242425: JVMTI monitor operations should use Thread-Local Handshakes

2020-04-09 Thread Yasumasa Suenaga
Hi all, Please review this change: JBS: https://bugs.openjdk.java.net/browse/JDK-8242425 webrev: http://cr.openjdk.java.net/~ysuenaga/JDK-8242425/webrev.00/ We've discussed to use Thread-Local Handshake in some JVMTI functions [1]. This change is for monitor functions. It affects