Re: RFR(S): URG! JDK-8049226 com/sun/jdi/OptionTest.java test times out again

2014-08-26 Thread serguei.spit...@oracle.com
Dmitry, It makes sense to consider a special exit code for transport init error. Other than that it looks good. No need to re-review. Thanks, Serguei On 8/26/14 10:46 AM, Dmitry Samersoff wrote: Serguei, exit_code set to 1 at ll. 1288 I thought of refactoring this code for better readability

Re: RFR(S): URG! JDK-8049226 com/sun/jdi/OptionTest.java test times out again

2014-08-26 Thread Dmitry Samersoff
Serguei, exit_code set to 1 at ll. 1288 I thought of refactoring this code for better readability but finally decide to keep changes minimal. -Dmitry On 2014-08-26 21:35, serguei.spit...@oracle.com wrote: > Dmitry, > > This looks good in general. > But what error code will be returned in the

Re: RFR(S): URG! JDK-8049226 com/sun/jdi/OptionTest.java test times out again

2014-08-26 Thread serguei.spit...@oracle.com
Dmitry, This looks good in general. But what error code will be returned in the case of AGENT_ERROR_TRANSPORT_INIT ? Is it Ok to return whatever exit_code we already have or we better return some special error code? Probably, it is Ok to keep the comment at the line 1315 as it is. Thanks, S

Re: RFR(S): JDK-8054194 jstack crash: assert(handle != NULL) failed: JNI handle should not be null

2014-08-26 Thread serguei.spit...@oracle.com
On 8/26/14 8:25 AM, Dmitry Samersoff wrote: Serguei, On 2014-08-26 14:58, serguei.spit...@oracle.com wrote: Dmitry, I doubt, this webrev fixes the issue. At least, I can't see it yet. It looks like the assert is because the imagePath_ID or symbolPath_ID were not initialized properly. If imag

Re: Review request: 8055230: Rename attach provider implementation class

2014-08-26 Thread Mandy Chung
On 8/26/2014 3:59 AM, Staffan Larsen wrote: There are some differences in the AttachProvideImpl files. Most notably the windows version is very different. Linux, Bsd and Aix are the same. The Solaris version has a minor difference in the “public String type()” implementation. The Linux, Bsd,

Re: RFR(S): JDK-8054194 jstack crash: assert(handle != NULL) failed: JNI handle should not be null

2014-08-26 Thread Dmitry Samersoff
Serguei, On 2014-08-26 14:58, serguei.spit...@oracle.com wrote: > Dmitry, > > I doubt, this webrev fixes the issue. > At least, I can't see it yet. > > It looks like the assert is because the imagePath_ID or symbolPath_ID > were not initialized properly. If imagePath_ID or symbolPath_ID is NULL

Re: RFR(S): URG! JDK-8049226 com/sun/jdi/OptionTest.java test times out again

2014-08-26 Thread Dmitry Samersoff
Staffan, http://cr.openjdk.java.net/~dsamersoff/JDK-8049226/webrev.03/ After couple of experiments I end up with simple fix - don't coredump on AGENT_ERROR_TRANSPORT_INIT Current code don't propagate transport error to upper level, so if we need fine grained control I'll rewrite transport initia

Re: RFR: JDK-8055845 - Add trace event for promoted objects

2014-08-26 Thread Erik Gahlin
Looks good Bengt Rutisson skrev 2014-08-26 10:50: Hi all, Staffan sent me an updated webrev based on Erik's comments. I uploaded it here: http://cr.openjdk.java.net/~brutisso/8055845/webrev.01/ Thanks, Bengt On 2014-08-25 19:32, Staffan Friberg wrote: Hi Erik, No issue with naming the f

Re: Review request: 8049303: Transient network problems cause JMX thread to fail silenty

2014-08-26 Thread Jaroslav Bachorik
On 08/26/2014 01:20 PM, Poonam Bajaj wrote: Hi Jaroslav, On 8/26/2014 4:06 PM, Jaroslav Bachorik wrote: Hi Poonam, On 08/26/2014 12:27 PM, Poonam Bajaj wrote: Sending the review request to serviceability-dev list as well... --- Could I have reviews for this change: Bug: https://bugs

Re: RFR(S): JDK-8031583: warnings from b03 for hotspot/agent/src/os/solaris/proc: JNI exception pending

2014-08-26 Thread serguei.spit...@oracle.com
Looks good. Thanks, Serguei On 8/11/14 7:57 AM, Dmitry Samersoff wrote: Hi Everybody, Please, review small fix that adds more exception handling code http://cr.openjdk.java.net/~dsamersoff/JDK-8031583/webrev.01/ -Dmitry

Re: RFR(S): JDK-8054194 jstack crash: assert(handle != NULL) failed: JNI handle should not be null

2014-08-26 Thread serguei.spit...@oracle.com
On 8/26/14 3:58 AM, serguei.spit...@oracle.com wrote: Dmitry, I doubt, this webrev fixes the issue. At least, I can't see it yet. It looks like the assert is because the imagePath_ID or symbolPath_ID were not initialized properly. But there is clear explanation yet how this could happen. Sor

Re: Review request: 8055230: Rename attach provider implementation class

