RFR: 8317422: [JVMCI] concurrency issue in MethodData creation
Tom Rodriguez
never at openjdk.org
Wed Oct 4 18:03:11 UTC 2023
On Tue, 3 Oct 2023 10:28:10 GMT, Doug Simon <dnsimon at openjdk.org> wrote:
> `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`.
Marked as reviewed by never (Reviewer).
src/hotspot/share/oops/method.hpp line 311:
> 309: }
> 310:
> 311: void clear_method_data();
This should be private now I think.
-------------
PR Review: https://git.openjdk.org/jdk/pull/16026#pullrequestreview-1658203552
PR Review Comment: https://git.openjdk.org/jdk/pull/16026#discussion_r1346264946
More information about the hotspot-compiler-dev
mailing list