Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-12 Thread serguei.spit...@oracle.com
d Holmes mailto:david.hol...@oracle.com, serviceability-dev mailto:serviceability-dev@openjdk.java.net, mailto:hotspot-gc-...@openjdk.java.net mailto:hotspot-gc-...@openjdk.java.net Subject: Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail) Hi Lin, The latest web

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-12 Thread 臧琳
at 1:06 AM To: "linzang(臧琳)" Cc: "Hohensee, Paul" , Stefan Karlsson , David Holmes , serviceability-dev , "hotspot-gc-...@openjdk.java.net" Subject: Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail) Hi Lin, Thanks you for

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-12 Thread serguei.spit...@oracle.com
n , David Holmes , serviceability-dev , "hotspot-gc-...@openjdk.java.net" Subject: Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

RE: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-12 Thread Hohensee, Paul
at 4:23 AM To: "linzang(臧琳)" Cc: "Hohensee, Paul" , Stefan Karlsson , David Holmes , serviceability-dev , "hotspot-gc-...@openjdk.java.net" Subject: Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail) Hi Lin, The latest webr

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-11 Thread 臧琳
viceability-dev , "hotspot-gc-...@openjdk.java.net" Subject: Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail) Hi Lin, The latest webrev looks good to me. Just want to double check, how did you check no regressions are introduced with your f

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-11 Thread serguei.spit...@oracle.com
I will made a new changeset with following changes:     >>>  >    * Print error message + usage when parameter check fail in Jmap.java     >>>      >    *Retrive the histo logic that if “all” and “live” are set at same time, us

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-11 Thread 臧琳
undefined options, will setup a new issue in JBS and fix it separately soon. >>> >>> >>> BRs, >>> Lin >>> >>> From: "serguei.spit...@oracle.com" >>> Date: Tuesday, Aug

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-11 Thread serguei.spit...@oracle.com
ately soon. BRs, Lin From: "serguei.spit...@oracle.com" Date: Tuesday, August 11, 2020 at 8:40 AM To: "linzang(臧琳)" , "Hohensee, Paul" , Stefan Karlsson , David Holmes , serviceability-dev , "hotspot-gc-...@openjdk.java.net" Subject: Re: RFR(L): 8215624: add paralle

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-10 Thread 臧琳
l setup a new issue in JBS and fix >> it separately soon. >> >> >> BRs, >> Lin >> >> From: "serguei.spit...@oracle.com" >> Date: Tuesday, August 11, 2020 at 8:40 AM >> To: "linzang(臧琳)" , "Hohensee, Paul" >

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-10 Thread serguei.spit...@oracle.com
David Holmes , serviceability-dev , "hotspot-gc-...@openjdk.java.net" Subject: Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail) Hi Lin, A couple of things. First, the CSR does not include any update for 'live' and 'all' options, does it? If so, t

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-10 Thread 臧琳
e, Paul" , Stefan Karlsson , David Holmes , serviceability-dev , "hotspot-gc-...@openjdk.java.net" Subject: Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail) Hi Lin, A couple of things. First, the CSR does not include any update for 'live' an

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-10 Thread serguei.spit...@oracle.com
e enhancement about spec is reasonable ? Thanks! BRs, Lin From: "serguei.spit...@oracle.com" Date: Tuesday, August 11, 2020 at 5:11 AM To: "linzang(臧琳)" , "Hohensee, Paul" , Stefan Karlsson , David Holmes , serviceability-dev , "hotspot-gc-.

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-10 Thread 臧琳
te: Tuesday, August 11, 2020 at 5:11 AM To: "linzang(臧琳)" , "Hohensee, Paul" , Stefan Karlsson , David Holmes , serviceability-dev , "hotspot-gc-...@openjdk.java.net" Subject: Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Int

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-10 Thread serguei.spit...@oracle.com
ng(臧琳)" , "Hohensee, Paul" , Stefan Karlsson , David Holmes , serviceability-dev , "hotspot-gc-...@openjdk.java.net" Subject: Re: RFR(L): 8215624: add parallel heap

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-07 Thread serguei.spit...@oracle.com
" , "Hohensee, Paul" > , Stefan Karlsson , > David Holmes , serviceability-dev > , "hotspot-gc-...@openjdk.java.net" > > *Subject: *Re: RFR(L): 8215624: add parall

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-07 Thread serguei.spit...@oracle.com
" , "Hohensee, Paul" > , Stefan Karlsson , > David Holmes , serviceability-dev > , "hotspot-gc-...@openjdk.java.net" > > *Subject: *Re: RFR(L): 8215624: add parallel heap inspection support f

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-07 Thread serguei.spit...@oracle.com
> , Stefan Karlsson , > David Holmes , serviceability-dev > , "hotspot-gc-...@openjdk.java.net" > > *Subject: *Re: RFR(L): 8215624: add parallel heap i

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-06 Thread Hohensee, Paul
ay, August 5, 2020 at 1:02 PM > *To: *"linzang(臧琳)" , "Hohensee, Paul" > , Stefan Karlsson , > David Holmes , serviceability-dev > , "hotspot-gc-...@openjdk.java.net"

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-05 Thread 臧琳
, August 5, 2020 at 1:02 PM > *To: *"linzang(臧琳)" , "Hohensee, Paul" > , Stefan Karlsson , > David Holmes , serviceability-dev > , "hotspot-gc-...@openjdk.java.net"

