Re: RFR: 8230942: Support compressed cores in SA tests

2019-09-26 Thread Leonid Mesnik
Thanks for feedback. I checked time execution. Tests takes several seconds longer on the hosts which compress cores. Also, tests TestJmapCore.java, TestJmapCoreMetaspace.java are slow and not included in tier1_serviceability anyway. Updated version here. I fixed it accordingly with your comment

Re: RFR: 8231296: ZGC: vmTestbase/nsk/jvmti/Allocate/alloc001/ fails

2019-09-26 Thread Per Liden
Hi Igor, On 9/27/19 3:49 AM, Igor Ignatev wrote: Hi Per, On Sep 26, 2019, at 2:32 PM, Per Liden wrote: Hi Igor, I don't think it belongs in the problem list, for two reasons: 1) The test doesn't fail because of a bug. It fails because ZGC doesn't currently support that use case. In other

Re: RFR JDK-8225474: JDI connector accept fails "Address already in use" with concurrent listeners

2019-09-26 Thread serguei.spit...@oracle.com
Hi Andrew, That is Okay. Thank you for sharing it! Thanks, Serguei On 9/26/19 05:35, Andrew Leonard wrote: I think given the complexities involved in trying to make the JDI connector's "thread-safe", i'm thinking now it's probably best leaving this as-is. As Alan pointed out the java doc doe

Re: RFR: 8230942: Support compressed cores in SA tests

2019-09-26 Thread David Holmes
Hi Leonid, On 27/09/2019 7:18 am, Leonid Mesnik wrote: Hi Some hosts used for JDK testing have customized core dump settings. They compress core files saved in current directory on-the-fly to reduce required disk space. This fix adopt several SA tests, trying to unpack core.pid.gz before tes

Re: RFR: 8231296: ZGC: vmTestbase/nsk/jvmti/Allocate/alloc001/ fails

2019-09-26 Thread Igor Ignatev
Hi Per, > On Sep 26, 2019, at 2:32 PM, Per Liden wrote: > > Hi Igor, > > I don't think it belongs in the problem list, for two reasons: > > 1) The test doesn't fail because of a bug. It fails because ZGC doesn't > currently support that use case. In other words, the test shouldn't be > test

Re: RFR: 8231296: ZGC: vmTestbase/nsk/jvmti/Allocate/alloc001/ fails

2019-09-26 Thread serguei . spitsyn
Hi Per, It looks good and trivial. Thanks, Serguei On 9/26/19 1:39 PM, Per Liden wrote: Please review this one-liner to disable vmTestbase/nsk/jvmti/Allocate/alloc001 when using ZGC. The root problem is that ZGC doesn't properly respect address space limitations (RLIMIT_AS). This test will b

Re: RFR: 8231296: ZGC: vmTestbase/nsk/jvmti/Allocate/alloc001/ fails

2019-09-26 Thread Per Liden
Hi Igor, I don't think it belongs in the problem list, for two reasons: 1) The test doesn't fail because of a bug. It fails because ZGC doesn't currently support that use case. In other words, the test shouldn't be testing something that isn't supposed to work. 2) As far as I know, the test

RFR: 8230942: Support compressed cores in SA tests

2019-09-26 Thread Leonid Mesnik
Hi Some hosts used for JDK testing have customized core dump settings. They compress core files saved in current directory on-the-fly to reduce required disk space. This fix adopt several SA tests, trying to unpack core.pid.gz before test process it with jhsdb. It affects only execution in the

Re: RFR: 8231296: ZGC: vmTestbase/nsk/jvmti/Allocate/alloc001/ fails

2019-09-26 Thread Igor Ignatyev
Hi Per, wouldn't it be better to put this test into zgc-specific problem list (test/hotspot/jtreg/ProblemList-zgc.txt)? Thanks, -- Igor > On Sep 26, 2019, at 1:39 PM, Per Liden wrote: > > Please review this one-liner to disable > vmTestbase/nsk/jvmti/Allocate/alloc001 when using ZGC. The ro

RFR: 8231296: ZGC: vmTestbase/nsk/jvmti/Allocate/alloc001/ fails

2019-09-26 Thread Per Liden
Please review this one-liner to disable vmTestbase/nsk/jvmti/Allocate/alloc001 when using ZGC. The root problem is that ZGC doesn't properly respect address space limitations (RLIMIT_AS). This test will be re-enabled again as part of fixing https://bugs.openjdk.java.net/browse/JDK-8231552 Bug

Re: RFR: 8231294: ZGC: vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted002 fails

2019-09-26 Thread Daniel D. Daugherty
Just figured you might want to know that the heap size change was happening... :-) Dan On 9/26/19 2:06 PM, serguei.spit...@oracle.com wrote: Dan, thank you for adding the serviceability-dev mailing list. It looks good but has been already pushed. :) Thanks, Serguei On 9/26/19 07:28, Daniel

Re: RFR: 8231294: ZGC: vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted002 fails

2019-09-26 Thread serguei.spit...@oracle.com
Dan, thank you for adding the serviceability-dev mailing list. It looks good but has been already pushed. :) Thanks, Serguei On 9/26/19 07:28, Daniel D. Daugherty wrote: Just for the record... JVM/TI belongs to the Serviceability Team so I've added serviceability-dev@... However, the Runtime

