RFR(T) : 8195060 : vm/mlvm/anonloader/stress/byteMutation intermittently times out
igor.ignatyev at oracle.com
Wed Feb 13 03:20:43 UTC 2019
> 2 lines changed: 0 ins; 0 del; 2 mod;
could you please review this one-line patch for vmTestbase/vm/mlvm/anonloader/stress/ tests? the goal of these tests is to check that loading of anonymous classes won't lead to a crash and/or a hang, byteMutation test uses a randomly changed class file, which in some cases might lead to infinite recursions in <init> method. as the tests don't need to create an instance of loaded anonymous class to achieve their goal, the patch replaces Class::newInstance call w/ Unsafe::ensureClassInitialized to guarantee that we try to load, link and initialize classes.
- vmTestbase/vm/mlvm/anonloader/stress/ tests
- manually verified that the tests still can fail by running w/ Xverify:none
More information about the hotspot-compiler-dev