RE: RFR(L) 8227745: Enable Escape Analysis for Better Performance in the Presence of JVMTI Agents

2020-03-30 Thread Reingruber, Richard
Hi, this is webrev.5 based on Robbin's feedback and Martin's review - thanks! :) The change affects jvmti, hotspot and c2. Partial reviews are very welcome too. Full: http://cr.openjdk.java.net/~rrich/webrevs/2019/8227745/webrev.5/ Delta: http://cr.openjdk.java.net/~rrich/webrevs/2019/8227745/w

RE: RFR(L) 8227745: Enable Escape Analysis for Better Performance in the Presence of JVMTI Agents

2020-03-30 Thread Reingruber, Richard
Hi, this is webrev.5 based on Robbin's feedback and Martin's review - thanks! :) The change affects jvmti, hotspot and c2. Partial reviews are very welcome too. Full: http://cr.openjdk.java.net/~rrich/webrevs/2019/8227745/webrev.5/ Delta: http://cr.openjdk.java.net/~rrich/webrevs/2019/8227745/w

Re: Review Request: 8238358: Implementation of JEP 371: Hidden Classes

2020-03-30 Thread [email protected]
Hi Mandy, I have just one comment so far. http://cr.openjdk.java.net/~mchung/valhalla/webrevs/hidden-classes/webrev.03/src/hotspot/share/classfile/classLoaderHierarchyDCmd.cpp.frames.html  356   void add_classes(LoadedClassInfo* first_class, int num_classes, bool has_class_mirror_holder) {  3

Re: Review Request: 8238358: Implementation of JEP 371: Hidden Classes

2020-03-30 Thread David Holmes
Sorry to jump in on this but it caught my eye though I may be missing a larger context ... On 30/03/2020 7:30 pm, [email protected] wrote: Hi Mandy, I have just one comment so far. http://cr.openjdk.java.net/~mchung/valhalla/webrevs/hidden-classes/webrev.03/src/hotspot/share/classfil

Re: Discussion about fixing deprecation in jdk.hotspot.agent

2020-03-30 Thread Magnus Ihse Bursie
No opinions on this? /Magnus On 2020-03-25 23:34, Magnus Ihse Bursie wrote: Hi everyone, As a follow-up to the ongoing review for JDK-8241618, I have also looked at fixing the deprecation warnings in jdk.hotspot.agent. These fall in three broad categories: * Deprecation of the boxing type

Re: Review Request: 8238358: Implementation of JEP 371: Hidden Classes

2020-03-30 Thread coleen . phillimore
On 3/30/20 5:54 AM, David Holmes wrote: Sorry to jump in on this but it caught my eye though I may be missing a larger context ... On 30/03/2020 7:30 pm, [email protected] wrote: Hi Mandy, I have just one comment so far. http://cr.openjdk.java.net/~mchung/valhalla/webrevs/hidden-

Re: Review Request: 8238358: Implementation of JEP 371: Hidden Classes

2020-03-30 Thread coleen . phillimore
Adding back serviceability-dev.  Sometimes reply (and myself) remembers it and sometimes it strips it off Coleen On 3/30/20 10:16 AM, [email protected] wrote: On 3/29/20 10:17 PM, Mandy Chung wrote: On 3/27/20 8:51 PM, Chris Plummer wrote: Hi Mandy, A couple of very minor

Re: RFR: JDK-8241618 Fix unchecked warning for jdk.hotspot.agent

2020-03-30 Thread Magnus Ihse Bursie
On 2020-03-25 20:52, Chris Plummer wrote: Hi Magus, I haven't looked at the changes yet, other to see that there are many files touched, but after reading below (and only partly understanding since I don't know this area well), I was wondering if this issue wouldn't be better served with m

Re: Review Request: 8238358: Implementation of JEP 371: Hidden Classes

2020-03-30 Thread coleen . phillimore
Hi,  This is great work!  I did a prereview and all of my comments were addressed.  These are a few minor things I noticed. http://cr.openjdk.java.net/~mchung/valhalla/webrevs/hidden-classes/webrev.03/src/hotspot/share/ci/ciInstanceKlass.hpp.udiff.html Nit. Can you add 'const' to the is_hidde

Re: Review Request: 8238358: Implementation of JEP 371: Hidden Classes