RE: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-05 Thread Hohensee, Paul
hensee, Paul" > , Stefan Karlsson , > David Holmes , serviceability-dev > , "hotspot-gc-...@openjdk.java.net" > > *Subject: *Re: RFR(L): 8215624: add parallel heap inspection support for

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-05 Thread 臧琳
*"linzang(臧琳)" , "Hohensee, Paul" > , Stefan Karlsson , > David Holmes , serviceability-dev > , "hotspot-gc-...@openjdk.java.net" > > *Subject: *Re: RFR(L): 8215624: add parall

RE: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-05 Thread Hohensee, Paul
t; > , Stefan Karlsson , > David Holmes , serviceability-dev > , "hotspot-gc-...@openjdk.java.net" > > *Subject: *Re: RFR(L): 8215624: add parallel heap inspection support for > jmap histo(G1)(Internet mail) >

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-05 Thread 臧琳
nzang(臧琳)" , "Hohensee, Paul" > , Stefan Karlsson , > David Holmes , serviceability-dev > , "hotspot-gc-...@openjdk.java.net" > > *Subject: *Re: RFR(L): 8215624: add parallel heap inspection support for > jmap histo(G1)(Internet

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-05 Thread Stefan Karlsson
*Wednesday, August 5, 2020 at 1:02 PM *To: *"linzang(臧琳)" , "Hohensee, Paul" , Stefan Karlsson , David Holmes , serviceability-dev , "hotspot-gc-...@openjdk.java.net" *Subject: *Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mai

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-05 Thread serguei.spit...@oracle.com
, Stefan Karlsson , David Holmes , serviceability-dev , "hotspot-gc-...@openjdk.java.net" Subject: Re: RFR(L): 8215624: add parallel heap inspection

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-04 Thread serguei.spit...@oracle.com
avid Holmes , serviceability-dev , "hotspot-gc-...@openjdk.java.net" Subject: RE: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail) Just small things. heapInspection.cpp: In ParHeapInspect

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-04 Thread serguei.spit...@oracle.com
acle.com" , David Holmes , serviceability-dev , "hotspot-gc-...@openjdk.java.net" Subject: RE: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail) Just small things. heapInspection.cpp:

RE: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-04 Thread Hohensee, Paul
## > > > Here is the webrev http://cr.openjdk.java.net/~lzang/jmap-8214535/8215624/webrev_08/ > > BRs, > Lin > --------------------- >

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-04 Thread Stefan Karlsson
- From: "Hohensee, Paul" Date: Thursday, July 23, 2020 at 6:48 AM To: "linzang(臧琳)" , Stefan Karlsson , "serguei.spit...@oracle.com" , David Holmes , serviceability-dev , "hotspot-gc-...@openjdk.ja

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-08-03 Thread 臧琳
aul" Date: Thursday, July 23, 2020 at 6:48 AM To: "linzang(臧琳)" , Stefan Karlsson , "serguei.spit...@oracle.com" , David Holmes , serviceability-dev , "hotspot-gc-...@openjdk.java.net" Subject:

