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

Doug Simon dnsimon at openjdk.org
Mon Jul 11 13:26:34 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 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9449/files
  - new: https://git.openjdk.org/jdk/pull/9449/files/a294aac0..589f205f

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

  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 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