RE: RFR(S) 8230677: Should disable Escape Analysis if JVMTI capability can_get_owned_monitor_info was taken

2019-09-26 Thread Reingruber, Richard
Thank you, Dan and Serguei. Richard. From: serguei.spit...@oracle.com Sent: Donnerstag, 26. September 2019 16:33 To: daniel.daughe...@oracle.com; Reingruber, Richard ; Vladimir Kozlov ; David Holmes ; hotspot-compiler-...@openjdk.java.net; serviceability-dev@openjdk.java.net Subject: Re: RFR(

Re: RFR(S) 8230677: Should disable Escape Analysis if JVMTI capability can_get_owned_monitor_info was taken

2019-09-26 Thread serguei.spit...@oracle.com
I'm okay with that too. Thanks, Serguei On 9/26/19 07:30, Daniel D. Daugherty wrote: I'm good with the testing that you've done. Thanks for closing the loop. Serguei? Dan On 9/26/19 3

Re: RFR(S) 8230677: Should disable Escape Analysis if JVMTI capability can_get_owned_monitor_info was taken

2019-09-26 Thread Daniel D. Daugherty
I'm good with the testing that you've done. Thanks for closing the loop. Serguei? Dan On 9/26/19 3:36 AM, Reingruber, Richard wrote: Hi Dan and Serguei, The change went through our nightly testing a few times, which includes these tests and many more on all platforms. Thanks, Richard. *F

Re: RFR: 8231294: ZGC: vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted002 fails

2019-09-26 Thread Daniel D. Daugherty
Just for the record... JVM/TI belongs to the Serviceability Team so I've added serviceability-dev@... However, the Runtime team and Serviceability team quite often tag team on JVM/TI issues and lurk on each other's aliases... Dan On 9/26/19 3:14 AM, Per Liden wrote: (CC:ing hotspot-runtime-de

RE: Should optimizations be observable for JVMTI agents?

2019-09-26 Thread Reingruber, Richard
Vladimir and Andrew, thanks for the feedback. Even if it is -1 so far ;) I think I should clarify what my intend and motivation are. Clearly it is not my intend to hinder optimization in the (potential) presence of JVMTI agents. It probably looks like it, though, as I'm opening all those bugs re

RFR JDK-8225474: JDI connector accept fails "Address already in use" with concurrent listeners

2019-09-26 Thread Andrew Leonard
I think given the complexities involved in trying to make the JDI connector's "thread-safe", i'm thinking now it's probably best leaving this as-is. As Alan pointed out the java doc does not indicate it is meant to be thread safe, and we will review the testcases that we have. Thanks for all the

Re: RFR 8226690: SIGSEGV in MetadataOnStackClosure::do_metadata

2019-09-26 Thread coleen . phillimore
On 9/26/19 12:01 AM, dean.l...@oracle.com wrote: On 9/25/19 6:21 PM, coleen.phillim...@oracle.com wrote: I see.  I dumped the redefinition count in the replay data because I saw the other fields were dumped there.  Would they also not affect the generated code? I know some like _jvmti_

Re: RFR 8226690: SIGSEGV in MetadataOnStackClosure::do_metadata

2019-09-26 Thread coleen . phillimore
On 9/26/19 5:43 AM, erik.osterl...@oracle.com wrote: Hi Coleen, Could you please make the counter uint64_t instead? We usually use 64 bit unsigned counters when we don't want to think about overflow. Otherwise I like the approach. Don't need another webrev... This looks good. You are rig

Re: RFR 8226690: SIGSEGV in MetadataOnStackClosure::do_metadata

2019-09-26 Thread coleen . phillimore
On 9/26/19 4:47 AM, serguei.spit...@oracle.com wrote: Hi Coleen, The .02/webrev looks good. You also removed changes in the src/hotspot/share/jvmci/vmStructs_jvmci.cpp. Was it intentional? Yes, Gilles said that graal doesn't need the field. Thanks for reviewing. Coleen Thanks, Serguei

Re: RFR 8226690: SIGSEGV in MetadataOnStackClosure::do_metadata

2019-09-26 Thread erik . osterlund
Hi Coleen, Could you please make the counter uint64_t instead? We usually use 64 bit unsigned counters when we don't want to think about overflow. Otherwise I like the approach. Don't need another webrev... This looks good. Thanks, /Erik On 9/26/19 3:29 AM, coleen.phillim...@oracle.com wrote

Re: RFR 8226690: SIGSEGV in MetadataOnStackClosure::do_metadata

2019-09-26 Thread serguei.spit...@oracle.com
Hi Coleen, The .02/webrev looks good. You also removed changes in the src/hotspot/share/jvmci/vmStructs_jvmci.cpp. Was it intentional? Thanks, Serguei On 9/25/19 18:29, coleen.phillim...@oracle.com wrote: On 9/25/19 9:21 PM, coleen.phillim...@oracle.com wrote: I see.  I dumped the redefin

RE: RFR(S) 8230677: Should disable Escape Analysis if JVMTI capability can_get_owned_monitor_info was taken

2019-09-26 Thread Reingruber, Richard
Hi Dan and Serguei, The change went through our nightly testing a few times, which includes these tests and many more on all platforms. Thanks, Richard. From: serguei.spit...@oracle.com Sent: Mittwoch, 25. September 2019 19:10 To: daniel.daughe...@oracle.com; Reingruber, Richard ; Vladimir Ko