RFR: 8289071: Compute allocation sizes of stubs and nmethods outside of lock protection [v2]

Tobias Hartmann thartmann at openjdk.org
Tue Jun 28 06:57:43 UTC 2022


On Fri, 24 Jun 2022 17:16:37 GMT, Yi-Fan Tsai <duke at openjdk.org> wrote:

>> The pattern of computing the allocation size is inconsistent among the derived classes of CodeBlob. These sizes are not based on the shared resources but computed inside lock-protected regions in several classes. This change moves these cases outside the protected region.
>
> Yi-Fan Tsai has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
> 
>  - Merge branch 'master' of https://urldefense.com/v3/__https://github.com/yftsai/jdk__;!!ACWV5N9M2RV99hQ!LlZECJx9UoTKI58AOfsPCsyJ95bxxAoaBCy8yGJ56b6wlmdwO_KZZ1NBxIU4jmTDNgOtQtsOtL8qVGo8sVkoTwOZN1sWQ6lIpg$  into JDK-8289071
>  - 8289071: Compute stub sizes outside of locks

Looks good to me.

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

Marked as reviewed by thartmann (Reviewer).

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


More information about the hotspot-compiler-dev mailing list