RFR: 8290075: [JVMCI] only blessed methods can link against EventWriterFactory.getEventWriter [v2]

Erik Gahlin egahlin at openjdk.org
Sat Jul 23 08:01:58 UTC 2022


On Mon, 11 Jul 2022 13:26:34 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

>> [JDK-8282420](https://bugs.openjdk.org/browse/JDK-8282420) introduced the notion of "blessed methods" which are those that can link against `jdk.jfr.internal.event.EventWriterFactory.getEventWriter(long)`.
>> This PR enhances the JVMCI ConstantPool API so that it can take a caller context when resolving a method to enforce this constraint properly.
>
> Doug Simon has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
> 
>   support special linkage rules for jdk.jfr.internal.event.EventWriterFactory.getEventWriter(long) in JVMCI

This is probably best reviewed by Markus as he did the implementation for C1/C2. He is on vacation, but will be back sometime in august.

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

PR: https://git.openjdk.org/jdk/pull/9449


More information about the hotspot-dev mailing list