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

serviceability/jvmti/GetObjectSizeOverflow.java fails: Invalid size of array, expected >= 2400000000, got -1894967280

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      svc

      Description

      Fails on linux, solaris and windows:

      command: main GetObjectSizeOverflow
      reason: User specified action: run main GetObjectSizeOverflow
      elapsed time (seconds): 7.722
      ----------System.out:(1/171)----------
      Command line: [/export/local/aurora/CommonData/jdk/bin/java -d64 -Xcomp -d64 -XX:+UseParallelGC -server -Xcomp -Xmx4000m -javaagent:agent.jar GetObjectSizeOverflowAgent ]
      ----------System.err:(22/1150)----------
       stdout: [];
       stderr: [Exception in thread "main" java.lang.RuntimeException: Invalid size of array, expected >= 2400000000, got -1894967280
      at GetObjectSizeOverflowAgent.main(GetObjectSizeOverflowAgent.java:38)
      ]
       exitValue = 1

      java.lang.RuntimeException: 'GetObjectSizeOverflow passed' missing from stdout

      at com.oracle.java.testlibrary.OutputAnalyzer.stdoutShouldContain(OutputAnalyzer.java:93)
      at GetObjectSizeOverflow.main(GetObjectSizeOverflow.java:62)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:484)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:745)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              allwin Peter Allwin (Inactive)
              Reporter:
              dfazunen Dmitry Fazunenko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: