[jdk17u-dev] RFR: 8315362: NMT: summary diff reports threads count incorrectly

Evgeny Ignatenko duke at openjdk.org
Tue May 28 11:41:10 UTC 2024


On Wed, 27 Dec 2023 07:31:16 GMT, Evgeny Ignatenko <duke at openjdk.org> wrote:

> 8315362: NMT: summary diff reports threads count incorrectly

> This PR shouldn't differ from the 21u version: [openjdk/jdk21u at 31c759d](https://github.com/openjdk/jdk21u/commit/31c759dd7ef69449e225c3e656d8f522e1124852) I currently see the following diffs:
> 
> ```diff
> < +  _thread_count ++;
> ---
> > +  _thread_count++;
> ```
> 
> ```diff
> < +        output.shouldContain("Baseline succeeded");
> ---
> > +        output.shouldContain("Baseline taken");
> ```

For _thread_count is a good catch, but we need to modify the test like this because JDK-8289182 was not backported to the JDK 17 and `jcmd VM.native_memory baseline` outputs `Baseline succeeded` not `Baseline taken`

-------------

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/2084#issuecomment-2135003335


More information about the jdk-updates-dev mailing list