RFR: JDK-8232773: ClassLoading Debug Output for Specific Classes
David Holmes
david.holmes at oracle.com
Tue Oct 22 13:12:55 UTC 2019
Hi Adam,
Did you look at the logging available from the VM: -Xlog:class+load?
BTW I moved the bug you filed to the correct component.
Cheers,
David
On 22/10/2019 8:40 pm, Adam Farley8 wrote:
> Hey All,
>
> This one goes out to anyone who's struggled to figure out
> why OpenJDK isn't loading their class.
>
> The requirement is for OpenJDK to give more detailed
> information while loading user-specified classes (e.g. the
> one OpenJDK is failing to load). Some debug information is
> available while the loading is in-progress, and more is
> available after the fact, but it seems there is not a way
> to monitor what the ClassLoaders are actually doing without
> the use of debugging tools.
>
> For your approval: a formal write-up of the problem (as
> I understand it), and a draft webrev containing the
> proposed solution.
>
> Tests will be developed and added if/when the issue is
> accepted as a problem, and a solution has been selected.
>
> Please review and opine.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8232773
>
> Webrev: http://cr.openjdk.java.net/~afarley/8232773/webrev/
>
> Thanks for your time. :)
>
> Best Regards
>
> Adam Farley
> IBM Runtimes
>
>
> Unless stated otherwise above:
> IBM United Kingdom Limited - Registered in England and Wales with number
> 741598.
> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
>
More information about the core-libs-dev
mailing list