Integrated: 8265047: Inconsistent warning message in jcmd VM.log

2021-05-06 Thread Koichi Sakata
On Tue, 13 Apr 2021 04:23:52 GMT, Koichi Sakata wrote: > When reconfiguring log output options of an existing log setting with jcmd > VM.log and the file name, a warning message is shown. However, when > reconfiguring them with jcmd VM.log and the output index, the message is not

Re: RFR: 8265047: Inconsistent warning message in jcmd VM.log [v2]

2021-05-05 Thread Koichi Sakata
On Tue, 4 May 2021 23:50:16 GMT, David Holmes wrote: >> Koichi Sakata has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Change variable name to better one > > src/hotspot/share/logging/logConfigu

Re: RFR: 8265047: Inconsistent warning message in jcmd VM.log [v2]

2021-05-05 Thread Koichi Sakata
On Thu, 6 May 2021 06:24:26 GMT, Koichi Sakata wrote: >> When reconfiguring log output options of an existing log setting with jcmd >> VM.log and the file name, a warning message is shown. However, when >> reconfiguring them with jcmd VM.log and the output index, the messag

Re: RFR: 8265047: Inconsistent warning message in jcmd VM.log [v2]

2021-05-05 Thread Koichi Sakata
d_tagset_vm (0 ms) > [ RUN ] LogConfigurationTest.output_name_normalization_vm > [ OK ] LogConfigurationTest.output_name_normalization_vm (1 ms) > [ RUN ] LogConfigurationTest.suggest_similar_selection_vm > [ OK ] LogConfigurationTest.suggest_similar_selection_vm

Integrated: 8176026: SA: Huge heap sizes cause a negative value to be displayed in the jhisto heap total

2021-03-31 Thread Koichi Sakata
On Fri, 19 Mar 2021 11:49:39 GMT, Koichi Sakata wrote: > When a heap is used more than about 2.1GB, clhsdb jhisto shows a negative > number in the total field. > > $ java -Xmx20g Sample > > $ jhsdb clhsdb --pid 5773 > Attaching to process 5773, please wait... >

Re: RFR: 8176026: SA: Huge heap sizes cause a negative value to be displayed in the jhisto heap total [v2]

2021-03-31 Thread Koichi Sakata
On Fri, 26 Mar 2021 13:57:00 GMT, Koichi Sakata wrote: >> Marked as reviewed by mgkw...@github.com (no known OpenJDK username). > > I just updated the copyright. Could someone sponsor this pull request? It is ready. - PR: https://git.openjdk.java.net/jdk/pull/3087

Re: RFR: 8176026: SA: Huge heap sizes cause a negative value to be displayed in the jhisto heap total [v2]

2021-03-26 Thread Koichi Sakata
On Wed, 24 Mar 2021 18:01:30 GMT, Marcus G K Williams wrote: >> Koichi Sakata has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Fix the sort bug for huge bytes in jhisto > > Marked as reviewed by mgkw..

Re: RFR: 8176026: SA: Huge heap sizes cause a negative value to be displayed in the jhisto heap total [v3]

2021-03-26 Thread Koichi Sakata
am: > > num #instances#bytes Class description > -- > 1: 340513958838400 byte[] > 2: 887 109032 java.lang.Class > ... > 300:1 16 j

Integrated: 8263572: Output from jstack mixed mode is misaligned

2021-03-23 Thread Koichi Sakata
On Mon, 15 Mar 2021 07:29:16 GMT, Koichi Sakata wrote: > When running jstack with mixed option, the output of the lines that doesn't > have an address are misaligned as followings. > > $ sudo jhsdb jstack --mixed --pid 8281 > - 8330 - &

Re: RFR: 8176026: SA: Huge heap sizes cause a negative value to be displayed in the jhisto heap total [v2]

2021-03-23 Thread Koichi Sakata
On Fri, 19 Mar 2021 19:40:13 GMT, Chris Plummer wrote: >> Koichi Sakata has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Fix the sort bug for huge bytes in jhisto > > I see another cast-to-int related bug, a

Re: RFR: 8176026: SA: Huge heap sizes cause a negative value to be displayed in the jhisto heap total [v2]

2021-03-23 Thread Koichi Sakata
Xmx20g Sample > $ ./jdk/build/linux-x86_64-server-fastdebug/jdk/bin/jhsdb clhsdb --pid 22463 > Attaching to process 22463, please wait... > hsdb> jhisto > > 300:341019327547600 byte[] > Total : 16145 19328155080 > Heap traversal took 1.981 seconds. Ko

Re: RFR: 8263572: Output from jstack mixed mode is misaligned [v2]

2021-03-23 Thread Koichi Sakata
On Tue, 23 Mar 2021 02:49:52 GMT, Serguei Spitsyn wrote: >> Koichi Sakata has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Fix calculation for the length of white space > > Hi Koichi, > It looks good to m

RFR: 8176026: SA: Huge heap sizes cause a negative value to be displayed in the jhisto heap total

2021-03-19 Thread Koichi Sakata
When a heap is used more than about 2.1GB, clhsdb jhisto shows a negative number in the total field. $ java -Xmx20g Sample $ jhsdb clhsdb --pid 5773 Attaching to process 5773, please wait... hsdb> jhisto ... 299:1 16 jdk.internal.misc.Unsafe 300:34021073761

Re: RFR: 8263572: Output from jstack mixed mode is misaligned [v2]

2021-03-19 Thread Koichi Sakata
On Tue, 16 Mar 2021 23:29:31 GMT, Chris Plummer wrote: >> Thank you for your comment, @plummercj. >> >>> What testing have you done? >> >> I added the content of the test that I've done in the body text. >> >>> Please update the copyright to 2021. >> >> Sure! >> >>> I noticed that in you ori

Re: RFR: 8263572: Output from jstack mixed mode is misaligned [v2]

2021-03-15 Thread Koichi Sakata
On Mon, 15 Mar 2021 19:22:48 GMT, Chris Plummer wrote: >> Koichi Sakata has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Fix calculation for the length of white space > > What testing have you done? >

Re: RFR: 8263572: Output from jstack mixed mode is misaligned [v2]

2021-03-15 Thread Koichi Sakata
On Mon, 15 Mar 2021 19:20:27 GMT, Chris Plummer wrote: >> Koichi Sakata has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Fix calculation for the length of white space > > src/jdk.hotspot.agent/share

Re: RFR: 8263572: Output from jstack mixed mode is misaligned [v2]

2021-03-15 Thread Koichi Sakata
On Mon, 15 Mar 2021 19:15:09 GMT, Chris Plummer wrote: >> Koichi Sakata has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Fix calculation for the length of white space > > src/jdk.hotspot.agent/share

Re: RFR: 8263572: Output from jstack mixed mode is misaligned [v2]

2021-03-15 Thread Koichi Sakata
erpreted > frame) > > 0x035002d4 java.lang.Object.wait(long) + 0x94 (Native method) > 0x034fcd3c * java.lang.Object.wait() bci:2 line:338 (Compiled frame) > * com.sun.tools.jdi.EventQueueImpl.removeUnfiltered(long) > bci:64 line:190 (Compiled frame) > * com.sun.tools.jdi.EventQueu

RFR: 8263572: Output from jstack mixed mode is misaligned

2021-03-15 Thread Koichi Sakata
When running jstack with mixed option, the output of the lines that doesn't have an address are misaligned as followings. $ sudo jhsdb jstack --mixed --pid 5905 - 5955 - "event-handler" #20 daemon prio=5 tid=0x7f133079a970 nid=0x1743 in Object.wait() [0x7