RFR: 8193513: add support for printing a stack trace on class loading [v2]
Doug Simon
dnsimon at openjdk.org
Wed Jun 21 06:41:04 UTC 2023
On Wed, 21 Jun 2023 05:57:58 GMT, David Holmes <dholmes at openjdk.org> wrote:
> Not sure if "contains" is the right way to match here ??
What else would you suggest? In my experience, I'm typically interested in a specific class or package so substring matching has been sufficient. I don't think this feature warrants the complexity of regular expression matching.
> Also I don't see how this matches the example you gave for Thread because it only produced a few stacks. ??
Are you commenting on the fact that the first few classes in my example have no stacks? That's because that loading happens in the VM before any Java code is running. Also note that my example does not contain the complete execution trace (as indicated by the `...` at the end).
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14553#discussion_r1236449604
More information about the hotspot-dev
mailing list