Re: RFR (round 4), JEP-318: Epsilon GC

2018-06-06 Thread Jini George
Thanks for making the changes, Aleksey. The changes look good. Thanks, Jini. On 6/5/2018 9:16 PM, Aleksey Shipilev wrote: Hi Jini, Thanks for taking a look, see comments inline. On 06/01/2018 10:13 AM, Jini George wrote: ==> share/classes/sun/jvm/hotspot/oops/ObjectHeap.java 444    live

Re: RFR(s): 8203682: Add jcmd "VM.classloaders" command to print out class loader hierarchy, details

2018-06-06 Thread Thomas Stüfe
On Thu, Jun 7, 2018 at 7:14 AM, David Holmes wrote: > Hi Thomas, > > On 7/06/2018 2:36 PM, Thomas Stüfe wrote: >> >> Ping... >> >> may I please have a second review? > > > Seems fine in terms of overall code structure etc. I can't comment on the > output produced as such. :) > > Some minor code-st

Re: RFR(s): 8203682: Add jcmd "VM.classloaders" command to print out class loader hierarchy, details

2018-06-06 Thread David Holmes
Hi Thomas, On 7/06/2018 2:36 PM, Thomas Stüfe wrote: Ping... may I please have a second review? Seems fine in terms of overall code structure etc. I can't comment on the output produced as such. :) Some minor code-style nits (just to prove I read it): - inconsistent placement of opening {

Re: RFR(s): 8203682: Add jcmd "VM.classloaders" command to print out class loader hierarchy, details

2018-06-06 Thread Thomas Stüfe
Ping... may I please have a second review? For your convenience, the latest webrev with Coleen's requests worked in is: http://cr.openjdk.java.net/~stuefe/webrevs/8203682-jcmd-print-classloader-hierarchy/webrev.01/webrev/ JBS issue: https://bugs.openjdk.java.net/browse/JDK-8203682 Thank you ve

Re: RFR(s): 8204243: remove Thread.destroy() and Thread.stop(Throwable)

2018-06-06 Thread David Holmes
On 7/06/2018 7:58 AM, Stuart Marks wrote: Serguei, great! Thanks. All, I've updated the webrev to with changes to threadPrimitiveDeprecation.html to remove the sections that mention the removed methods. That reads much better! Thanks, David http://cr.openjdk.java.net/~smarks/reviews/82042

Re: RFR(S): 8203329: JDWP/JDI VM information string is incorrect

2018-06-06 Thread Chris Plummer
Ok, I'll update the comment. I think I'll still mention and CDS and maybe add AOT as examples. thanks, Chris On 6/6/18 7:01 PM, David Holmes wrote: Hi Chris, Great sleuthing on this one and thanks for explaining things for me in the bug report! The fix you have addresses the problem obser

Re: RFR(S): 8203329: JDWP/JDI VM information string is incorrect

2018-06-06 Thread David Holmes
Hi Chris, Great sleuthing on this one and thanks for explaining things for me in the bug report! The fix you have addresses the problem observed with the "vm info" string. One small request, can you update this comment in thread.cpp please: // We need this for ClassDataSharing - the initia

Re: RFR 8203033: [Testbug] vmTestbase/nsk/jdi/TypeComponent/isSynthetic/issynthetic002/TestDescription.java fails with nestmates

2018-06-06 Thread serguei.spit...@oracle.com
On 6/6/18 17:37, David Holmes wrote: Looks okay. I didn't mention the spelling issues because they were everywhere and would just have obscured the fix initially. Once you start cleaning up these old tests you might never stop. ;-) It is why I'm against filing a bug on the Debugee class. :

Re: RFR 8203033: [Testbug] vmTestbase/nsk/jdi/TypeComponent/isSynthetic/issynthetic002/TestDescription.java fails with nestmates

2018-06-06 Thread David Holmes
Looks okay. I didn't mention the spelling issues because they were everywhere and would just have obscured the fix initially. Once you start cleaning up these old tests you might never stop. ;-) Thanks, David On 7/06/2018 6:04 AM, Daniil Titov wrote: Hi Serguei, I updated the webrev to cor

Re: RFR(S): 8203329: JDWP/JDI VM information string is incorrect

2018-06-06 Thread serguei.spit...@oracle.com
Hi Chris, It looks good. Thank you for taking care about this! Thanks, Serguei On 6/6/18 15:24, Chris Plummer wrote: Hello, Please review the following: https://bugs.openjdk.java.net/browse/JDK-8203329 http://cr.openjdk.java.net/~cjplummer/8203329/webrev.00/ The native version of the java.

Re: RFR: JDK-8187289: NotifyFramePop request is not cleared if JVMTI_EVENT_FRAME_POP is disabled

