test/hotspot/jtreg/runtime/appcds/VerifierTest.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File open Cdiff test/hotspot/jtreg/runtime/appcds/VerifierTest.java

test/hotspot/jtreg/runtime/appcds/VerifierTest.java

Print this page

        

*** 46,55 **** --- 46,56 ---- "shared archive file was created with less restrictive verification setting"; static final String VFY_ERR = "java.lang.VerifyError"; static final String PASS_RESULT = "Hi, how are you?"; static final String VFY_INFO_MESSAGE = "All non-system classes will be verified (-Xverify:remote) during CDS dump time."; + static final String CDS_LOGGING = "-Xlog:cds,cds+hashtables"; enum Testset1Part { A, B }
*** 102,111 **** --- 103,113 ---- static void testset_0(String jar, String[] noAppClasses, String[] appClasses) throws Exception { // Dumping should fail if the IgnoreUnverifiableClassesDuringDump // option is not enabled. OutputAnalyzer output = TestCommon.dump(jar, appClasses, + CDS_LOGGING, "-XX:+UnlockDiagnosticVMOptions", "-XX:-IgnoreUnverifiableClassesDuringDump"); output.shouldContain("Please remove the unverifiable classes"); output.shouldHaveExitValue(1);
*** 184,193 **** --- 186,196 ---- " with " + dump_setting + ", run with " + runtime_setting); if (!dump_setting.equals(prev_dump_setting)) { OutputAnalyzer dumpOutput = TestCommon.dump( jar, dump_list, dump_setting, + CDS_LOGGING, // FIXME: the following options are for working around a GC // issue - assert failure when dumping archive with the -Xverify:all "-Xms256m", "-Xmx256m"); if (dump_setting.equals(VFY_NONE) &&
*** 241,250 **** --- 244,254 ---- " with " + dump_setting + ", run with " + runtime_setting); if (!dump_setting.equals(prev_dump_setting)) { OutputAnalyzer dumpOutput = TestCommon.dump( jar, appClasses, dump_setting, + CDS_LOGGING, // FIXME: the following options are for working around a GC // issue - assert failure when dumping archive with the -Xverify:all "-Xms256m", "-Xmx256m"); if (dump_setting.equals(VFY_NONE) &&
test/hotspot/jtreg/runtime/appcds/VerifierTest.java
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File