RFR: 8200559: Java agents doing instrumentation need a means to define auxiliary classes [v2]
Rafael Winterhalter
winterhalter at openjdk.org
Sun Jan 28 22:31:49 UTC 2024
On Fri, 16 Apr 2021 20:30:15 GMT, Rafael Winterhalter <winterhalter at openjdk.org> wrote:
>> To allow agents the definition of auxiliary classes, an API is needed to allow this. Currently, this is often achieved by using `sun.misc.Unsafe` or `jdk.internal.misc.Unsafe` ever since the `defineClass` method was removed from `sun.misc.Unsafe`.
>
> Rafael Winterhalter has refreshed the contents of this pull request, and previous commits have been removed. Incremental views are not available. The pull request now contains one commit:
>
> 8200559: Java agents doing instrumentation need a means to define auxiliary classes
I tried to give the discussion a fresh start but moved it to the mailing list: https://mail.openjdk.org/pipermail/core-libs-dev/2024-January/118622.html
I have given this some thought the recent years, so I hope that there is a solution in reach that satisfies everybody's concerns and needs.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/3546#issuecomment-1913742617
More information about the core-libs-dev
mailing list