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

serviceability/sa/TestInstanceKlassSize.java - Unable to find instance klass for null

    Details

    • Subcomponent:
    • Introduced In Build:
      b22
    • Introduced In Version:
      10
    • Resolved In Build:
      b31
    • OS:
      solaris
    • Verification:
      Verified

      Description

      ----------System.out:(14/2798)----------
      No args run. Starting with args now.
      Command line: ['/scratch/opt/mach5/mesos/work_dir/jib-master/install/2017-10-07-0300098.jesper.wilhelmsson.hs/solaris-sparcv9-debug.jdk/jdk-10/fastdebug/bin/java' '-XX:+UsePerfData' '-XX:MaxRAMPercentage=2' '-cp' '/scratch/opt/mach5/mesos/work_dir/16524a2c-c20f-4b7a-813b-13a93a5731b5/testoutput/jtreg/JTwork/classes/2/serviceability/sa/TestInstanceKlassSize.d:/scratch/opt/mach5/mesos/work_dir/16524a2c-c20f-4b7a-813b-13a93a5731b5/testoutput/jtreg/JTwork/classes/2/test/lib' 'jdk.test.lib.apps.LingeredApp' '415f7c8c-bd30-4bef-895f-2e0f9dd44097.lck' ]
      Started LingeredApp with pid 57699
      /scratch/opt/mach5/mesos/work_dir/jib-master/install/2017-10-07-0300098.jesper.wilhelmsson.hs/solaris-sparcv9-debug.jdk/jdk-10/fastdebug/bin/jcmd 57699 GC.class_stats VTab,ITab,OopMap,KlassBytes
      Command line: [/scratch/opt/mach5/mesos/work_dir/jib-master/install/2017-10-07-0300098.jesper.wilhelmsson.hs/solaris-sparcv9-debug.jdk/jdk-10/fastdebug/bin/java -cp /scratch/opt/mach5/mesos/work_dir/16524a2c-c20f-4b7a-813b-13a93a5731b5/testoutput/jtreg/JTwork/classes/2/serviceability/sa/TestInstanceKlassSize.d:/scratch/opt/mach5/mesos/work_dir/jib-master/install/2017-10-07-0300098.jesper.wilhelmsson.hs/src.full/open/test/hotspot/jtreg/serviceability/sa:/scratch/opt/mach5/mesos/work_dir/16524a2c-c20f-4b7a-813b-13a93a5731b5/testoutput/jtreg/JTwork/classes/2/test/lib:/scratch/opt/mach5/mesos/work_dir/jib-master/install/2017-10-07-0300098.jesper.wilhelmsson.hs/src.full/open/test/lib:/scratch/opt/mach5/mesos/work_dir/jib-master/install/com/oracle/java/jib/jib/3.0-SNAPSHOT/jib-3.0-SNAPSHOT-distribution.zip/jib-3.0-SNAPSHOT-distribution/lib/jib-3.0-SNAPSHOT.jar:/scratch/opt/mach5/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b08/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar:/scratch/opt/mach5/mesos/work_dir/jib-master/install/java/re/jtreg/4.2/promoted/all/b08/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar --add-modules=jdk.hotspot.agent --add-exports=jdk.hotspot.agent/sun.jvm.hotspot=ALL-UNNAMED --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.utilities=ALL-UNNAMED --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.oops=ALL-UNNAMED --add-exports=jdk.hotspot.agent/sun.jvm.hotspot.debugger=ALL-UNNAMED TestInstanceKlassSize 57699 ]
      SA: The size of java.lang.Object is 504
      SA: The size of java.util.Vector is 1432
      Exception in thread "main" java.lang.RuntimeException: Unable to find instance klass for null: expected null to not equal null
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertNotEquals(Asserts.java:394)
      at jdk.test.lib.Asserts.assertNotNull(Asserts.java:437)
      at TestInstanceKlassSize.SAInstanceKlassSize(TestInstanceKlassSize.java:168)
      at TestInstanceKlassSize.main(TestInstanceKlassSize.java:195)

      ----------System.err:(29/1573)----------
       stdout: [SA: The size of java.lang.Object is 504
      SA: The size of java.util.Vector is 1432
      ];
       stderr: [Exception in thread "main" java.lang.RuntimeException: Unable to find instance klass for null: expected null to not equal null
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertNotEquals(Asserts.java:394)
      at jdk.test.lib.Asserts.assertNotNull(Asserts.java:437)
      at TestInstanceKlassSize.SAInstanceKlassSize(TestInstanceKlassSize.java:168)
      at TestInstanceKlassSize.main(TestInstanceKlassSize.java:195)
      ]
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0]

      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:380)
      at TestInstanceKlassSize.startMeWithArgs(TestInstanceKlassSize.java:127)
      at TestInstanceKlassSize.main(TestInstanceKlassSize.java:185)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

        Attachments

        1. hs_3.out
          37 kB
        2. hs_4.out
          37 kB

          Issue Links

            Activity

              People

              • Assignee:
                sballal Sharath Ballal (Inactive)
                Reporter:
                iklam Ioi Lam
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: