JDK-8296931 : NMT tests slowed down considerably by JDK-8242181
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-11-14
  • Updated: 2024-06-14
  • Resolved: 2022-11-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 20
20 b24Fixed
Related Reports
Relates :  
Relates :  
Description
We noticed that NMT tests on our slower PPC machines started failing.

The reason is that NMT detail reports have become 2-5x slower. This is caused by us now parsing the dwarf debug information to extract source information for each PC in each call stack. That is nice but costly.

The slowdown is not limited to PPC, it affects all Elf platforms. On my Linux x64 box, runtime/NMT/VirtualAllocCommitMerge.java increased from 20 to 90 seconds.

Comments
Changeset: 5e08b3f4 Author: Thomas Stuefe <stuefe@openjdk.org> Date: 2022-11-16 08:51:47 +0000 URL: https://git.openjdk.org/jdk/commit/5e08b3f40e04254276fc2d37c523cb06b121861a
16-11-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/11135 Date: 2022-11-14 12:43:41 +0000
14-11-2022