RFR: 8262092: vmTestbase/nsk/jvmti/scenarios/hotswap/HS102/hs102t001/TestDescription.java SIGSEGV in memmove_ssse3 [v2]

Alex Menkov amenkov at openjdk.java.net
Thu May 6 18:45:20 UTC 2021


> Class loading can happen on different threads, but HotSwap agent is not ready to this - classCount variable is used without any synchronization.
> The fix adds synchronization for ClassFileLoadHook.

Alex Menkov has updated the pull request incrementally with one additional commit since the last revision:

  added missed break; made all counters atomic

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3889/files
  - new: https://git.openjdk.java.net/jdk/pull/3889/files/63e85bc3..6606d89b

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3889&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3889&range=00-01

  Stats: 8 lines in 1 file changed: 2 ins; 0 del; 6 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3889.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3889/head:pull/3889

PR: https://git.openjdk.java.net/jdk/pull/3889


More information about the serviceability-dev mailing list