RE: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-07-29 Thread Hohensee, Paul
ev , "hotspot-gc-...@openjdk.java.net" Subject: RE: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail) Just small things. heapInspection.cpp: In ParHeapInspectTask::work, remove the final return st

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-07-29 Thread 臧琳
Date: Thursday, July 23, 2020 at 6:48 AM To: "linzang(臧琳)" , Stefan Karlsson , "serguei.spit...@oracle.com" , David Holmes , serviceability-dev , "hotspot-gc-...@openjdk.java.net" Subject: RE: RFR(L): 8215624: add parallel heap inspectio

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-07-26 Thread 臧琳
cle.com" , David Holmes , serviceability-dev , "hotspot-gc-...@openjdk.java.net" Subject: RE: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail) Just small things. heapInspection.cpp: In ParHeapInspectTask::work, remove the

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-07-22 Thread 臧琳
.spit...@oracle.com" , David Holmes , serviceability-dev , "hotspot-gc-...@openjdk.java.net" Subject: RE: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail) Just small things.   heapInspection.cpp:   In ParHeapInspectTask::work, remove the final retu

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-07-15 Thread 臧琳
Upload a new webrev at http://cr.openjdk.java.net/~lzang/jmap-8214535/8215624/webrev_07/ It fix a potential issue that unexpected number of threads maybe calculated for "parallel" option of jmap -histo in container. As shown at

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-07-09 Thread 臧琳
Hi Paul, Thanks for reviewing! >> >> I'd move all the argument parsing code to JMap.java and just pass the results to Hotspot. Both histo() in JMap.java and code in attachListener.* parse the command line arguments, though the code in histo() doesn't parse the argument to

RE: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-07-06 Thread Hohensee, Paul
I'd like to see this feature added. :) The CSR looks good, as does the basic parallel inspection algorithm. Stefan's done the GC part, so I'll stick to the non-GC part (fwiw, the GC part lgtm). I'd move all the argument parsing code to JMap.java and just pass the results to Hotspot. Both

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-06-29 Thread 臧琳
Dear All, Sorry to bother again, I just want to make sure that is this change worth to be continue to work on? If decision is made to not. I think I can drop this work and stop asking for help reviewing... Thanks for all your help about reviewing this previously. BRs, Lin On

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-05-09 Thread 臧琳
Dear All, May I ask your help again for review the latest change? Thanks! BRs, Lin On 2020/4/28, 1:54 PM, "linzang(臧琳)" wrote: Hi Stefan, >> - Adding Atomic::load/store. >> - Removing the time measurement in the run_task. I renamed G1's function >> to

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-04-27 Thread 臧琳
Hi Stefan, >> - Adding Atomic::load/store. >> - Removing the time measurement in the run_task. I renamed G1's function >> to run_task_timed. If we need this outside of G1, we can rethink the API >> at that point. >> - ZGC style cleanups Thanks for revising the patch, they

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-04-27 Thread Stefan Karlsson
Hi Lin, On 2020-04-26 05:10, linzang(臧琳) wrote: Hi Stefan and Paul, I have made a new patch based on your comments and Stefan's Poc code: Webrev: http://cr.openjdk.java.net/~lzang/jmap-8214535/8215624/webrev_03/ Delta(based on Stefan's change:) :

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-04-25 Thread 臧琳
Hi Stefan and Paul, I have made a new patch based on your comments and Stefan's Poc code: Webrev: http://cr.openjdk.java.net/~lzang/jmap-8214535/8215624/webrev_03/ Delta(based on Stefan's change:) :

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-04-22 Thread 臧琳
Thanks Paul! I agree with using "parallel", will make the update in next patch, Thanks for help update the CSR. BRs, Lin On 2020/4/23, 4:42 AM, "Hohensee, Paul" wrote: For the interface, I'd use "parallel" instead of "parallelThreadNum". All the other options are lower case, and it's

RE: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-04-22 Thread Hohensee, Paul
For the interface, I'd use "parallel" instead of "parallelThreadNum". All the other options are lower case, and it's a lot easier to type "parallel". I took the liberty of updating the CSR. If you're ok with it, you might want to change variable names and such, plus of course JMap.usage.

Re: RFR(L): 8215624: add parallel heap inspection support for jmap histo(G1)(Internet mail)

2020-04-22 Thread 臧琳
Dear Stefan, Thanks a lot! I agree with you to decouple the heap inspection code with GC's. I will start from your POC code, may discuss with you later. BRs, Lin On 2020/4/22, 5:14 PM, "Stefan Karlsson" wrote: Hi Lin, I took a look at this earlier and