RFR(XS): 8205561: problem list vmTestbase/nsk/jdb/trace/trace001/trace001.java

2018-06-22 Thread Chris Plummer
Hello, Please review the following: https://bugs.openjdk.java.net/browse/JDK-8205561 diff --git a/test/hotspot/jtreg/ProblemList.txt b/test/hotspot/jtreg/ProblemList.txt --- a/test/hotspot/jtreg/ProblemList.txt +++ b/test/hotspot/jtreg/ProblemList.txt @@ -166,7 +166,7 @@   vmTestbase/vm/mlvm/

Re: RFR 8203174: [Graal] JDI tests fail with Unexpected exception: com.sun.jdi.ObjectCollectedException

2018-06-22 Thread Chris Plummer
Hi Daniil, Thank you for stabilizing these tests. I don't think your comment changes for the following are correct:  120 // instances created in this way aren't reachable for the purposes of garbage collection,  121 // to make it reachable call enableCollection() for t

Re: RFR 8203174: [Graal] JDI tests fail with Unexpected exception: com.sun.jdi.ObjectCollectedException

2018-06-22 Thread serguei.spit...@oracle.com
Hi Daniil, It looks good - great analysis. Thank you for taking care about these failures! I guess, the tests could fail not only with the Graal. Hopefully, they became more stable now. Thanks, Serguei On 6/22/18 19:13, Daniil Titov wrote: Please review the changes that fix 15 tests failures

RFR 8203174: [Graal] JDI tests fail with Unexpected exception: com.sun.jdi.ObjectCollectedException

2018-06-22 Thread Daniil Titov
Please review the changes that fix 15 tests failures when running with Graal. The main problem here is that the tests assume that no garbage collection happens before the tests complete their checks. The other problem is that the tests could not strictly distinguish the objects created by the de

Re: RFR: JDK-8189429: SA: MacOSX: Replace the deprecated PT_ATTACH with PT_ATTACHEXC

2018-06-22 Thread Erik Joelsson
Hello Jini, In general this looks pretty good, but it's also breaking some new ground as it's adding generation of native source in the java gensrc step. Mixing native code with the java code that the genrcs targets and gensrc output directories are meant for seems ok for now, but may cause t

Re: RFR(s): jcmd VM.classloaders should fold similar loaders

2018-06-22 Thread serguei.spit...@oracle.com
Hi Thomas, It looks good to me. A couple of minor comments below. http://cr.openjdk.java.net/~stuefe/webrevs/8205531-vm.classloader-tree-folding/webrev.00/webrev/src/hotspot/share/classfile/classLoaderHierarchyDCmd.cpp.frames.html 135 // we we ad

[12] RFR (S) 8205534: Remove SymbolTable dependency from serviceability agent

2018-06-22 Thread coleen . phillimore
Summary: Modify SA code to not use SymbolTable and remove it. This is to support the concurrent hashtable for SymbolTable. open webrev at http://cr.openjdk.java.net/~coleenp/8205534.01/webrev bug link https://bugs.openjdk.java.net/browse/JDK-8205534 Tested with hs-tier1-5. Thanks, Coleen

Re: RFR(s): jcmd VM.classloaders should fold similar loaders

2018-06-22 Thread Thomas Stüfe
Resent with the correct subject, sorry. ..Thomas On Fri, Jun 22, 2018 at 9:08 PM, Thomas Stüfe wrote: > Hi all, > > may I have reviews for this small enhancement to the jcmd > VM.classloader diagnostic command: > > https://bugs.openjdk.java.net/browse/JDK-8205531 > http://cr.openjdk.java.net/~st

RFR(s): https://bugs.openjdk.java.net/browse/JDK-8205531

2018-06-22 Thread Thomas Stüfe
Hi all, may I have reviews for this small enhancement to the jcmd VM.classloader diagnostic command: https://bugs.openjdk.java.net/browse/JDK-8205531 http://cr.openjdk.java.net/~stuefe/webrevs/8205531-vm.classloader-tree-folding/webrev.00/webrev/ VM.classloaders prints a tree of class loaders.

RFR: JDK-8189429: SA: MacOSX: Replace the deprecated PT_ATTACH with PT_ATTACHEXC

2018-06-22 Thread Jini George
Hi all, [Including build-dev also since this includes build related changes]. Requesting reviews for: https://bugs.openjdk.java.net/browse/JDK-8189429 (SA: MacOSX: Replace the deprecated PT_ATTACH with PT_ATTACHEXC) Webrev: http://cr.openjdk.java.net/~jgeorge/8189429/webrev.04/ This is the

Re: RFR 8205113: Update JVMTI doc references to object allocation tracking

2018-06-22 Thread serguei.spit...@oracle.com
Hi Jeremy, Okay, let me look at it once more before making final decision. We have all suggestions and preferences listed. Thanks, Serguei On 6/22/18 08:22, Jeremy Manson wrote: Hey folks - 

Re: RFR(S/M): 8205419: [testbug] TestJmapCore failing without SA: introduce @requires vm.hasSA

2018-06-22 Thread David Holmes
On 22/06/2018 4:08 PM, Lindenmaier, Goetz wrote: Hi David, Obviously using "@run othervm " you can invalidate what may have been checked in a @require. As I understand with othervm you can not switch the user, or even start the other vm on a different system. No of course not, this all happe

RE: RFR(S/M): 8205419: [testbug] TestJmapCore failing without SA: introduce @requires vm.hasSA

2018-06-22 Thread Lindenmaier, Goetz
Hi, Ok, so I now added vm.hasSA and vm.hasSAandCanAttach I use the first in the JMapCore tests, and in the tests that don't check shouldSAAttach() right at the beginning. Wherever the test is immediately ended after checking shouldSAAttach(), I removed shouldSAAttach(), and added vm.hasSAan