Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8325038

runtime/cds/appcds/ProhibitedPackage.java can fail with UseLargePages

    XMLWordPrintable

Details

    • b10

    Backports

      Description

        make CONF_NAME=linux-x64 LOG=info TEST="runtime/cds/appcds/ProhibitedPackage.java" JTREG_JAVA_OPTIONS="-XX:+UseLargePages" test


         stdout: [[0.001s][warning][pagesize] UseLargePages disabled, no large pages configured and available on the system.
        [0.009s][info ][cds ] Core region alignment: 4096
        [0.028s][info ][cds ] JVM_StartThread() ignored: java.lang.ref.Reference$ReferenceHandler
        [0.028s][info ][cds ] JVM_StartThread() ignored: java.lang.ref.Finalizer$FinalizerThread
        [0.041s][info ][cds ] Loading classes to share ...
        [0.041s][info ][cds ] Parsing /home/dnsimon/dev/jdk-jdk/open/build/linux-x64/images/jdk/lib/classlist
        [0.094s][info ][cds ] JVM_StartThread() ignored: jdk.internal.misc.InnocuousThread
        [0.132s][info ][cds ] Parsing /home/dnsimon/dev/jdk-jdk/open/build/linux-x64/test-support/jtreg_test_hotspot_jtreg_runtime_cds_appcds_ProhibitedPackage_java/scratch/0/runtime.cds.appcds.ProhibitedPackage.java-test.classlist
        [0.132s][info ][cds ] Prohibited package for non-bootstrap classes: java/lang/Prohibited.class from /home/dnsimon/dev/jdk-jdk/open/build/linux-x64/test-support/jtreg_test_hotspot_jtreg_runtime_cds_appcds_ProhibitedPackage_java/scratch/0/prohibited_pkg.jar
        [0.132s][warning][cds ] java.lang.ClassNotFoundException:

        ...

        java.lang.RuntimeException: '[cds] Prohibited package for non-bootstrap classes: java/lang/Prohibited.class' missing from stdout/stderr
                at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:252)
                at ProhibitedPackage.main(ProhibitedPackage.java:57)
                at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
                at java.base/java.lang.reflect.Method.invoke(Method.java:580)
                at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
                at java.base/java.lang.Thread.run(Thread.java:1575)

        Attachments

          Issue Links

            Activity

              People

                ccheung Calvin Cheung
                dnsimon Douglas Simon
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: