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

Emanuel Peter epeter at openjdk.org
Tue Dec 5 14:25:50 UTC 2023


> 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 incrementally with one additional commit since the last revision:

  move a lock to earlier, to have order right with tty lock

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16840/files
  - new: https://git.openjdk.org/jdk/pull/16840/files/465c3815..e0fc8d1b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=16840&range=06
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16840&range=05-06

  Stats: 17 lines in 1 file changed: 8 ins; 5 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/16840.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16840/head:pull/16840

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


More information about the hotspot-dev mailing list