JDK-8287647 : VM debug support: find node by pattern in name or dump
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 19
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-06-01
  • Updated: 2023-07-24
  • Resolved: 2022-06-15
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 b03Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
I often wonder how many loop nodes there are, or I'd like to find all uncommon traps or CastII nodes for rangechecks.

Idea: refactor find_node to be a visitor pattern, then we can find by node idx, node name, substring/regex in node dump.
Comments
Changeset: 2471f8f7 Author: Emanuel Peter <epeter@openjdk.org> Date: 2022-06-15 08:06:47 +0000 URL: https://git.openjdk.org/jdk/commit/2471f8f7c56dfc1b8de287cb990121d30976ba36
15-06-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/8988 Date: 2022-06-02 09:16:28 +0000
08-06-2022