RFR: 8317422: [JVMCI] concurrency issue in MethodData creation [v2]

Doug Simon dnsimon at openjdk.org
Wed Oct 4 20:57:17 UTC 2023


> `Method::build_profiling_method_data` is the safe way to create `MethodData` for a `Method` - it uses an atomic to do the write.
> This PR updates `c2v_getFailedSpeculationAddress` and `c2v_reprofile` to use `Method::build_profiling_method_data`.

Doug Simon has updated the pull request incrementally with one additional commit since the last revision:

  made clear_method_data private and moved its definition inline

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16026/files
  - new: https://git.openjdk.org/jdk/pull/16026/files/fda052d4..618ed186

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

  Stats: 10 lines in 2 files changed: 4 ins; 6 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/16026.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16026/head:pull/16026

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


More information about the hotspot-compiler-dev mailing list