2020-03-30 Thread coleen . phillimore
Adding back hotspot-dev. On 3/30/20 11:02 AM, [email protected] wrote: Hi,  This is great work!  I did a prereview and all of my comments were addressed.  These are a few minor things I noticed. http://cr.openjdk.java.net/~mchung/valhalla/webrevs/hidden-classes/webrev.03/src/hotsp

Re: Review Request: 8238358: Implementation of JEP 371: Hidden Classes

2020-03-30 Thread Mandy Chung
On 3/30/20 7:16 AM, [email protected] wrote: I agree with you that this comment needs update.   Perhaps it should say "primitive, array types and hidden classes are non-modifiable. A modifiable class must be an InstanceKlass." I may have written the last part of that comment (or r

Re: Review Request: 8238358: Implementation of JEP 371: Hidden Classes

2020-03-30 Thread [email protected]
On 3/30/20 02:30, [email protected] wrote: Hi Mandy, I have just one comment so far. http://cr.openjdk.java.net/~mchung/valhalla/webrevs/hidden-classes/webrev.03/src/hotspot/share/classfile/classLoaderHierarchyDCmd.cpp.frames.html  356   void add_classes(LoadedClassInfo* first_clas

Re: RFR: 8240698: LingeredApp does not pass getTestJavaOpts() to the children process if vmArguments is already specified

2020-03-30 Thread Chris Plummer
Hi Leonid, I haven't gone through all the tests yet.  I've accumulated enough questions that I'd like to see them answered or addressed before I continue on. This isn't directly related to your changes, but I noticed that users of JDKToolLauncher do nothing to make sure that default test opt

Re: Discussion about fixing deprecation in jdk.hotspot.agent

2020-03-30 Thread coleen . phillimore
I was wondering why this is needed when debugging a core file, which is the key thing we need the SA for:   /** This is used by both the debugger and any runtime system. It is   the basic mechanism by which classes which mimic underlying VM   functionality cause themselves to be initi

Re: Review Request: 8238358: Implementation of JEP 371: Hidden Classes

2020-03-30 Thread Mandy Chung
This is the patch to keep the JDK 14 behavior if target release to 14 (thanks to Jan for helping making change in javac to get the tests working) http://cr.openjdk.java.net/~mchung/valhalla/webrevs/8171335/webrev-javac-target-release-14/ Mandy On 3/27/20 9:29 AM, Mandy Chung wrote: Hi Jan, Go

RFR: 8241530: com/sun/jdi tests fail due to network issues on OSX 10.15

2020-03-30 Thread Daniil Titov
Please review the change [1] that fixes the failure of com/sun/jdi/JdwpListenTest.java and com/sun/jdi/JdwpAttachTest.java tests on OSX 10.15. The problem here is the similar to the one solved in [4] by additional filtering of unusual network interfaces in the test library class jdk.test.lib.N

Re: RFR: 8241530: com/sun/jdi tests fail due to network issues on OSX 10.15

2020-03-30 Thread Alex Menkov
Looks good. --alex On 03/30/2020 12:43, Daniil Titov wrote: Please review the change [1] that fixes the failure of com/sun/jdi/JdwpListenTest.java and com/sun/jdi/JdwpAttachTest.java tests on OSX 10.15. The problem here is the similar to the one solved in [4] by additional filtering of unus

Re: RFR: 8240698: LingeredApp does not pass getTestJavaOpts() to the children process if vmArguments is already specified

2020-03-30 Thread Leonid Mesnik
Hi See my comments inline. I will update webrev after go through all your comments. On 3/30/20 11:39 AM, Chris Plummer wrote: Hi Leonid, I haven't gone through all the tests yet.  I've accumulated enough questions that I'd like to see them answered or addressed before I continue on. Thi

Re: RFR: 8240698: LingeredApp does not pass getTestJavaOpts() to the children process if vmArguments is already specified

2020-03-30 Thread Chris Plummer
Hi Leonid, On 3/30/20 5:42 PM, Leonid Mesnik wrote: Hi See my comments inline. I will update webrev after go through all your comments. On 3/30/20 11:39 AM, Chris Plummer wrote: Hi Leonid, I haven't gone through all the tests yet.  I've accumulated enough questions that I'd like to see t