> The fix updates ResetPeakThreadCount.java test - increases number of threads, > but relaxes conditions so start/termination of system threads don't cause > failures. > Additional changes: > - store threads in a list instead of array (we need only to start/terminate > some number of threads, so linked list works better); > - flags for thread termination are moved to thread class; > - store values from ThreadMXBean.getPeakThreadCount() and getThreadCount() in > int instead of long (the methods return int values)
Alex Menkov has updated the pull request incrementally with one additional commit since the last revision: added dot at the end of comment ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/2885/files - new: https://git.openjdk.java.net/jdk/pull/2885/files/8252f4bc..b0b33d7d Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2885&range=01 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2885&range=00-01 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.java.net/jdk/pull/2885.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/2885/head:pull/2885 PR: https://git.openjdk.java.net/jdk/pull/2885