2018-06-06 Thread serguei.spit...@oracle.com
Thank you, Dan! Serguei On 6/6/18 16:52, Daniel D. Daugherty wrote: On 6/6/18 6:44 PM, serguei.spit...@oracle.com wrote: Hi Dan, Thank you for the review! As always, you're welcome. The fix has been already pushed. Yup. I noticed that after I finished the review. I hope, it is Okay

Re: RFR: JDK-8187289: NotifyFramePop request is not cleared if JVMTI_EVENT_FRAME_POP is disabled

2018-06-06 Thread Daniel D. Daugherty
On 6/6/18 6:44 PM, serguei.spit...@oracle.com wrote: Hi Dan, Thank you for the review! As always, you're welcome. The fix has been already pushed. Yup. I noticed that after I finished the review. I hope, it is Okay with you. Of course. I'm playing catch up after being off-the-air for

Re: RFR: JDK-8187289: NotifyFramePop request is not cleared if JVMTI_EVENT_FRAME_POP is disabled

2018-06-06 Thread serguei.spit...@oracle.com
Hi Dan, Thank you for the review! The fix has been already pushed. I hope, it is Okay with you. Are you Okay with the release note sub-task? :   https://bugs.openjdk.java.net/browse/JDK-8192891 It tells:   A NotifyFramePop request was only cleared if the JVMTI_EVENT_FRAME_POP is enabled.   No

RFR(S): 8203329: JDWP/JDI VM information string is incorrect

2018-06-06 Thread Chris Plummer
Hello, Please review the following: https://bugs.openjdk.java.net/browse/JDK-8203329 http://cr.openjdk.java.net/~cjplummer/8203329/webrev.00/ The native version of the java.vm.info property was getting out of sync with the java version. Details can be found here: https://bugs.openjdk.java.ne

RE: RFR(s): 8204243: remove Thread.destroy() and Thread.stop(Throwable)

2018-06-06 Thread Iris Clark
Hi, Stuart.   http://cr.openjdk.java.net/~smarks/reviews/8204243/webrev.2/   The simple update to remove references to the removed methods looks good.   Thanks, iris   From: Stuart Marks Sent: Wednesday, June 6, 2018 2:58 PM To: Serguei Spitsyn ; David Holmes ; Alan Bateman ; Iris Clark

Re: RFR(s): 8204243: remove Thread.destroy() and Thread.stop(Throwable)

2018-06-06 Thread serguei.spit...@oracle.com
Stuart, The update looks good. Thanks, Serguei On 6/6/18 14:58, Stuart Marks wrote: Serguei, great! Thanks. All, I've updated the webrev to with changes to threadPrimitiveDeprecation.html to r

Re: RFR(s): 8204243: remove Thread.destroy() and Thread.stop(Throwable)

2018-06-06 Thread Stuart Marks
Serguei, great! Thanks. All, I've updated the webrev to with changes to threadPrimitiveDeprecation.html to remove the sections that mention the removed methods. http://cr.openjdk.java.net/~smarks/reviews/8204243/webrev.2/ s'marks On 6/6/18 2:37 PM, serguei.spit...@oracle.com wrote: Stuart,

Re: RFR(s): 8204243: remove Thread.destroy() and Thread.stop(Throwable)

2018-06-06 Thread serguei.spit...@oracle.com
Stuart, Thank you for explanation! I'm Okay with the fix it is now. Thanks, Serguei On 6/6/18 14:02, Stuart Marks wrote: On 6/6/18 10:58 AM, serguei.spit...@oracle.com wrote: But the fix below

Re: RFR(s): 8204243: remove Thread.destroy() and Thread.stop(Throwable)

2018-06-06 Thread Stuart Marks
Yeah, maybe it's better simply to remove the mentions of the methods that are being removed. I'll do so. I note that there are many other updates that could be done (the examples use applets!) but I think that's a task for another time. s'marks On 6/6/18 9:28 AM, Iris Clark wrote: Hi, Stua

Re: RFR(s): 8204243: remove Thread.destroy() and Thread.stop(Throwable)

2018-06-06 Thread Stuart Marks
On 6/6/18 10:58 AM, serguei.spit...@oracle.com wrote: But the fix below is not clear to me: http://cr.openjdk.java.net/~smarks/reviews/8204243/webrev.1/src/hotspot/share/prims/jvmti.xml.udiff.html Stop Thread - Send the specified asynchronous exception to the specified

Re: RFR: JDK-8187289: NotifyFramePop request is not cleared if JVMTI_EVENT_FRAME_POP is disabled