2014-08-26 Thread Daniel Fuchs
On 8/26/14 12:59 PM, Staffan Larsen wrote: There are some differences in the AttachProvideImpl files. Most notably the windows version is very different. Linux, Bsd and Aix are the same. The Solaris version has a minor difference in the “public String type()” implementation. The Linux, Bsd, A

Re: Review request: 8049303: Transient network problems cause JMX thread to fail silenty

2014-08-26 Thread Poonam Bajaj
Hi Jaroslav, On 8/26/2014 4:06 PM, Jaroslav Bachorik wrote: Hi Poonam, On 08/26/2014 12:27 PM, Poonam Bajaj wrote: Sending the review request to serviceability-dev list as well... --- Could I have reviews for this change: Bug: https://bugs.openjdk.java.net/browse/JDK-8049303 Webrev:

Re: Review request: 8055230: Rename attach provider implementation class

2014-08-26 Thread Staffan Larsen
There are some differences in the AttachProvideImpl files. Most notably the windows version is very different. Linux, Bsd and Aix are the same. The Solaris version has a minor difference in the “public String type()” implementation. The Linux, Bsd, Aix and Solaris versions could probably be uni

Re: RFR(S): JDK-8054194 jstack crash: assert(handle != NULL) failed: JNI handle should not be null

2014-08-26 Thread serguei.spit...@oracle.com
Dmitry, I doubt, this webrev fixes the issue. At least, I can't see it yet. It looks like the assert is because the imagePath_ID or symbolPath_ID were not initialized properly. But there is clear explanation yet how this could happen. Maybe, the conclusion above was wrong, but some prove is ne

Re: Review request: 8055230: Rename attach provider implementation class

2014-08-26 Thread Daniel Fuchs
Hi Mandy, I'm seeing some small differences in the various VirtualMachineImpl.java files, but if I'm not mistaken, all the new AttachProviderImpl.java look all the same. I wonder if the patch could be further simplified by moving AttachProviderImpl.java to jdk.attach/share/classes (unless there's

Re: Review request: 8049303: Transient network problems cause JMX thread to fail silenty

2014-08-26 Thread Jaroslav Bachorik
Hi Poonam, On 08/26/2014 12:27 PM, Poonam Bajaj wrote: Sending the review request to serviceability-dev list as well... --- Could I have reviews for this change: Bug: https://bugs.openjdk.java.net/browse/JDK-8049303 Webrev: http://cr.openjdk.java.net/~poonam/8049303/webrev.00/ L1499-

Review request: 8049303: Transient network problems cause JMX thread to fail silenty

2014-08-26 Thread Poonam Bajaj
Sending the review request to serviceability-dev list as well... --- Could I have reviews for this change: Bug: https://bugs.openjdk.java.net/browse/JDK-8049303 Webrev: http://cr.openjdk.java.net/~poonam/8049303/webrev.00/ Problem and fix: By default the JMX client side notification fet

Re: RFR: JDK-8055845 - Add trace event for promoted objects

2014-08-26 Thread Bengt Rutisson
Hi all, Staffan sent me an updated webrev based on Erik's comments. I uploaded it here: http://cr.openjdk.java.net/~brutisso/8055845/webrev.01/ Thanks, Bengt On 2014-08-25 19:32, Staffan Friberg wrote: Hi Erik, No issue with naming the field class, since the event is similar to the Alloc

Re: RFR 8037082: java/lang/instrument/NativeMethodPrefixAgent.java failing

2014-08-26 Thread Staffan Larsen
Looks good! Thanks, /Staffan On 26 aug 2014, at 10:15, Jaroslav Bachorik wrote: > On 08/25/2014 08:37 PM, Staffan Larsen wrote: >> Thanks for taking on this one! >> >> The code looks good. Just two small things below. >> >> Have you tested with -Xverify:all, just to see if there are any byte

Re: Review request: 8055230: Rename attach provider implementation class

2014-08-26 Thread Erik Joelsson
Nice! /Erik On 2014-08-26 06:29, Mandy Chung wrote: Webrev: http://cr.openjdk.java.net/~mchung/jdk9/webrevs/8055230/ This patch renames the class name of attach provider implementation class to be the same for all platforms. This simplifies the build logic and removes the need for generati

Re: RFR 8037082: java/lang/instrument/NativeMethodPrefixAgent.java failing

2014-08-26 Thread Jaroslav Bachorik
On 08/25/2014 08:37 PM, Staffan Larsen wrote: Thanks for taking on this one! The code looks good. Just two small things below. Have you tested with -Xverify:all, just to see if there are any byte code problems? I've re-run the tests with -Xverify:all and fixed one problem in the generated b

Re: Review request: 8055230: Rename attach provider implementation class

2014-08-26 Thread Chris Hegarty
On 26 Aug 2014, at 08:26, Alan Bateman wrote: > On 26/08/2014 05:29, Mandy Chung wrote: >> Webrev: >> http://cr.openjdk.java.net/~mchung/jdk9/webrevs/8055230/ >> >> This patch renames the class name of attach provider implementation class >> to be the same for all platforms. This simplifies

Re: Review request: 8055230: Rename attach provider implementation class

2014-08-26 Thread Alan Bateman
On 26/08/2014 05:29, Mandy Chung wrote: Webrev: http://cr.openjdk.java.net/~mchung/jdk9/webrevs/8055230/ This patch renames the class name of attach provider implementation class to be the same for all platforms. This simplifies the build logic and removes the need for generating the service