RFR: 8254965: Remove unused Matcher::_ruleName and make ruleName non-product

Vladimir Kozlov kvn at openjdk.java.net
Mon Oct 19 17:10:12 UTC 2020


On Mon, 19 Oct 2020 09:29:36 GMT, Claes Redestad <redestad at openjdk.org> wrote:

> Does that print really need to print the name of the rule - or would just printing `mach->rule()` suffice? For
> sustainability purposes I suppose having the name spelled out is a nice to have rather than a strict necessity.

mach->rule() value is only available in files generated from .ad file during build. If you don't have those files
available it will be hard to map the value to mach instruction. You have to rebuild VM again and for that you need to
have exact sources as one failed. It is doable but hassle.

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

PR: https://git.openjdk.java.net/jdk/pull/722


More information about the hotspot-compiler-dev mailing list