RFR: 8306767: Concurrent repacking of extra data in MethodData is potentially unsafe [v4]

Tom Rodriguez never at openjdk.org
Fri Dec 1 08:49:10 UTC 2023


On Thu, 30 Nov 2023 16:16:54 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> I'm making sure that `allocate_bci_to_data` is only called when holding the `extra_data_lock`, so that no concurrent calls of it can ever occur.
>> 
>> Testing: tier1-3 and stress.
>
> Emanuel Peter has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains five commits:
> 
>  - manual merge with master after JDK-8267532
>  - more locking, still fails tho - WIP
>  - adding more verification and more locking, WIP
>  - add locks for jvmci calls to allocate_bci_to_data
>  - 8306767

Sounds reasonable to me.

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

PR Comment: https://git.openjdk.org/jdk/pull/16840#issuecomment-1835699832


More information about the hotspot-dev mailing list