> 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

Reply via email to