2018-06-06 Thread Daniel D. Daugherty
On 5/23/18 3:33 PM, Alex Menkov wrote: Hi all, Please take a look at a fix for https://bugs.openjdk.java.net/browse/JDK-8187289 webrev: http://cr.openjdk.java.net/~amenkov/notifyFramePop/webrev/ src/hotspot/share/prims/jvmtiEventController.cpp     No comments. src/hotspot/share/prims/jvmtiEx

Re: RFR 8203033: [Testbug] vmTestbase/nsk/jdi/TypeComponent/isSynthetic/issynthetic002/TestDescription.java fails with nestmates

2018-06-06 Thread serguei.spit...@oracle.com
Hi Daniil, Looks good. Thank you for fixing these! I don't think we have to care about the shared classes at this point. Thanks, Serguei On 6/6/18 13:04, Daniil Titov wrote:

Re: RFR 8203033: [Testbug] vmTestbase/nsk/jdi/TypeComponent/isSynthetic/issynthetic002/TestDescription.java fails with nestmates

2018-06-06 Thread Daniil Titov
Hi Serguei, I updated the webrev to correct typo for debuggee instances as well.  However, I didn’t rename the shared class nsk.share.jdi.Debugee and nsk.share.jdi.Binder.bindToDebugee method  since I am not sure it should be done as a part of this fix. I would suggest filing a separate issu

Re: RFR: JDK-8169718: nsk/jdb/locals/locals002: ERROR: Cannot find boolVar with expected value: false

2018-06-06 Thread Chris Plummer
On 6/6/18 11:52 AM, Gary Adams wrote: On 6/6/18, 2:20 PM, Chris Plummer wrote: If that were the case, shouldn't the delay be added to sendCommand() instead? I'm still a bit unsure about how this sequence is sup

Re: RFR 8203033: [Testbug] vmTestbase/nsk/jdi/TypeComponent/isSynthetic/issynthetic002/TestDescription.java fails with nestmates

2018-06-06 Thread serguei.spit...@oracle.com
It looks good. There are also instances of "debugee" but they are because of the supporting class named "Debugee". Thanks, Serguei On 6/6/18 12:09, Daniil Titov wrote: Thank you, Serguei and David,

Re: RFR 8203033: [Testbug] vmTestbase/nsk/jdi/TypeComponent/isSynthetic/issynthetic002/TestDescription.java fails with nestmates

2018-06-06 Thread Daniil Titov
Thank you, Serguei and David, for reviewing this change. Please review a new version  of the change that corrects the diagnostic message as Serguei suggested  and fixes typos. Webrev: http://cr.openjdk.java.net/~dtitov/8203033/webrev.03 Issue: https://bugs.openjdk.java.net/browse/JDK-8203

Re: RFR: JDK-8169718: nsk/jdb/locals/locals002: ERROR: Cannot find boolVar with expected value: false

