From duke at openjdk.org Tue Jul 1 09:59:47 2025 From: duke at openjdk.org (duke) Date: Tue, 1 Jul 2025 09:59:47 GMT Subject: RFR: 8396: OptionsCheckRule has doesn't recognize HeapDumpOnOutOfMemoryError In-Reply-To: References: Message-ID: <3Mhb8iQPubiVTerG3HML5A7Ygffu9huMhjWF-MVlHtM=.4f617085-129e-45db-8586-fc886ad87e1f@github.com> On Thu, 1 May 2025 10:12:32 GMT, Ivo Anjo wrote: > I noticed that `HeapDumpOnOutOfMemoryError` was showing up as an undocumented rule, and that seemed a bit surprising. > > On a closer look, it's even documented on the exact link https://docs.oracle.com/javase/8/docs/technotes/tools/windows/java.html used as the source for the `JAVA_8_DOCUMENTED_XX`. > > I googled and I don't think this option ever had another name, so it looks like a copy-paste accident or something like that? > > I've submitted the needed docs for the OCA so I'm opening the PR for now and hopefully that will all be in good shape soon. @ivoanjo Your change (at version b5b46c862a92f14c57eee593e2f3d6647b427d32) is now ready to be sponsored by a Committer. ------------- PR Comment: https://git.openjdk.org/jmc/pull/646#issuecomment-3023108820 From duke at openjdk.org Wed Jul 2 17:07:46 2025 From: duke at openjdk.org (Ivo Anjo) Date: Wed, 2 Jul 2025 17:07:46 GMT Subject: Integrated: 8396: OptionsCheckRule has doesn't recognize HeapDumpOnOutOfMemoryError In-Reply-To: References: Message-ID: On Thu, 1 May 2025 10:12:32 GMT, Ivo Anjo wrote: > I noticed that `HeapDumpOnOutOfMemoryError` was showing up as an undocumented rule, and that seemed a bit surprising. > > On a closer look, it's even documented on the exact link https://docs.oracle.com/javase/8/docs/technotes/tools/windows/java.html used as the source for the `JAVA_8_DOCUMENTED_XX`. > > I googled and I don't think this option ever had another name, so it looks like a copy-paste accident or something like that? > > I've submitted the needed docs for the OCA so I'm opening the PR for now and hopefully that will all be in good shape soon. This pull request has now been integrated. Changeset: dd6fd901 Author: Ivo Anjo Committer: Marcus Hirt URL: https://git.openjdk.org/jmc/commit/dd6fd901e3ee4fdd766a2b4dfe43bcc1388fbf2a Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod 8396: OptionsCheckRule has doesn't recognize HeapDumpOnOutOfMemoryError Reviewed-by: hdafgard, hirt ------------- PR: https://git.openjdk.org/jmc/pull/646 From hirt at openjdk.org Thu Jul 3 19:02:28 2025 From: hirt at openjdk.org (Marcus Hirt) Date: Thu, 3 Jul 2025 19:02:28 GMT Subject: RFR: 8371: Stacktrace should hide hidden frames Message-ID: Alternative solution. ------------- Commit messages: - Always get specific test resources by name - Forgotten properties file - Cleanup and fix - Copyright - Copyright - Better variant, with tests - Slightly better variant - 8371: Hidden Frames, first attempt Changes: https://git.openjdk.org/jmc/pull/657/files Webrev: Webrev is not available because diff is too large Issue: https://bugs.openjdk.org/browse/JMC-8371 Stats: 2179085 lines in 70 files changed: 2178515 ins; 504 del; 66 mod Patch: https://git.openjdk.org/jmc/pull/657.diff Fetch: git fetch https://git.openjdk.org/jmc.git pull/657/head:pull/657 PR: https://git.openjdk.org/jmc/pull/657 From schaturvedi at openjdk.org Thu Jul 3 19:02:28 2025 From: schaturvedi at openjdk.org (Suchita Chaturvedi) Date: Thu, 3 Jul 2025 19:02:28 GMT Subject: RFR: 8371: Stacktrace should hide hidden frames In-Reply-To: References: Message-ID: <938MOIMfHNlfjQztKU8wKeF-YEaLq4JpuENEf9SbuD4=.70d2723e-1502-4ffa-9770-919b31898c86@github.com> On Sat, 28 Jun 2025 20:23:01 GMT, Marcus Hirt wrote: > Alternative solution. I have experimented with this code. 1. I am not able to build it completely as there are test failures. I had to skip tests in order to build it successfully. 2. It seems message.properties change is missed thats why the text is not rendered properly. Attaching screenshot here: JMCPreferenceScreen 3. I have tested Stacktrace view (For Method Profiling Screen) and Automated Analysis Page (For a JFR which has 2 rules (Allocation class and Allocation Thread) showing hidden frames as part of their results). They worked perfectly fine with checkbox - checked and unchecked (tried changing the preference on the fly also). Overall the code changes looks good to me. But I am not very sure about it effects (or side effects) at all other places. We would need a thorough sanity testing to avoid any regression. ------------- PR Comment: https://git.openjdk.org/jmc/pull/657#issuecomment-3026798702 From hirt at openjdk.org Thu Jul 3 19:02:28 2025 From: hirt at openjdk.org (Marcus Hirt) Date: Thu, 3 Jul 2025 19:02:28 GMT Subject: RFR: 8371: Stacktrace should hide hidden frames In-Reply-To: References: Message-ID: On Sat, 28 Jun 2025 20:23:01 GMT, Marcus Hirt wrote: > Alternative solution. This is very strange - the Mac tests fail on starting the p2 server. Everything passes on Linux and Windows. It is seemingly unrelated to my changes, as I haven't changed any pom files. @viragpurnam, do you have any idea? Error: ] Some problems were encountered while processing the POMs: Error: 'version' must be a constant version but is '${revision}${changelist}'. @ line 41, column 11 @ Error: The build could not read 1 project -> [Help 1] Error: Error: The project org.openjdk.jmc:external-dependencies:${revision}${changelist} (/Users/runner/work/jmc/jmc/releng/third-party/pom.xml) has 1 error Error: 'version' must be a constant version but is '${revision}${changelist}'. @ line 41, column 11 Error: Error: To see the full stack trace of the errors, re-run Maven with the -e switch. Error: Re-run Maven using the -X switch to enable full debug logging. Error: Error: For more information about the errors and possible solutions, please read the following articles: Error: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException Error: Process completed with exit code 1. ------------- PR Comment: https://git.openjdk.org/jmc/pull/657#issuecomment-3033216568 From hirt at openjdk.org Thu Jul 3 20:38:22 2025 From: hirt at openjdk.org (Marcus Hirt) Date: Thu, 3 Jul 2025 20:38:22 GMT Subject: RFR: 8409: Create 9.1.1 release notes Message-ID: Release notes for the micro release. ------------- Commit messages: - 8409: 9.1.1 Release Notes Changes: https://git.openjdk.org/jmc/pull/658/files Webrev: https://webrevs.openjdk.org/?repo=jmc&pr=658&range=00 Issue: https://bugs.openjdk.org/browse/JMC-8409 Stats: 43 lines in 8 files changed: 41 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jmc/pull/658.diff Fetch: git fetch https://git.openjdk.org/jmc.git pull/658/head:pull/658 PR: https://git.openjdk.org/jmc/pull/658 From vpurnam at openjdk.org Fri Jul 4 07:49:24 2025 From: vpurnam at openjdk.org (Virag Purnam) Date: Fri, 4 Jul 2025 07:49:24 GMT Subject: RFR: 8410: Update version for 9.1.1 release Message-ID: Updated version from 9.1.0 to 9.1.1 for JMC micro release. ------------- Commit messages: - 8410: hardcoded version in pom - 8410: Update version for 9.1.1 release Changes: https://git.openjdk.org/jmc/pull/659/files Webrev: https://webrevs.openjdk.org/?repo=jmc&pr=659&range=00 Issue: https://bugs.openjdk.org/browse/JMC-8410 Stats: 217 lines in 152 files changed: 0 ins; 0 del; 217 mod Patch: https://git.openjdk.org/jmc/pull/659.diff Fetch: git fetch https://git.openjdk.org/jmc.git pull/659/head:pull/659 PR: https://git.openjdk.org/jmc/pull/659 From hirt at openjdk.org Fri Jul 4 08:02:47 2025 From: hirt at openjdk.org (Marcus Hirt) Date: Fri, 4 Jul 2025 08:02:47 GMT Subject: RFR: 8410: Update version for 9.1.1 release In-Reply-To: References: Message-ID: On Fri, 4 Jul 2025 07:44:14 GMT, Virag Purnam wrote: > Updated version from 9.1.0 to 9.1.1 for JMC micro release. Marked as reviewed by hirt (Lead). ------------- PR Review: https://git.openjdk.org/jmc/pull/659#pullrequestreview-2986010035 From vpurnam at openjdk.org Fri Jul 4 08:10:47 2025 From: vpurnam at openjdk.org (Virag Purnam) Date: Fri, 4 Jul 2025 08:10:47 GMT Subject: Integrated: 8410: Update version for 9.1.1 release In-Reply-To: References: Message-ID: On Fri, 4 Jul 2025 07:44:14 GMT, Virag Purnam wrote: > Updated version from 9.1.0 to 9.1.1 for JMC micro release. This pull request has now been integrated. Changeset: 5d9978f0 Author: Virag Purnam URL: https://git.openjdk.org/jmc/commit/5d9978f0741be601ed08db62d36b8f1658f264c4 Stats: 217 lines in 152 files changed: 0 ins; 0 del; 217 mod 8410: Update version for 9.1.1 release Reviewed-by: hirt ------------- PR: https://git.openjdk.org/jmc/pull/659 From hirt at openjdk.org Fri Jul 4 08:12:46 2025 From: hirt at openjdk.org (Marcus Hirt) Date: Fri, 4 Jul 2025 08:12:46 GMT Subject: RFR: 8409: Create 9.1.1 release notes In-Reply-To: References: Message-ID: On Thu, 3 Jul 2025 20:33:39 GMT, Marcus Hirt wrote: > Release notes for the micro release. The failure is the same as in #657, which is clearly unrelated. I think it is fine to accept PRs that has this error, but which passes on both Windows and Ubuntu until we've solved it. Interim solution suggested by @viragpurnam is to hard code the version in the third party POM. ------------- PR Comment: https://git.openjdk.org/jmc/pull/658#issuecomment-3034921084 From hirt at openjdk.org Fri Jul 4 08:17:46 2025 From: hirt at openjdk.org (Marcus Hirt) Date: Fri, 4 Jul 2025 08:17:46 GMT Subject: RFR: 8371: Stacktrace should hide hidden frames In-Reply-To: References: Message-ID: On Sat, 28 Jun 2025 20:23:01 GMT, Marcus Hirt wrote: > Alternative solution. With #658 it is clear that the failure is CI-related, and unrelated to this change. ------------- PR Comment: https://git.openjdk.org/jmc/pull/657#issuecomment-3034932102 From vpurnam at openjdk.org Fri Jul 4 08:18:45 2025 From: vpurnam at openjdk.org (Virag Purnam) Date: Fri, 4 Jul 2025 08:18:45 GMT Subject: RFR: 8409: Create 9.1.1 release notes In-Reply-To: References: Message-ID: <1s7UB9VAmQDTS7jEQ-CXvcB1fjv-HKtpScCEr7xawcU=.78bc9fee-edd8-4e11-a815-b47d329b5a47@github.com> On Thu, 3 Jul 2025 20:33:39 GMT, Marcus Hirt wrote: > Release notes for the micro release. Looks good. ------------- Marked as reviewed by vpurnam (Reviewer). PR Review: https://git.openjdk.org/jmc/pull/658#pullrequestreview-2986048365 From hirt at openjdk.org Fri Jul 4 13:30:45 2025 From: hirt at openjdk.org (Marcus Hirt) Date: Fri, 4 Jul 2025 13:30:45 GMT Subject: Integrated: 8409: Create 9.1.1 release notes In-Reply-To: References: Message-ID: On Thu, 3 Jul 2025 20:33:39 GMT, Marcus Hirt wrote: > Release notes for the micro release. This pull request has now been integrated. Changeset: 3d521484 Author: Marcus Hirt URL: https://git.openjdk.org/jmc/commit/3d5214841c2a78f85f64a234031239a3335f1257 Stats: 43 lines in 8 files changed: 41 ins; 0 del; 2 mod 8409: Create 9.1.1 release notes Reviewed-by: vpurnam ------------- PR: https://git.openjdk.org/jmc/pull/658 From duke at openjdk.org Fri Jul 4 14:18:31 2025 From: duke at openjdk.org (duke) Date: Fri, 4 Jul 2025 14:18:31 GMT Subject: git: openjdk/jmc: Added tag 9.1.1-rc for changeset 3d521484 Message-ID: Tagged by: thegreystone Date: 2025-07-04 16:17:11 +0000 Release candidate for JMC 9.1.1 Changeset: 3d521484 Author: Marcus Hirt Date: 2025-07-04 13:28:06 +0000 URL: https://git.openjdk.org/jmc/commit/3d5214841c2a78f85f64a234031239a3335f1257 From aptmac at openjdk.org Fri Jul 4 17:06:44 2025 From: aptmac at openjdk.org (Alex Macdonald) Date: Fri, 4 Jul 2025 17:06:44 GMT Subject: RFR: 8400: Add more show options for JMX Console graphs [v2] In-Reply-To: References: Message-ID: On Sat, 31 May 2025 22:41:10 GMT, Marcus Hirt wrote: >> Also cleaning up a little bit. There were some assumptions around the default XY chart that should be put in code etc. > > Marcus Hirt has updated the pull request incrementally with one additional commit since the last revision: > > Spotless application/org.openjdk.jmc.greychart.ui/src/main/java/org/openjdk/jmc/greychart/ui/views/ChartMenuBuilder.java line 469: > 467: getShell().setText(Messages.CustomTimeRangeDialog_TITLE); > 468: Control contents = super.createContents(parent); > 469: contents.getShell().setSize(450, 300); Gave this a try on my Linux machine, and the controls get cut-off horizontally a bit early. It will need another 100px on the width. ![Screenshot From 2025-07-04 12-06-43](https://github.com/user-attachments/assets/aeed48d6-a7f9-47da-9b45-316e4f41a937) An alternative could be to allow these dialogs to be resized. To do so, the `isResizable()` on the dialog class can be overriden as follows: @Override protected boolean isResizable() { return true; } ------------- PR Review Comment: https://git.openjdk.org/jmc/pull/652#discussion_r2185797626 From hirt at openjdk.org Mon Jul 7 14:48:58 2025 From: hirt at openjdk.org (Marcus Hirt) Date: Mon, 7 Jul 2025 14:48:58 GMT Subject: RFR: 8415: Spotless error in the main branch Message-ID: A spotless error snuck in with a recent commit. This is fixing it. Note that the strange Mac CI problem is still there, so I am also hard coding the version in the third-party pom until we have a proper fix. ------------- Commit messages: - Fixing Mac CI problem - Fixing spotless problem Changes: https://git.openjdk.org/jmc/pull/661/files Webrev: https://webrevs.openjdk.org/?repo=jmc&pr=661&range=00 Issue: https://bugs.openjdk.org/browse/JMC-8415 Stats: 17 lines in 2 files changed: 0 ins; 0 del; 17 mod Patch: https://git.openjdk.org/jmc/pull/661.diff Fetch: git fetch https://git.openjdk.org/jmc.git pull/661/head:pull/661 PR: https://git.openjdk.org/jmc/pull/661 From aptmac at openjdk.org Mon Jul 7 15:11:47 2025 From: aptmac at openjdk.org (Alex Macdonald) Date: Mon, 7 Jul 2025 15:11:47 GMT Subject: RFR: 8415: Spotless error in the main branch In-Reply-To: References: Message-ID: On Mon, 7 Jul 2025 14:43:39 GMT, Marcus Hirt wrote: > A spotless error snuck in with a recent commit. This is fixing it. Note that the strange Mac CI problem is still there, so I am also hard coding the version in the third-party pom until we have a proper fix. Marked as reviewed by aptmac (Reviewer). ------------- PR Review: https://git.openjdk.org/jmc/pull/661#pullrequestreview-2994287438 From schaturvedi at openjdk.org Mon Jul 7 18:35:47 2025 From: schaturvedi at openjdk.org (Suchita Chaturvedi) Date: Mon, 7 Jul 2025 18:35:47 GMT Subject: RFR: 8371: Stacktrace should hide hidden frames In-Reply-To: References: Message-ID: <3Ok6VlVNRehjLh0D_09e9OenYvTRPX3b656EtamRM2k=.39ac4ff9-7695-48e2-844c-9de73dc29c6a@github.com> On Sat, 28 Jun 2025 20:23:01 GMT, Marcus Hirt wrote: > Alternative solution. core/org.openjdk.jmc.flightrecorder/src/main/java/org/openjdk/jmc/flightrecorder/internal/parser/v1/StructTypes.java line 779: > 777: } > 778: } > 779: Minor nit : one extra line here. However no other change in this file. ------------- PR Review Comment: https://git.openjdk.org/jmc/pull/657#discussion_r2190790092 From hirt at openjdk.org Tue Jul 8 21:38:00 2025 From: hirt at openjdk.org (Marcus Hirt) Date: Tue, 8 Jul 2025 21:38:00 GMT Subject: RFR: 8400: Add more show options for JMX Console graphs [v3] In-Reply-To: References: Message-ID: > Also cleaning up a little bit. There were some assumptions around the default XY chart that should be put in code etc. Marcus Hirt has updated the pull request incrementally with one additional commit since the last revision: More space for Linux, resizable and grabbing existing space ------------- Changes: - all: https://git.openjdk.org/jmc/pull/652/files - new: https://git.openjdk.org/jmc/pull/652/files/8cb62f9b..45830ad9 Webrevs: - full: https://webrevs.openjdk.org/?repo=jmc&pr=652&range=02 - incr: https://webrevs.openjdk.org/?repo=jmc&pr=652&range=01-02 Stats: 7 lines in 1 file changed: 6 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jmc/pull/652.diff Fetch: git fetch https://git.openjdk.org/jmc.git pull/652/head:pull/652 PR: https://git.openjdk.org/jmc/pull/652 From hirt at openjdk.org Tue Jul 8 21:38:00 2025 From: hirt at openjdk.org (Marcus Hirt) Date: Tue, 8 Jul 2025 21:38:00 GMT Subject: RFR: 8400: Add more show options for JMX Console graphs [v2] In-Reply-To: References: Message-ID: On Fri, 4 Jul 2025 17:04:00 GMT, Alex Macdonald wrote: >> Marcus Hirt has updated the pull request incrementally with one additional commit since the last revision: >> >> Spotless > > application/org.openjdk.jmc.greychart.ui/src/main/java/org/openjdk/jmc/greychart/ui/views/ChartMenuBuilder.java line 469: > >> 467: getShell().setText(Messages.CustomTimeRangeDialog_TITLE); >> 468: Control contents = super.createContents(parent); >> 469: contents.getShell().setSize(450, 300); > > Gave this a try on my Linux machine, and the controls get cut-off horizontally a bit early. It will need another 100px on the width. > > ![Screenshot From 2025-07-04 12-06-43](https://github.com/user-attachments/assets/aeed48d6-a7f9-47da-9b45-316e4f41a937) > > An alternative could be to allow these dialogs to be resized. To do so, the `isResizable()` on the dialog class can be overriden as follows: > > @Override > protected boolean isResizable() { > return true; > } A combination seems right - give it a bit more space, and also allow for it to be resized. Also, it should grab the existing space, like in the Dump Recording Wizard. ------------- PR Review Comment: https://git.openjdk.org/jmc/pull/652#discussion_r2193480170 From hirt at openjdk.org Tue Jul 8 21:44:46 2025 From: hirt at openjdk.org (Marcus Hirt) Date: Tue, 8 Jul 2025 21:44:46 GMT Subject: RFR: 8400: Add more show options for JMX Console graphs [v3] In-Reply-To: References: Message-ID: On Tue, 8 Jul 2025 21:38:00 GMT, Marcus Hirt wrote: >> Also cleaning up a little bit. There were some assumptions around the default XY chart that should be put in code etc. > > Marcus Hirt has updated the pull request incrementally with one additional commit since the last revision: > > More space for Linux, resizable and grabbing existing space Don't worry about the failed MacOS test - that has been fixed in the main branch. This PR was opened before #661, and all should be fine when integrated. ------------- PR Comment: https://git.openjdk.org/jmc/pull/652#issuecomment-3050374799 From schaturvedi at openjdk.org Wed Jul 9 04:00:46 2025 From: schaturvedi at openjdk.org (Suchita Chaturvedi) Date: Wed, 9 Jul 2025 04:00:46 GMT Subject: RFR: 8371: Stacktrace should hide hidden frames In-Reply-To: References: Message-ID: On Sat, 28 Jun 2025 20:23:01 GMT, Marcus Hirt wrote: > Alternative solution. Looks good to me. ------------- Marked as reviewed by schaturvedi (Committer). PR Review: https://git.openjdk.org/jmc/pull/657#pullrequestreview-2999871667 From schaturvedi at openjdk.org Wed Jul 9 14:22:04 2025 From: schaturvedi at openjdk.org (Suchita Chaturvedi) Date: Wed, 9 Jul 2025 14:22:04 GMT Subject: RFR: 6203: Add ZGC allocation stall rule Message-ID: This enhancement is to add new rule for ZGC Allocation Stall events. The default configuration: image Here are few screenshots for reference: image ------------- Commit messages: - 6203: Add ZGC allocation stall rule Changes: https://git.openjdk.org/jmc/pull/664/files Webrev: https://webrevs.openjdk.org/?repo=jmc&pr=664&range=00 Issue: https://bugs.openjdk.org/browse/JMC-6203 Stats: 307 lines in 11 files changed: 303 ins; 0 del; 4 mod Patch: https://git.openjdk.org/jmc/pull/664.diff Fetch: git fetch https://git.openjdk.org/jmc.git pull/664/head:pull/664 PR: https://git.openjdk.org/jmc/pull/664 From duke at openjdk.org Fri Jul 11 17:14:59 2025 From: duke at openjdk.org (duke) Date: Fri, 11 Jul 2025 17:14:59 GMT Subject: git: openjdk/jmc: Added tag 9.1.1-ga for changeset 3d521484 Message-ID: Tagged by: thegreystone Date: 2025-07-11 19:13:44 +0000 GA source release for JMC 9.1.1 Changeset: 3d521484 Author: Marcus Hirt Date: 2025-07-04 13:28:06 +0000 URL: https://git.openjdk.org/jmc/commit/3d5214841c2a78f85f64a234031239a3335f1257 From hirt at openjdk.org Sat Jul 12 20:48:48 2025 From: hirt at openjdk.org (Marcus Hirt) Date: Sat, 12 Jul 2025 20:48:48 GMT Subject: Integrated: 8371: Stacktrace should hide hidden frames In-Reply-To: References: Message-ID: On Sat, 28 Jun 2025 20:23:01 GMT, Marcus Hirt wrote: > Alternative solution. This pull request has now been integrated. Changeset: 1413e741 Author: Marcus Hirt URL: https://git.openjdk.org/jmc/commit/1413e74127d0daaedfb5dfd2019fc633cfca3f74 Stats: 2179085 lines in 70 files changed: 2178515 ins; 504 del; 66 mod 8371: Stacktrace should hide hidden frames Reviewed-by: schaturvedi ------------- PR: https://git.openjdk.org/jmc/pull/657 From schaturvedi at openjdk.org Sun Jul 13 05:29:46 2025 From: schaturvedi at openjdk.org (Suchita Chaturvedi) Date: Sun, 13 Jul 2025 05:29:46 GMT Subject: RFR: 8371: Stacktrace should hide hidden frames [v2] In-Reply-To: References: Message-ID: On Fri, 11 Apr 2025 10:51:28 GMT, Suchita Chaturvedi wrote: >> JFR tool is hiding all the hidden frames. But in JMC, Stacktrace view is still showing lot of hidden methods which is not required from the users point of view. Hence, we will be hiding all the hidden frames as part of this enhancement. >> >> Also, we have updated some test cases also in order to get rid of hidden frames which were expected by the test cases. > > Suchita Chaturvedi has updated the pull request incrementally with one additional commit since the last revision: > > Removed ArrayList and replaced FOR-loop implementation with Streams Changes integrated as part of another PR. Hence, closing this PR. ------------- PR Comment: https://git.openjdk.org/jmc/pull/632#issuecomment-3066613571 From schaturvedi at openjdk.org Sun Jul 13 05:29:47 2025 From: schaturvedi at openjdk.org (Suchita Chaturvedi) Date: Sun, 13 Jul 2025 05:29:47 GMT Subject: Withdrawn: 8371: Stacktrace should hide hidden frames In-Reply-To: References: Message-ID: On Tue, 25 Mar 2025 19:27:30 GMT, Suchita Chaturvedi wrote: > JFR tool is hiding all the hidden frames. But in JMC, Stacktrace view is still showing lot of hidden methods which is not required from the users point of view. Hence, we will be hiding all the hidden frames as part of this enhancement. > > Also, we have updated some test cases also in order to get rid of hidden frames which were expected by the test cases. This pull request has been closed without being integrated. ------------- PR: https://git.openjdk.org/jmc/pull/632 From hirt at openjdk.org Mon Jul 14 13:36:53 2025 From: hirt at openjdk.org (Marcus Hirt) Date: Mon, 14 Jul 2025 13:36:53 GMT Subject: RFR: 6203: Add ZGC allocation stall rule In-Reply-To: References: Message-ID: On Wed, 9 Jul 2025 14:17:10 GMT, Suchita Chaturvedi wrote: > This enhancement is to add new rule for ZGC Allocation Stall events. > > The default configuration: > > image > > Here are few screenshots for reference: > > image > > image > > image > > image > > image > > Ignored > > image > > If we change default configuration as below: > > image > > image > > image > > image I would be wary about making the heuristic dependent on the number of stall events per recording. Perhaps we can find a better thing to look at, that is unrelated to the length of the recording? For example, how long a particular thread has been stalled per minute, or the longest time a thread was stalled (or both)? ------------- PR Comment: https://git.openjdk.org/jmc/pull/664#issuecomment-3069639323 From jpbempel at openjdk.org Wed Jul 16 12:00:50 2025 From: jpbempel at openjdk.org (Jean-Philippe Bempel) Date: Wed, 16 Jul 2025 12:00:50 GMT Subject: RFR: 6203: Add ZGC allocation stall rule In-Reply-To: References: Message-ID: On Wed, 9 Jul 2025 14:17:10 GMT, Suchita Chaturvedi wrote: > This enhancement is to add new rule for ZGC Allocation Stall events. > > The default configuration: > > image > > Here are few screenshots for reference: > > image > > image > > image > > image > > image > > Ignored > > image > > If we change default configuration as below: > > image > > image > > image > > image core/org.openjdk.jmc.flightrecorder.rules.jdk/src/main/resources/org/openjdk/jmc/flightrecorder/rules/jdk/messages/internal/messages.properties line 755: > 753: VMOperationRuleFactory_TEXT_WARN_LONG_COMBINED_DURATION=There are long lasting blocking VM operations in this recording. The longest was created from multiple close consecutive operations that were of type {longestOperation} and lasted for {longestOperationDuration} in total. They were initiated from thread {longestOperationCaller} and started at {longestOperationStartTime}. VM operations are JVM internal operations. Some VM operations are executed synchronously (i.e. will block the calling thread), and some need to be executed at so called safe points. Safe point polling is a cooperative suspension mechanism that halts byte code execution in the JVM. A VM operation occurring at a safe point will effectively be "stopping the world", meaning that no Java code will be executing in any thread while executing VM operations at that safe point. Long lasting VM operations executing at safe points can decrease the responsiveness of an application. If you do find such VM operations, th en the type of operation and its caller thread provide vital information to understand why the VM operation happened. To find more details, check if there is an event in the caller thread intersecting this event time wise. Looking at the stack trace for such an event can help determining what caused it. See [Runtime Overview](http://openjdk.java.net/groups/hotspot/docs/RuntimeOverview.html) for further information. > 754: ZGCAllocationStall_RULE_NAME=ZGC Allocation Stall > 755: ZgcAllocationStall_TEXT_INFO=In ZGC, a type of concurrent Garbage Collection (GC) algorithm, GC threads run concurrently with application threads, resulting in minimal stop-the-world pauses. However, because these pauses are so brief, application threads may create objects faster than GC threads can reclaim memory. In such cases, the JVM temporarily stops the application threads from creating new objects. This 'stopping of object creation' is known as an "Allocation Stall." \n Allocation Stall occurs due to following reasons: \n 1. Inefficient GC Algorithm: This is often the primary cause of Allocation Stall. Using a non-optimal GC algorithm or improper GC settings for your application's workload can lead to stalling. Earlier versions of ZGC (i.e. single-generation ZGC algorithm), are more prone to Allocation Stalls. \n 2. High Object Allocation Rate: If your application creates objects at a very high rate, it can overwhelm the GC's ability to reclaim memory quickly enough, le ading to stalls.\n 3. Memory Fragmentation: Even if there is free memory, fragmentation in the heap can prevent large objects from being allocated, contributing to Allocation Stalls.\n > because these pauses are so brief, application threads may create objects faster than GC threads can reclaim memory. This is not because the pauses are brief that we have stalls. it's just because app threads can create objects faster than the GC cycle is able to release the memory. Purely technically allocating is very cheap, while reclaiming requires to traverse object graph, move objects, plus sometimes less GC threads than app threads allocating. > Allocation Stall occurs due to following reasons: \n 1. Inefficient GC Algorithm: This is often the primary cause of Allocation Stall. Using a non-optimal GC algorithm or improper GC settings for your application's workload can lead to stalling. I would write it like this. I prefer to say GC algorithm requires more time to reclaim, and therefore we need either more GC threads and/or more room in the JAva Heap to have more time to reclaim before reaching the heap limit. Non-generational have a GC cycle longer than generational which contribute to having more stalls (the whole object graph needs to be scan before trying to reclaim memory, while only a fraction for generational). so improper GC settings that's true but I would suggest heap sizing, GC threads, or switching to generational. > 3. Memory Fragmentation: Even if there is free memory, fragmentation in the heap can prevent large objects from being allocated, contributing to Allocation Stalls. even if technically it's possible, I am not sure this is a main issue with ZGC. ------------- PR Review Comment: https://git.openjdk.org/jmc/pull/664#discussion_r2210166822 From hirt at openjdk.org Wed Jul 16 12:32:48 2025 From: hirt at openjdk.org (Marcus Hirt) Date: Wed, 16 Jul 2025 12:32:48 GMT Subject: RFR: 6203: Add ZGC allocation stall rule In-Reply-To: References: Message-ID: On Wed, 9 Jul 2025 14:17:10 GMT, Suchita Chaturvedi wrote: > This enhancement is to add new rule for ZGC Allocation Stall events. > > The default configuration: > > image > > Here are few screenshots for reference: > > image > > image > > image > > image > > image > > Ignored > > image > > If we change default configuration as below: > > image > > image > > image > > image As per the JMC dev slack, perhaps sum of stalled time per minute could be a good one? That one would have to be a rate to be recording length independent. Perhaps also combined with a higher score if very long individual allocation stalls are present? I also opened https://bugs.openjdk.org/browse/JDK-8362416 to make the rule more useful in case there are a lot of stalls under the default 10ms threshold of the current ZGC Allocation Stall event. We shouldn't block this PR on that work though, but rather ensure we use the new event when available. I will open a new JMC issue to track this. ------------- PR Comment: https://git.openjdk.org/jmc/pull/664#issuecomment-3078363462 From duke at openjdk.org Wed Jul 16 15:53:36 2025 From: duke at openjdk.org (Martin Skarsaune) Date: Wed, 16 Jul 2025 15:53:36 GMT Subject: RFR: 8237: Add support for Jolokia over Kubernetes proxy [v3] In-Reply-To: References: Message-ID: <8WB1J6rtipX1pYqIrYw7-r8eeSa-7wB2Bh9dHLXJaWA=.e655817d-310f-4764-a47a-af37ce3cae73@github.com> > JMC-8273 : Use the jolokia protocol over a kubernetes http proxy. > > Testing connectivity: > - [x] Docker desktop kubernetes > - [x] Azure AKS > - [x] Amazon EKS > - [x] Google GKE > > Other things observed: > > - [x] * Option to install agent should be disabled (debug difference with jolokia) - ***see below**** > - [x] * Warning: NLS missing message: JmcKubernetesPreferenceForm_LogErrorsTooltip in: org.openjdk.jmc.kubernetes.preferences.messages > - [x] * SLF4J(W): No SLF4J providers were found. ***OK for now, can investigate more later*** > SLF4J(W): Defaulting to no-operation (NOP) logger implementation > SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details. > - [x] Unlocking secrets now appear on startup. Should not be needed unless there are credentials used. (fixed) Martin Skarsaune has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 27 commits: - JMC-8237: Upgrade jolokia 2.2.2 -> 2.2.9 - Merge remote-tracking branch 'origin/master' into JMC-8237-kubernetes-proxy - JMC-8237: Removed dead assignment - Merge remote-tracking branch 'origin/master' into JMC-8237-kubernetes-proxy - JMC-8237: Remove unneeded changes - JMC-8237: Updated bundle version to 10.0.0. Updated copyright year - Merge remote-tracking branch 'origin/master' into JMC-8237-kubernetes-proxy - JMC-8237: Upgrade to jolokia 2.2.2 - Merge remote-tracking branch 'origin/master' into JMC-8237-kubernetes-proxy - Merge remote-tracking branch 'origin/master' into JMC-8237-kubernetes-proxy - ... and 17 more: https://git.openjdk.org/jmc/compare/87860cee...690bbbb7 ------------- Changes: https://git.openjdk.org/jmc/pull/576/files Webrev: https://webrevs.openjdk.org/?repo=jmc&pr=576&range=02 Stats: 2425 lines in 59 files changed: 2399 ins; 0 del; 26 mod Patch: https://git.openjdk.org/jmc/pull/576.diff Fetch: git fetch https://git.openjdk.org/jmc.git pull/576/head:pull/576 PR: https://git.openjdk.org/jmc/pull/576 From schaturvedi at openjdk.org Thu Jul 17 06:40:36 2025 From: schaturvedi at openjdk.org (Suchita Chaturvedi) Date: Thu, 17 Jul 2025 06:40:36 GMT Subject: RFR: 6515: Show virtualization information in JMC Message-ID: This PR adds Virtualization Information i.e. name (as this is the only information we have as of now) on Environment screen. The screen looks like this: image When jdk.VirtualizationInformation event exists: image When jdk.VirtualizationInformation event doesn't exists: image ------------- Commit messages: - 6515: Show virtualization information in JMC Changes: https://git.openjdk.org/jmc/pull/666/files Webrev: https://webrevs.openjdk.org/?repo=jmc&pr=666&range=00 Issue: https://bugs.openjdk.org/browse/JMC-6515 Stats: 12 lines in 8 files changed: 12 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jmc/pull/666.diff Fetch: git fetch https://git.openjdk.org/jmc.git pull/666/head:pull/666 PR: https://git.openjdk.org/jmc/pull/666 From aptmac at openjdk.org Thu Jul 17 13:29:56 2025 From: aptmac at openjdk.org (Alex Macdonald) Date: Thu, 17 Jul 2025 13:29:56 GMT Subject: RFR: 6515: Show virtualization information in JMC In-Reply-To: References: Message-ID: On Thu, 17 Jul 2025 06:34:48 GMT, Suchita Chaturvedi wrote: > This PR adds Virtualization Information i.e. name (as this is the only information we have as of now) on Environment screen. > > The screen looks like this: > > image > > > When jdk.VirtualizationInformation event exists: > > image > > When jdk.VirtualizationInformation event doesn't exists: > > image Marked as reviewed by aptmac (Reviewer). ------------- PR Review: https://git.openjdk.org/jmc/pull/666#pullrequestreview-3029541987 From hirt at openjdk.org Thu Jul 17 15:45:55 2025 From: hirt at openjdk.org (Marcus Hirt) Date: Thu, 17 Jul 2025 15:45:55 GMT Subject: RFR: 6515: Show virtualization information in JMC In-Reply-To: References: Message-ID: On Thu, 17 Jul 2025 06:34:48 GMT, Suchita Chaturvedi wrote: > This PR adds Virtualization Information i.e. name (as this is the only information we have as of now) on Environment screen. > > The screen looks like this: > > image > > > When jdk.VirtualizationInformation event exists: > > image > > When jdk.VirtualizationInformation event doesn't exists: > > image Marked as reviewed by hirt (Lead). ------------- PR Review: https://git.openjdk.org/jmc/pull/666#pullrequestreview-3030082566 From schaturvedi at openjdk.org Thu Jul 17 18:40:55 2025 From: schaturvedi at openjdk.org (Suchita Chaturvedi) Date: Thu, 17 Jul 2025 18:40:55 GMT Subject: Integrated: 6515: Show virtualization information in JMC In-Reply-To: References: Message-ID: On Thu, 17 Jul 2025 06:34:48 GMT, Suchita Chaturvedi wrote: > This PR adds Virtualization Information i.e. name (as this is the only information we have as of now) on Environment screen. > > The screen looks like this: > > image > > > When jdk.VirtualizationInformation event exists: > > image > > When jdk.VirtualizationInformation event doesn't exists: > > image This pull request has now been integrated. Changeset: 8f276a9f Author: Suchita Chaturvedi URL: https://git.openjdk.org/jmc/commit/8f276a9fbda451eec2dc171618403c1c407ef1f8 Stats: 12 lines in 8 files changed: 12 ins; 0 del; 0 mod 6515: Show virtualization information in JMC Reviewed-by: aptmac, hirt ------------- PR: https://git.openjdk.org/jmc/pull/666 From hirt at openjdk.org Thu Jul 17 21:24:07 2025 From: hirt at openjdk.org (Marcus Hirt) Date: Thu, 17 Jul 2025 21:24:07 GMT Subject: RFR: 8400: Add more show options for JMX Console graphs [v4] In-Reply-To: References: Message-ID: > Also cleaning up a little bit. There were some assumptions around the default XY chart that should be put in code etc. Marcus Hirt has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains four commits: - More space for Linux, resizable and grabbing existing space - Spotless - Cleanup. Ensuring that the axis is responsible for bounds. - 8400: Add more show options for JMX Console graphs ------------- Changes: https://git.openjdk.org/jmc/pull/652/files Webrev: https://webrevs.openjdk.org/?repo=jmc&pr=652&range=03 Stats: 881 lines in 15 files changed: 699 ins; 55 del; 127 mod Patch: https://git.openjdk.org/jmc/pull/652.diff Fetch: git fetch https://git.openjdk.org/jmc.git pull/652/head:pull/652 PR: https://git.openjdk.org/jmc/pull/652 From hirt at openjdk.org Fri Jul 18 12:58:09 2025 From: hirt at openjdk.org (Marcus Hirt) Date: Fri, 18 Jul 2025 12:58:09 GMT Subject: RFR: 8416: Better Eclipse classpath entry defaults Message-ID: <_84pkBLLi2d3IOiXlpJBFC35TIwzTQOWeMTn0wEShBU=.b5d49c9c-f95f-4530-b0f6-7220a31d533d@github.com> Should be pom derived. ------------- Commit messages: - Removing explicit runtime versions - 8614: Better classpath defaults Changes: https://git.openjdk.org/jmc/pull/663/files Webrev: https://webrevs.openjdk.org/?repo=jmc&pr=663&range=00 Issue: https://bugs.openjdk.org/browse/JMC-8416 Stats: 1896 lines in 130 files changed: 1605 ins; 1 del; 290 mod Patch: https://git.openjdk.org/jmc/pull/663.diff Fetch: git fetch https://git.openjdk.org/jmc.git pull/663/head:pull/663 PR: https://git.openjdk.org/jmc/pull/663 From schaturvedi at openjdk.org Fri Jul 18 12:58:10 2025 From: schaturvedi at openjdk.org (Suchita Chaturvedi) Date: Fri, 18 Jul 2025 12:58:10 GMT Subject: RFR: 8416: Better Eclipse classpath entry defaults In-Reply-To: <_84pkBLLi2d3IOiXlpJBFC35TIwzTQOWeMTn0wEShBU=.b5d49c9c-f95f-4530-b0f6-7220a31d533d@github.com> References: <_84pkBLLi2d3IOiXlpJBFC35TIwzTQOWeMTn0wEShBU=.b5d49c9c-f95f-4530-b0f6-7220a31d533d@github.com> Message-ID: On Wed, 9 Jul 2025 11:48:30 GMT, Marcus Hirt wrote: > Should be pom derived. application/tests/org.openjdk.jmc.flightrecorder.controlpanel.ui.test/.classpath line 3: > 1: > 2: > 3: Any specific reason why are we hard coding 21 here? application/tests/org.openjdk.jmc.rjmx.services.jfr.test/.classpath line 3: > 1: > 2: > 3: Any specific reason why are we hard coding 21 here? ------------- PR Review Comment: https://git.openjdk.org/jmc/pull/663#discussion_r2195034466 PR Review Comment: https://git.openjdk.org/jmc/pull/663#discussion_r2195024121 From vpurnam at openjdk.org Fri Jul 18 12:58:09 2025 From: vpurnam at openjdk.org (Virag Purnam) Date: Fri, 18 Jul 2025 12:58:09 GMT Subject: RFR: 8416: Better Eclipse classpath entry defaults In-Reply-To: <_84pkBLLi2d3IOiXlpJBFC35TIwzTQOWeMTn0wEShBU=.b5d49c9c-f95f-4530-b0f6-7220a31d533d@github.com> References: <_84pkBLLi2d3IOiXlpJBFC35TIwzTQOWeMTn0wEShBU=.b5d49c9c-f95f-4530-b0f6-7220a31d533d@github.com> Message-ID: On Wed, 9 Jul 2025 11:48:30 GMT, Marcus Hirt wrote: > Should be pom derived. Commit message should be 8416 instead of 8614. (For auto closer of JBS ticket) ------------- PR Review: https://git.openjdk.org/jmc/pull/663#pullrequestreview-3031921995 From hirt at openjdk.org Fri Jul 18 12:58:10 2025 From: hirt at openjdk.org (Marcus Hirt) Date: Fri, 18 Jul 2025 12:58:10 GMT Subject: RFR: 8416: Better Eclipse classpath entry defaults In-Reply-To: References: <_84pkBLLi2d3IOiXlpJBFC35TIwzTQOWeMTn0wEShBU=.b5d49c9c-f95f-4530-b0f6-7220a31d533d@github.com> Message-ID: On Wed, 9 Jul 2025 13:26:34 GMT, Suchita Chaturvedi wrote: >> Should be pom derived. > > application/tests/org.openjdk.jmc.flightrecorder.controlpanel.ui.test/.classpath line 3: > >> 1: >> 2: >> 3: > > Any specific reason why are we hard coding 21 here? Nope. Good catch! I'll take another pass and ensure that this is properly done for all classpath files. > application/tests/org.openjdk.jmc.rjmx.services.jfr.test/.classpath line 3: > >> 1: >> 2: >> 3: > > Any specific reason why are we hard coding 21 here? Nope, good catch! ------------- PR Review Comment: https://git.openjdk.org/jmc/pull/663#discussion_r2208748789 PR Review Comment: https://git.openjdk.org/jmc/pull/663#discussion_r2208749023 From hirt at openjdk.org Fri Jul 18 13:09:42 2025 From: hirt at openjdk.org (Marcus Hirt) Date: Fri, 18 Jul 2025 13:09:42 GMT Subject: RFR: 8416: Better Eclipse classpath entry defaults [v2] In-Reply-To: <_84pkBLLi2d3IOiXlpJBFC35TIwzTQOWeMTn0wEShBU=.b5d49c9c-f95f-4530-b0f6-7220a31d533d@github.com> References: <_84pkBLLi2d3IOiXlpJBFC35TIwzTQOWeMTn0wEShBU=.b5d49c9c-f95f-4530-b0f6-7220a31d533d@github.com> Message-ID: <09g_mIpeLi9opw1TEAQZgeLWfYR6RE88bF6U26LJ3GE=.143fa9eb-cc2c-40ce-9fb8-fc86757f1c14@github.com> > Should be pom derived. Marcus Hirt has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains two new commits since the last revision: - Removing explicit runtime versions - 8416: Better classpath defaults ------------- Changes: - all: https://git.openjdk.org/jmc/pull/663/files - new: https://git.openjdk.org/jmc/pull/663/files/9f94fc4a..154d4bed Webrevs: - full: https://webrevs.openjdk.org/?repo=jmc&pr=663&range=01 - incr: https://webrevs.openjdk.org/?repo=jmc&pr=663&range=00-01 Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jmc/pull/663.diff Fetch: git fetch https://git.openjdk.org/jmc.git pull/663/head:pull/663 PR: https://git.openjdk.org/jmc/pull/663 From vpurnam at openjdk.org Fri Jul 18 13:09:43 2025 From: vpurnam at openjdk.org (Virag Purnam) Date: Fri, 18 Jul 2025 13:09:43 GMT Subject: RFR: 8416: Better Eclipse classpath entry defaults [v2] In-Reply-To: <09g_mIpeLi9opw1TEAQZgeLWfYR6RE88bF6U26LJ3GE=.143fa9eb-cc2c-40ce-9fb8-fc86757f1c14@github.com> References: <_84pkBLLi2d3IOiXlpJBFC35TIwzTQOWeMTn0wEShBU=.b5d49c9c-f95f-4530-b0f6-7220a31d533d@github.com> <09g_mIpeLi9opw1TEAQZgeLWfYR6RE88bF6U26LJ3GE=.143fa9eb-cc2c-40ce-9fb8-fc86757f1c14@github.com> Message-ID: On Fri, 18 Jul 2025 13:06:25 GMT, Marcus Hirt wrote: >> Should be pom derived. > > Marcus Hirt has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains two new commits since the last revision: > > - Removing explicit runtime versions > - 8416: Better classpath defaults Looks good to me. ------------- Marked as reviewed by vpurnam (Reviewer). PR Review: https://git.openjdk.org/jmc/pull/663#pullrequestreview-3033487676 From hirt at openjdk.org Fri Jul 18 13:27:55 2025 From: hirt at openjdk.org (Marcus Hirt) Date: Fri, 18 Jul 2025 13:27:55 GMT Subject: Integrated: 8416: Better Eclipse classpath entry defaults In-Reply-To: <_84pkBLLi2d3IOiXlpJBFC35TIwzTQOWeMTn0wEShBU=.b5d49c9c-f95f-4530-b0f6-7220a31d533d@github.com> References: <_84pkBLLi2d3IOiXlpJBFC35TIwzTQOWeMTn0wEShBU=.b5d49c9c-f95f-4530-b0f6-7220a31d533d@github.com> Message-ID: On Wed, 9 Jul 2025 11:48:30 GMT, Marcus Hirt wrote: > Should be pom derived. This pull request has now been integrated. Changeset: c8e8a136 Author: Marcus Hirt URL: https://git.openjdk.org/jmc/commit/c8e8a136cf396a26fa69e34c7816689ad4b1e1e0 Stats: 1896 lines in 130 files changed: 1605 ins; 1 del; 290 mod 8416: Better Eclipse classpath entry defaults Reviewed-by: vpurnam ------------- PR: https://git.openjdk.org/jmc/pull/663 From duke at openjdk.org Fri Jul 18 17:22:37 2025 From: duke at openjdk.org (Martin Skarsaune) Date: Fri, 18 Jul 2025 17:22:37 GMT Subject: RFR: 8237: Add support for Jolokia over Kubernetes proxy [v4] In-Reply-To: References: Message-ID: > JMC-8273 : Use the jolokia protocol over a kubernetes http proxy. > > Testing connectivity: > - [x] Docker desktop kubernetes > - [x] Azure AKS > - [x] Amazon EKS > - [x] Google GKE > > Other things observed: > > - [x] * Option to install agent should be disabled (debug difference with jolokia) - ***see below**** > - [x] * Warning: NLS missing message: JmcKubernetesPreferenceForm_LogErrorsTooltip in: org.openjdk.jmc.kubernetes.preferences.messages > - [x] * SLF4J(W): No SLF4J providers were found. ***OK for now, can investigate more later*** > SLF4J(W): Defaulting to no-operation (NOP) logger implementation > SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details. > - [x] Unlocking secrets now appear on startup. Should not be needed unless there are credentials used. (fixed) Martin Skarsaune has updated the pull request incrementally with one additional commit since the last revision: JMC-8237: Upgrade jolokia 2.2.2 -> 2.2.9 ------------- Changes: - all: https://git.openjdk.org/jmc/pull/576/files - new: https://git.openjdk.org/jmc/pull/576/files/690bbbb7..e90f6156 Webrevs: - full: https://webrevs.openjdk.org/?repo=jmc&pr=576&range=03 - incr: https://webrevs.openjdk.org/?repo=jmc&pr=576&range=02-03 Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod Patch: https://git.openjdk.org/jmc/pull/576.diff Fetch: git fetch https://git.openjdk.org/jmc.git pull/576/head:pull/576 PR: https://git.openjdk.org/jmc/pull/576 From schaturvedi at openjdk.org Fri Jul 18 18:13:26 2025 From: schaturvedi at openjdk.org (Suchita Chaturvedi) Date: Fri, 18 Jul 2025 18:13:26 GMT Subject: RFR: 6203: Add ZGC allocation stall rule [v2] In-Reply-To: References: Message-ID: <_uEgMMsrbFtEKE3HMVprd-i8AnEOlOayDjAkheSRj20=.d37866c0-7cb2-4250-ad4a-fc91edabd1f7@github.com> > This enhancement is to add new rule for ZGC Allocation Stall events. > > The default configuration: > > image > > Here are few screenshots for reference: > > image > > image > > image > > image > > image > > Ignored > > image > > If we change default configuration as below: > > image > > image > > image > > image Suchita Chaturvedi has updated the pull request incrementally with one additional commit since the last revision: Updated the rule as per new metric allocation stall rate ------------- Changes: - all: https://git.openjdk.org/jmc/pull/664/files - new: https://git.openjdk.org/jmc/pull/664/files/2d959553..e6c3ab81 Webrevs: - full: https://webrevs.openjdk.org/?repo=jmc&pr=664&range=01 - incr: https://webrevs.openjdk.org/?repo=jmc&pr=664&range=00-01 Stats: 32 lines in 3 files changed: 19 ins; 0 del; 13 mod Patch: https://git.openjdk.org/jmc/pull/664.diff Fetch: git fetch https://git.openjdk.org/jmc.git pull/664/head:pull/664 PR: https://git.openjdk.org/jmc/pull/664 From schaturvedi at openjdk.org Fri Jul 18 18:16:49 2025 From: schaturvedi at openjdk.org (Suchita Chaturvedi) Date: Fri, 18 Jul 2025 18:16:49 GMT Subject: RFR: 6203: Add ZGC allocation stall rule [v2] In-Reply-To: <_uEgMMsrbFtEKE3HMVprd-i8AnEOlOayDjAkheSRj20=.d37866c0-7cb2-4250-ad4a-fc91edabd1f7@github.com> References: <_uEgMMsrbFtEKE3HMVprd-i8AnEOlOayDjAkheSRj20=.d37866c0-7cb2-4250-ad4a-fc91edabd1f7@github.com> Message-ID: On Fri, 18 Jul 2025 18:13:26 GMT, Suchita Chaturvedi wrote: >> This enhancement is to add new rule for ZGC Allocation Stall events. >> >> The default configuration: >> >> image >> >> Here are few screenshots for reference: >> >> image >> >> image >> >> image >> >> image >> >> image >> >> Ignored >> >> image >> >> If we change default configuration as below: >> >> image >> >> image >> >> image >> >> image > > Suchita Chaturvedi has updated the pull request incrementally with one additional commit since the last revision: > > Updated the rule as per new metric allocation stall rate The new commit has the text update suggested by @jpbempel and the metric to calculate score is changed from allocation stall events count to stall rate. Also, I have added stall rate as part of rule result along with allocation stall count, total stall duration and maximum stall duration. Here are the fresh screenshots: image image image image image image I will create a follow up enhancement to create a new rule for maximum stall duration metric. ------------- PR Comment: https://git.openjdk.org/jmc/pull/664#issuecomment-3090281834 From schaturvedi at openjdk.org Sat Jul 19 08:12:25 2025 From: schaturvedi at openjdk.org (Suchita Chaturvedi) Date: Sat, 19 Jul 2025 08:12:25 GMT Subject: RFR: 6203: Add ZGC allocation stall rule [v3] In-Reply-To: References: Message-ID: > This enhancement is to add new rule for ZGC Allocation Stall events. > > The default configuration: > > image > > Here are few screenshots for reference: > > image > > image > > image > > image > > image > > Ignored > > image > > If we change default configuration as below: > > image > > image > > image > > image Suchita Chaturvedi has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits: - Resolving merge conflict - Updated the rule as per new metric allocation stall rate - 6203: Add ZGC allocation stall rule ------------- Changes: https://git.openjdk.org/jmc/pull/664/files Webrev: https://webrevs.openjdk.org/?repo=jmc&pr=664&range=02 Stats: 326 lines in 11 files changed: 322 ins; 0 del; 4 mod Patch: https://git.openjdk.org/jmc/pull/664.diff Fetch: git fetch https://git.openjdk.org/jmc.git pull/664/head:pull/664 PR: https://git.openjdk.org/jmc/pull/664 From schaturvedi at openjdk.org Sat Jul 19 15:36:44 2025 From: schaturvedi at openjdk.org (Suchita Chaturvedi) Date: Sat, 19 Jul 2025 15:36:44 GMT Subject: RFR: 8421: Missing Eclipse classpath entry defaults Message-ID: <0RDveYymMsRyxZkuuUs6s8BZpyg8xzBeHoQDlXTGEjs=.789c5eb6-429e-4e5f-a9b9-8dcbd400e36b@github.com> Updating few missed classpath files as part of this PR. ------------- Commit messages: - 8421: Missing Eclipse classpath entry defaults Changes: https://git.openjdk.org/jmc/pull/667/files Webrev: https://webrevs.openjdk.org/?repo=jmc&pr=667&range=00 Issue: https://bugs.openjdk.org/browse/JMC-8421 Stats: 55 lines in 6 files changed: 42 ins; 3 del; 10 mod Patch: https://git.openjdk.org/jmc/pull/667.diff Fetch: git fetch https://git.openjdk.org/jmc.git pull/667/head:pull/667 PR: https://git.openjdk.org/jmc/pull/667 From vpurnam at openjdk.org Mon Jul 21 05:59:46 2025 From: vpurnam at openjdk.org (Virag Purnam) Date: Mon, 21 Jul 2025 05:59:46 GMT Subject: RFR: 8421: Missing Eclipse classpath entry defaults In-Reply-To: <0RDveYymMsRyxZkuuUs6s8BZpyg8xzBeHoQDlXTGEjs=.789c5eb6-429e-4e5f-a9b9-8dcbd400e36b@github.com> References: <0RDveYymMsRyxZkuuUs6s8BZpyg8xzBeHoQDlXTGEjs=.789c5eb6-429e-4e5f-a9b9-8dcbd400e36b@github.com> Message-ID: On Sat, 19 Jul 2025 15:31:35 GMT, Suchita Chaturvedi wrote: > Updating few missed classpath files as part of this PR. LGTM ------------- Marked as reviewed by vpurnam (Reviewer). PR Review: https://git.openjdk.org/jmc/pull/667#pullrequestreview-3036637186 From schaturvedi at openjdk.org Mon Jul 21 05:59:46 2025 From: schaturvedi at openjdk.org (Suchita Chaturvedi) Date: Mon, 21 Jul 2025 05:59:46 GMT Subject: Integrated: 8421: Missing Eclipse classpath entry defaults In-Reply-To: <0RDveYymMsRyxZkuuUs6s8BZpyg8xzBeHoQDlXTGEjs=.789c5eb6-429e-4e5f-a9b9-8dcbd400e36b@github.com> References: <0RDveYymMsRyxZkuuUs6s8BZpyg8xzBeHoQDlXTGEjs=.789c5eb6-429e-4e5f-a9b9-8dcbd400e36b@github.com> Message-ID: On Sat, 19 Jul 2025 15:31:35 GMT, Suchita Chaturvedi wrote: > Updating few missed classpath files as part of this PR. This pull request has now been integrated. Changeset: 06297dcc Author: Suchita Chaturvedi URL: https://git.openjdk.org/jmc/commit/06297dcc338985c0aefd360e49cddf536efd7635 Stats: 55 lines in 6 files changed: 42 ins; 3 del; 10 mod 8421: Missing Eclipse classpath entry defaults Reviewed-by: vpurnam ------------- PR: https://git.openjdk.org/jmc/pull/667 From aptmac at openjdk.org Mon Jul 21 14:38:51 2025 From: aptmac at openjdk.org (Alex Macdonald) Date: Mon, 21 Jul 2025 14:38:51 GMT Subject: RFR: 8400: Add more show options for JMX Console graphs [v4] In-Reply-To: References: Message-ID: On Thu, 17 Jul 2025 21:24:07 GMT, Marcus Hirt wrote: >> Also cleaning up a little bit. There were some assumptions around the default XY chart that should be put in code etc. > > Marcus Hirt has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains four commits: > > - More space for Linux, resizable and grabbing existing space > - Spotless > - Cleanup. Ensuring that the axis is responsible for bounds. > - 8400: Add more show options for JMX Console graphs Marked as reviewed by aptmac (Reviewer). ------------- PR Review: https://git.openjdk.org/jmc/pull/652#pullrequestreview-3038434711 From hirt at openjdk.org Mon Jul 21 14:47:49 2025 From: hirt at openjdk.org (Marcus Hirt) Date: Mon, 21 Jul 2025 14:47:49 GMT Subject: Integrated: 8400: Add more show options for JMX Console graphs In-Reply-To: References: Message-ID: On Sat, 31 May 2025 22:27:45 GMT, Marcus Hirt wrote: > Also cleaning up a little bit. There were some assumptions around the default XY chart that should be put in code etc. This pull request has now been integrated. Changeset: 22e4459c Author: Marcus Hirt URL: https://git.openjdk.org/jmc/commit/22e4459c4e1e6410efcfa10061ffd3e14fdd3307 Stats: 881 lines in 15 files changed: 699 ins; 55 del; 127 mod 8400: Add more show options for JMX Console graphs Reviewed-by: aptmac ------------- PR: https://git.openjdk.org/jmc/pull/652 From marcus at hirt.se Mon Jul 21 21:02:54 2025 From: marcus at hirt.se (Marcus Hirt) Date: Mon, 21 Jul 2025 23:02:54 +0200 Subject: Requesting a Slack Channel Invite! In-Reply-To: References: Message-ID: <046401dbfa82$d3c9c5b0$7b5d5110$@hirt.se> Hi Joe, Sorry for the late response. Your message got stuck in bounce processing. Invite to the slack sent! :) Kind regards, Marcus From: jmc-dev On Behalf Of Joe Lane Sent: Saturday, 31 May 2025 19:27 To: jmc-dev at openjdk.java.net Subject: Requesting a Slack Channel Invite! Hello there! I'm interested in learning more about JMC, JFRs, and possibly contributing. I'm using these tools on a daily basis and as a user (and possible contributor) I'm interested in enhancing the ecosystem. Thanks, Joe Lane -------------- next part -------------- An HTML attachment was scrubbed... URL: From duke at openjdk.org Sun Jul 27 18:39:35 2025 From: duke at openjdk.org (Martin Skarsaune) Date: Sun, 27 Jul 2025 18:39:35 GMT Subject: RFR: 8425: Problem importing in Eclipse due to missing awatility 3rd party artefact Message-ID: The Jolokia test plugin requires awaitility ------------- Commit messages: - JMC-8425: Ensure awaitlity is available as a 3rd party plugin Changes: https://git.openjdk.org/jmc/pull/668/files Webrev: https://webrevs.openjdk.org/?repo=jmc&pr=668&range=00 Issue: https://bugs.openjdk.org/browse/JMC-8425 Stats: 3 lines in 1 file changed: 3 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jmc/pull/668.diff Fetch: git fetch https://git.openjdk.org/jmc.git pull/668/head:pull/668 PR: https://git.openjdk.org/jmc/pull/668 From duke at openjdk.org Tue Jul 29 10:57:16 2025 From: duke at openjdk.org (Martin Skarsaune) Date: Tue, 29 Jul 2025 10:57:16 GMT Subject: RFR: 8365: Jolokia - Additional support for security mechanisms related to SSL / authentication, discovery restrictions Message-ID: Note: The majority of the work in this PR is to make it work well with RMI connections. For Jolokia however, it should work out of the box as setting the env var will force https. ------------- Commit messages: - JMC-8365: Make secure button updating null safe - JMC-8365: Actually reflect require secure connection back in wizard - JMC-8369: revert JmcJolokiaPlugin.java - JMC-8365: Remove premature change - JMC-8365: Fixed spots - JMC-8365: Add option to require secure connection and give hint in error connection if it fails Changes: https://git.openjdk.org/jmc/pull/665/files Webrev: https://webrevs.openjdk.org/?repo=jmc&pr=665&range=00 Issue: https://bugs.openjdk.org/browse/JMC-8365 Stats: 67 lines in 12 files changed: 56 ins; 1 del; 10 mod Patch: https://git.openjdk.org/jmc/pull/665.diff Fetch: git fetch https://git.openjdk.org/jmc.git pull/665/head:pull/665 PR: https://git.openjdk.org/jmc/pull/665 From duke at openjdk.org Tue Jul 29 10:57:17 2025 From: duke at openjdk.org (Martin Skarsaune) Date: Tue, 29 Jul 2025 10:57:17 GMT Subject: RFR: 8365: Jolokia - Additional support for security mechanisms related to SSL / authentication, discovery restrictions In-Reply-To: References: Message-ID: On Sat, 12 Jul 2025 14:59:27 GMT, Martin Skarsaune wrote: > Note: The majority of the work in this PR is to make it work well with RMI connections. For Jolokia however, it should work out of the box as setting the env var will force https. application/org.openjdk.jmc.browser/src/main/java/org/openjdk/jmc/browser/wizards/ConnectionWizardPage.java line 420: > 418: > 419: fieldStack = new Composite(inner, SWT.NONE); > 420: fieldStack.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false, 2, 1)); Appearance: image application/org.openjdk.jmc.console.ui/src/main/java/org/openjdk/jmc/console/ui/editor/internal/ConsoleEditor.java line 126: > 124: // FIXME: Show stacktrace? (Need to show our own ExceptionDialog in that case, or maybe create our own DetailsAreaProvider, see WorkbenchStatusDialogManager.setDetailsAreaProvider) > 125: return new Status(IStatus.ERROR, ConsolePlugin.PLUGIN_ID, IStatus.ERROR, > 126: NLS.bind(e.getLocalizedMessage(), getEditorInput().getName(), e.getMessage()), Apparently all the more detailed error message is in this method on the exception class application/org.openjdk.jmc.jolokia/src/main/java/org/openjdk/jmc/jolokia/JmcJolokiaPlugin.java line 78: > 76: JolokiaServiceManager serviceManager = JolokiaServiceManagerFactory.createJolokiaServiceManager(configuration, > 77: new JulLogHandler(PLUGIN_ID), new AllowAllRestrictor(), > 78: logHandler -> new TreeSet(Arrays.asList(ServerDetector.FALLBACK))); Unrelated compiltion erro ------------- PR Review Comment: https://git.openjdk.org/jmc/pull/665#discussion_r2202733282 PR Review Comment: https://git.openjdk.org/jmc/pull/665#discussion_r2202735387 PR Review Comment: https://git.openjdk.org/jmc/pull/665#discussion_r2202736056 From duke at openjdk.org Tue Jul 29 10:57:17 2025 From: duke at openjdk.org (Martin Skarsaune) Date: Tue, 29 Jul 2025 10:57:17 GMT Subject: RFR: 8365: Jolokia - Additional support for security mechanisms related to SSL / authentication, discovery restrictions In-Reply-To: References: Message-ID: On Sat, 12 Jul 2025 15:01:40 GMT, Martin Skarsaune wrote: >> Note: The majority of the work in this PR is to make it work well with RMI connections. For Jolokia however, it should work out of the box as setting the env var will force https. > > application/org.openjdk.jmc.jolokia/src/main/java/org/openjdk/jmc/jolokia/JmcJolokiaPlugin.java line 78: > >> 76: JolokiaServiceManager serviceManager = JolokiaServiceManagerFactory.createJolokiaServiceManager(configuration, >> 77: new JulLogHandler(PLUGIN_ID), new AllowAllRestrictor(), >> 78: logHandler -> new TreeSet(Arrays.asList(ServerDetector.FALLBACK))); > > Unrelated compiltion erro Reverted this to separate concerns ------------- PR Review Comment: https://git.openjdk.org/jmc/pull/665#discussion_r2210860544 From duke at openjdk.org Tue Jul 29 11:06:20 2025 From: duke at openjdk.org (Martin Skarsaune) Date: Tue, 29 Jul 2025 11:06:20 GMT Subject: RFR: 8365: Jolokia - Additional support for security mechanisms related to SSL / authentication, discovery restrictions [v2] In-Reply-To: References: Message-ID: > Note: The majority of the work in this PR is to make it work well with RMI connections. For Jolokia however, it should work out of the box as setting the env var will force https. Martin Skarsaune has updated the pull request incrementally with one additional commit since the last revision: JMC-8365: Fix spots ------------- Changes: - all: https://git.openjdk.org/jmc/pull/665/files - new: https://git.openjdk.org/jmc/pull/665/files/59d62080..3e59aae4 Webrevs: - full: https://webrevs.openjdk.org/?repo=jmc&pr=665&range=01 - incr: https://webrevs.openjdk.org/?repo=jmc&pr=665&range=00-01 Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jmc/pull/665.diff Fetch: git fetch https://git.openjdk.org/jmc.git pull/665/head:pull/665 PR: https://git.openjdk.org/jmc/pull/665 From duke at openjdk.org Tue Jul 29 11:21:02 2025 From: duke at openjdk.org (Martin Skarsaune) Date: Tue, 29 Jul 2025 11:21:02 GMT Subject: RFR: 8365: Jolokia - Additional support for security mechanisms related to SSL / authentication, discovery restrictions [v3] In-Reply-To: References: Message-ID: > Note: The majority of the work in this PR is to make it work well with RMI connections. For Jolokia however, it should work out of the box as setting the env var will force https. Martin Skarsaune has updated the pull request incrementally with one additional commit since the last revision: JMC-8365: Make secure button updating null safe ------------- Changes: - all: https://git.openjdk.org/jmc/pull/665/files - new: https://git.openjdk.org/jmc/pull/665/files/3e59aae4..161f0d33 Webrevs: - full: https://webrevs.openjdk.org/?repo=jmc&pr=665&range=02 - incr: https://webrevs.openjdk.org/?repo=jmc&pr=665&range=01-02 Stats: 7 lines in 1 file changed: 3 ins; 4 del; 0 mod Patch: https://git.openjdk.org/jmc/pull/665.diff Fetch: git fetch https://git.openjdk.org/jmc.git pull/665/head:pull/665 PR: https://git.openjdk.org/jmc/pull/665 From vpurnam at openjdk.org Tue Jul 29 15:38:03 2025 From: vpurnam at openjdk.org (Virag Purnam) Date: Tue, 29 Jul 2025 15:38:03 GMT Subject: RFR: 8425: Problem importing in Eclipse due to missing awatility 3rd party artefact In-Reply-To: References: Message-ID: On Sun, 27 Jul 2025 17:44:53 GMT, Martin Skarsaune wrote: > The Jolokia test plugin requires awaitility Hi @skarsaune, this plugin needs to be added to all target platforms as well under local p2 repository. ------------- PR Review: https://git.openjdk.org/jmc/pull/668#pullrequestreview-3068126023