RFR: 8251904: vmTestbase/nsk/sysdict/vm/stress/btree/btree010/btree010.java fails with ClassNotFoundException: nsk.sysdict.share.BTree0LLRLRLRRLR [v2]
Harold Seigel
hseigel at openjdk.java.net
Tue Oct 26 12:41:45 UTC 2021
> Please review this fix for JDK-8251904. The fix ignores ClassNotFoundExceptions that are thrown when calling Class.forName() because they can be caused by OutOfMemoryErrors. These can get thrown because of other threads calling GarbageUtils.eatMemory().
>
> The test was run 1000 times on Linux x64 without the fix and failed once. It was run 5000 times with the fix and had no failures. The change was also tested by running Mach5 tier5 on Windows and Linux.
>
> Thanks, Harold
Harold Seigel has updated the pull request incrementally with one additional commit since the last revision:
remove PermGen comment
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/6111/files
- new: https://git.openjdk.java.net/jdk/pull/6111/files/5dfcc5a8..4217a14f
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6111&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6111&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/6111.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/6111/head:pull/6111
PR: https://git.openjdk.java.net/jdk/pull/6111
More information about the hotspot-runtime-dev
mailing list