2018-06-06 Thread Gary Adams
On 6/6/18, 2:20 PM, Chris Plummer wrote: If that were the case, shouldn't the delay be added to sendCommand() instead? I'm still a bit unsure about how this sequence is suppose to work in the first place: sendCommand(command); return receiveReply(startPos, compoundPromptOnl

Re: RFR 8203033: [Testbug] vmTestbase/nsk/jdi/TypeComponent/isSynthetic/issynthetic002/TestDescription.java fails with nestmates

2018-06-06 Thread serguei.spit...@oracle.com
Hi Daniil, It looks good. One minor comment. http://cr.openjdk.java.net/~dtitov/8203033/webrev.02/test/hotspot/jtreg/vmTestbase/nsk/jdi/TypeComponent/isSynthetic/issynthetic002.java.frames.html 153 log.complain("debuger FAILURE 3> Meth

Re: RFR: JDK-8169718: nsk/jdb/locals/locals002: ERROR: Cannot find boolVar with expected value: false

2018-06-06 Thread Chris Plummer
If that were the case, shouldn't the delay be added to sendCommand() instead? I'm still a bit unsure about how this sequence is suppose to work in the first place: sendCommand(command);     return receiveReply(startPos, com

Re: RFR(s): 8204243: remove Thread.destroy() and Thread.stop(Throwable)

2018-06-06 Thread serguei.spit...@oracle.com
Hi Stuart, The Serviceability changes look good. But the fix below is not clear to me: http://cr.openjdk.java.net/~smarks/reviews/8204243/webrev.1/src/hotspot/share/prims/jvmti.xml.udiff.html Stop Thread -Send the specif

Re: RFR(s): 8203343: VM.{metaspace|classloaders|classhierarchy...} jcmd should show invocation targets for Generated{Method|Constructor}AccessorImpl classes

2018-06-06 Thread Thomas Stüfe
On Wed, Jun 6, 2018 at 6:18 PM, Kirk Pepperdine wrote: > >> On Jun 6, 2018, at 6:05 PM, Thomas Stüfe wrote: >> >> Dear all, >> >> may I please have feedback and if possible reviews for this small addition: > > > I can see the need to visualize this but the output looks easily parsable so > it al

Re: RFR: JDK-8169718: nsk/jdb/locals/locals002: ERROR: Cannot find boolVar with expected value: false

2018-06-06 Thread Gary Adams
On 6/6/18, 1:26 PM, Chris Plummer wrote: Hi Gary, I thought the issue was having 1 command like "cont" or "step" producing two prompts, and the first prompt ending up in the middle of the output for the breakpoint. So instead of: main[1] cont main[1] "Breakpoint hit:" main[1] We sometimes

Re: RFR: JDK-8169718: nsk/jdb/locals/locals002: ERROR: Cannot find boolVar with expected value: false

2018-06-06 Thread Chris Plummer
Hi Gary, I thought the issue was having 1 command like "cont" or "step" producing two prompts, and the first prompt ending up in the middle of the output for the breakpoint. So instead of: main[1] cont main[1] "Breakpoint hit:" main[1] We sometimes get: main[1] cont "Breakpoint hit:" main[

Re: RFR: JDK-8169718: nsk/jdb/locals/locals002: ERROR: Cannot find boolVar with expected value: false

2018-06-06 Thread Gary Adams
It may be sufficient when the command prompt is delivered to introduce a brief pause to allow an asynchronous event to be processed before another command can be sent. e.g. throttling the stream of commands being sent diff --git a/test/hotspot/jtreg/vmTestbase/nsk/share/jdb/Jdb.java b/test/hotsp

Re: RFR: JDK-8169718: nsk/jdb/locals/locals002: ERROR: Cannot find boolVar with expected value: false

2018-06-06 Thread Chris Plummer
On 6/6/18 8:51 AM, Daniel D. Daugherty wrote: The two prompts are for two different things so I don't think that removing one of the prompts is the right solution either. In the case of an asynchronous command like 'cont', you get the '' right away because the command processor is ready for anot

RFR: 8204180: Implementation: JEP 318: Epsilon GC (round 5)

2018-06-06 Thread Aleksey Shipilev
Hi, This is fifth (and hopefully final) round of code review for Epsilon GC changes. It includes the fixes done as the result of fourth round of reviews, mostly in Serviceability. The build parts are the same since last few reviews, so this is not posted to build-dev@. Webrev: http://cr.openj

RE: RFR(s): 8204243: remove Thread.destroy() and Thread.stop(Throwable)

2018-06-06 Thread Iris Clark
Hi, Stuart. I think you need to make changes to this file too: http://hg.openjdk.java.net/jdk/jdk/file/tip/src/java.base/share/classes/java/lang/doc-files/threadPrimitiveDeprecation.html Thanks, iris -Original Message- From: Alan Bateman Sent: Wednesday, June 6, 2018 3:40 AM To: Stuart

Re: RFR(s): 8203343: VM.{metaspace|classloaders|classhierarchy...} jcmd should show invocation targets for Generated{Method|Constructor}AccessorImpl classes

2018-06-06 Thread Kirk Pepperdine
> On Jun 6, 2018, at 6:05 PM, Thomas Stüfe wrote: > > Dear all, > > may I please have feedback and if possible reviews for this small addition: I can see the need to visualize this but the output looks easily parsable so it all looks good from my perspective. Not an official review — Kirk

RFR(s): 8203343: VM.{metaspace|classloaders|classhierarchy...} jcmd should show invocation targets for Generated{Method|Constructor}AccessorImpl classes

2018-06-06 Thread Thomas Stüfe
Dear all, may I please have feedback and if possible reviews for this small addition: CR: https://bugs.openjdk.java.net/browse/JDK-8203343 Webrev: http://cr.openjdk.java.net/~stuefe/webrevs/8203343-VM.metaspace-show-reflection-invocation-targets/webrev.00/webrev/ (Note: this patch goes atop of

Re: RFR: JDK-8169718: nsk/jdb/locals/locals002: ERROR: Cannot find boolVar with expected value: false

2018-06-06 Thread Daniel D. Daugherty
The two prompts are for two different things so I don't think that removing one of the prompts is the right solution either. In the case of an asynchronous command like 'cont', you get the '' right away because the command processor is ready for another command. You will also get the '' prompt wh

Re: RFR(s): 8204243: remove Thread.destroy() and Thread.stop(Throwable)

2018-06-06 Thread Alan Bateman
On 06/06/2018 01:05, Stuart Marks wrote: [adding serviceability-dev] Hi serviceability folks, I'm in the process of removing Thread.destroy() and Thread.stop(Throwable) from the Java SE API. Alan and David have pointed out that there are some cross-references to Thread.stop(Throwable) in the