Re: RFR: 8027230: Overflow in java.lang.instrument.Instrumentation.getObjectSize() method

2014-05-21 Thread Peter Allwin
Right :) Thanks again for the review! /peter > On 22 maj 2014, at 01:10, David Holmes wrote: > >> On 21/05/2014 11:01 PM, Peter Allwin wrote: >> D’oh! Great catch, I’ll update before the push if that’s OK. > > Sure - I assume it is the comment that will be updated :) > > Thanks, > David > >

Re: RFR: 8027230: Overflow in java.lang.instrument.Instrumentation.getObjectSize() method

2014-05-21 Thread David Holmes
On 21/05/2014 11:01 PM, Peter Allwin wrote: D’oh! Great catch, I’ll update before the push if that’s OK. Sure - I assume it is the comment that will be updated :) Thanks, David Thanks, /peter On 21 May 2014, at 13:32, David Holmes wrote: Hi Peter, One inconsistency 27 * Test to veri

Re: RFR: 8043637 compiler/ciReplay/TestSA.sh: java.lang.InternalError: missing reason for 17

2014-05-21 Thread Staffan Larsen
Great! I’ll close my bug as a dup of 8026694. /Staffan On 21 maj 2014, at 18:32, Roland Westrelin wrote: > Hi Staffan, > >> Please review this fix for a problem with compiler/ciReplay/TestSA.sh. It >> fails with an exception because SA can’t find the values for some the enum >> entries in De

Re: RFR: 8043637 compiler/ciReplay/TestSA.sh: java.lang.InternalError: missing reason for 17

2014-05-21 Thread Roland Westrelin
Hi Staffan, > Please review this fix for a problem with compiler/ciReplay/TestSA.sh. It > fails with an exception because SA can’t find the values for some the enum > entries in Deoptimization::DeoptReason since they are missing from > vmStructs.cpp. The patch below adds them. > > bug: https:/

RE: RFR: 8043637 compiler/ciReplay/TestSA.sh: java.lang.InternalError: missing reason for 17

2014-05-21 Thread Markus Grönlund
Looks good. /Markus -Original Message- From: Staffan Larsen Sent: den 21 maj 2014 15:45 To: serviceability-dev@openjdk.java.net serviceability-dev@openjdk.java.net; hotspot-compiler-...@openjdk.java.net compiler Subject: RFR: 8043637 compiler/ciReplay/TestSA.sh: java.lang.InternalError:

RFR: 8043637 compiler/ciReplay/TestSA.sh: java.lang.InternalError: missing reason for 17

2014-05-21 Thread Staffan Larsen
Please review this fix for a problem with compiler/ciReplay/TestSA.sh. It fails with an exception because SA can’t find the values for some the enum entries in Deoptimization::DeoptReason since they are missing from vmStructs.cpp. The patch below adds them. bug: https://bugs.openjdk.java.net/br

Re: RFR: 8027230: Overflow in java.lang.instrument.Instrumentation.getObjectSize() method

2014-05-21 Thread Peter Allwin
D’oh! Great catch, I’ll update before the push if that’s OK. Thanks, /peter On 21 May 2014, at 13:32, David Holmes wrote: > Hi Peter, > > One inconsistency > > 27 * Test to verify GetObjectSize does not overflow on a 600K element int[] > > but > > 34 int[] a = new int[600_000_00

Re: Need comments on JEP-158: Unified JVM Logging

2014-05-21 Thread Fredrik Arvidsson
Hi Thomas and thanks for the feedback. Interesting to see that you already have a design that is so close to what we are proposing in this JEP. I have added some comments in-line below. On 2014-05-20 09:59, Thomas Stüfe wrote: Hi all, I like you proposal and hope this tracing system turns ou

Re: RFR: 8027230: Overflow in java.lang.instrument.Instrumentation.getObjectSize() method

2014-05-21 Thread Leonid Mesnik
I am ok with changes. Thank you for fixing this. Pleas don't forget that I am not a Reviewer. Leonid On 21.05.2014 15:10, Peter Allwin wrote: Thanks Leonid, Serguei and David for your reviews! Updated webrev is here: http://cr.openjdk.java.net/~allwin/8027230/webrev.01 Changes: - Agen

Re: RFR: 8027230: Overflow in java.lang.instrument.Instrumentation.getObjectSize() method

2014-05-21 Thread David Holmes
Hi Peter, One inconsistency 27 * Test to verify GetObjectSize does not overflow on a 600K element int[] but 34 int[] a = new int[600_000_000]; looks more like 600M David On 21/05/2014 9:10 PM, Peter Allwin wrote: Thanks Leonid, Serguei and David for your reviews! Updated web

Re: RFR: 8027230: Overflow in java.lang.instrument.Instrumentation.getObjectSize() method

2014-05-21 Thread Peter Allwin
Thanks Leonid, Serguei and David for your reviews! Updated webrev is here: http://cr.openjdk.java.net/~allwin/8027230/webrev.01 Changes: - Agent process is now started trough ProcessBuilder - Non 64bit platforms are immediately skipped - Spacing before if/catch -

RE: RFR: [TESTBUG] sun/tools/jcmd/TestJcmdSanity.java failure in nightly jdk9-dev fastdebug build

2014-05-21 Thread Markus Grönlund
Looks good! /Markus -Original Message- From: Staffan Larsen Sent: den 21 maj 2014 08:51 To: serviceability-dev@openjdk.java.net serviceability-dev@openjdk.java.net Subject: RFR: [TESTBUG] sun/tools/jcmd/TestJcmdSanity.java failure in nightly jdk9-dev fastdebug build Please review this

Re: RFR: [TESTBUG] sun/tools/jcmd/TestJcmdSanity.java failure in nightly jdk9-dev fastdebug build

2014-05-21 Thread Staffan Larsen
On 21 maj 2014, at 09:06, David Holmes wrote: > Wow this is service! I only just moved the bug this afternoon :) But you made it so easy for me! > > On 21/05/2014 4:51 PM, Staffan Larsen wrote: >> Please review this small fix to add -XX:+UsePerfData to the invocation of >> the test. This is

Re: RFR: [TESTBUG] sun/tools/jcmd/TestJcmdSanity.java failure in nightly jdk9-dev fastdebug build

2014-05-21 Thread David Holmes
Wow this is service! I only just moved the bug this afternoon :) On 21/05/2014 4:51 PM, Staffan Larsen wrote: Please review this small fix to add -XX:+UsePerfData to the invocation of the test. This is needed because the test launches jcmd against it’s own process. Looks good to me. Thanks,