RFR: 8329862: GetApplicationHome and GetApplicationHomeFromDll enhance jli tracing
Matthias Baesken
mbaesken at openjdk.org
Tue Apr 16 14:39:00 UTC 2024
On Tue, 16 Apr 2024 10:20:23 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> I think this is way too ad hoc and looks like lefts over from a debugging session. So I don't think it should be integrated without stepping back and thinking more about what this tracing option is intended for.
Currently there seem to be two (with the unused registry stuff 3, if it is still valid ?) approaches to find the 'JRE' location (should this better be named image location?) - using the launcher exe location and using the location of the libjli shared lib.
Unfortunately those approaches are not well supported by JLI-traces , this is what the change is about.
We could probably adjust/reduce the added tracing code but I would like to know a bit more about the concerns raised.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18699#issuecomment-2059252352
More information about the core-libs-dev
mailing list