24
25 /*
26 * @test
27 * @key stress randomness
28 *
29 * @summary converted from VM Testbase nsk/sysdict/vm/stress/chain/chain003.
30 * VM Testbase keywords: [stress, sysdict, stressopt, nonconcurrent]
31 * VM Testbase readme:
32 * DESCRIPTION
33 * Multiple threads load a long chain of lean classes
34 * with a short chain of loaders (NxM threads totally).
35 * The test is deemed failed if loading attempt fails.
36 * The test repeats until the given number of iterations,
37 * or until EndOfMemoryError.
38 *
39 * @library /vmTestbase /test/lib
40 * @comment build fats.jar
41 * @run driver nsk.sysdict.share.GenClassesBuilder fats
42 * @comment build leans.jar
43 * @run driver nsk.sysdict.share.GenClassesBuilder leans
44 * @run driver jdk.test.lib.FileInstaller . .
45 * @build nsk.sysdict.share.ChainTest
46 * @run main/othervm
47 * -XX:-UseGCOverheadLimit
48 * -Xss2048k
49 * PropertyResolvingWrapper
50 * nsk.sysdict.share.ChainTest
51 * -jarpath leans.jar${path.separator}fats.jar
52 */
53
|
24
25 /*
26 * @test
27 * @key stress randomness
28 *
29 * @summary converted from VM Testbase nsk/sysdict/vm/stress/chain/chain003.
30 * VM Testbase keywords: [stress, sysdict, stressopt, nonconcurrent]
31 * VM Testbase readme:
32 * DESCRIPTION
33 * Multiple threads load a long chain of lean classes
34 * with a short chain of loaders (NxM threads totally).
35 * The test is deemed failed if loading attempt fails.
36 * The test repeats until the given number of iterations,
37 * or until EndOfMemoryError.
38 *
39 * @library /vmTestbase /test/lib
40 * @comment build fats.jar
41 * @run driver nsk.sysdict.share.GenClassesBuilder fats
42 * @comment build leans.jar
43 * @run driver nsk.sysdict.share.GenClassesBuilder leans
44 * @build nsk.sysdict.share.ChainTest
45 * @run main/othervm
46 * -XX:-UseGCOverheadLimit
47 * -Xss2048k
48 * PropertyResolvingWrapper
49 * nsk.sysdict.share.ChainTest
50 * -jarpath leans.jar${path.separator}fats.jar
51 */
52
|