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

Doug Simon dnsimon at openjdk.org
Mon Aug 22 18:15:49 UTC 2022


> [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 updated the pull request incrementally with one additional commit since the last revision:

  fix JVMCI specific test failure in TestGetEventWriter

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9449/files
  - new: https://git.openjdk.org/jdk/pull/9449/files/88f1288e..efa9e0eb

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9449&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9449&range=02-03

  Stats: 14 lines in 1 file changed: 0 ins; 0 del; 14 mod
  Patch: https://git.openjdk.org/jdk/pull/9449.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9449/head:pull/9449

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


More information about the hotspot-dev mailing list