Re: RFR(S): 8047368: Remove oracle.jrockit.jfr from open package.access list

2014-06-26 Thread Staffan Larsen
Looks good! Thanks, /Staffan On 26 jun 2014, at 02:12, Erik Gahlin erik.gah...@oracle.com wrote: Hi, Could I have a review of a small fix that removes references to jfr from the package.access list. Bug: https://bugs.openjdk.java.net/browse/JDK-8047368 Webrev:

Re: RFR(M): 8028474: sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.sh timeout, leaves looping process behind

2014-06-26 Thread Staffan Larsen
Indentation around JavaProcess.getId() is weird. JavaProcess.getPid/setPid/pid do not appear to be used. JavaProcess.waitForRemoval: How about using timestamps (currentTimeMillis()) before the loop and for each iteration to determine if the timeout has expired (instead of time+=100”)? nit:

RFR JDK-8031554: com/sun/tools/attach/BasicTests.java fails intermittently

2014-06-26 Thread shanliang
Hi, Today ProcessTools.executeProcess has the code: new OutputAnalyzer(pb.start()); and OutputAnalyzer constructor calls immediately: exitValue = process.exitValue(); the test got exception because the process did not end. So a direct solution for the test is not to call:

Re: RFR JDK-8031554: com/sun/tools/attach/BasicTests.java fails intermittently

2014-06-26 Thread Jaroslav Bachorik
Hi Shanliang, On 06/26/2014 03:15 PM, shanliang wrote: Hi, Today ProcessTools.executeProcess has the code: new OutputAnalyzer(pb.start()); and OutputAnalyzer constructor calls immediately: exitValue = process.exitValue(); the test got exception because the process did not end.

Re: RFR JDK-8031554: com/sun/tools/attach/BasicTests.java fails intermittently

2014-06-26 Thread shanliang
Jaroslav Bachorik wrote: Hi Shanliang, On 06/26/2014 03:15 PM, shanliang wrote: Hi, Today ProcessTools.executeProcess has the code: new OutputAnalyzer(pb.start()); and OutputAnalyzer constructor calls immediately: exitValue = process.exitValue(); the test got exception because the

Re: RFR (S) 8013942: JSR 292: assert(type() == T_OBJECT) failed: type check

2014-06-26 Thread Vladimir Ivanov
Looks good. Best regards, Vladimir Ivanov On 6/25/14 5:57 PM, serguei.spit...@oracle.com wrote: Please, review the fix for: https://bugs.openjdk.java.net/browse/JDK-8013942 Open webrev: http://cr.openjdk.java.net/~sspitsyn/webrevs/2014/hotspot/8013942-JVMTI-lobj.1 Summary: This is

Re: RFR (S) 8013942: JSR 292: assert(type() == T_OBJECT) failed: type check

2014-06-26 Thread serguei.spit...@oracle.com
Thanks, Vladimir! Serguei On 6/26/14 3:02 PM, Vladimir Ivanov wrote: Looks good. Best regards, Vladimir Ivanov On 6/25/14 5:57 PM, serguei.spit...@oracle.com wrote: Please, review the fix for: https://bugs.openjdk.java.net/browse/JDK-8013942 Open webrev: