Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8306767

Concurrent repacking of extra data in MethodData is potentially unsafe

XMLWordPrintable

    • b08

      See https://github.com/openjdk/jdk/pull/11996#issuecomment-1409331760 If any thread can potentially repack the extra data section then any code path which might receive data from the extra data section must guard against this by holding the lock. JVMCI in general isn't exposed to this problem since it doesn't create speculative trap data entries. It's probably likely to be exceeding rare since I guess this only occurs with ZGC.

            epeter Emanuel Peter
            never Tom Rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: