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

tools tests failing due to -XX:-UsePerfData default in Java SE Embedded

    XMLWordPrintable

Details

    • x86, arm, ppc
    • linux_oracle_6.0, linux_ubuntu

    Description

      Several tests JDK workspace fail. It is required to applay patch from JDK-7012206.

      list of failed tests:
      sun/management/HotspotClassLoadingMBean/GetInitializedClassCount.java
      sun/management/HotspotClassLoadingMBean/GetLoadedClassSize.java
      sun/management/HotspotClassLoadingMBean/GetMethodDataSize.java
      sun/management/HotspotClassLoadingMBean/GetUnloadedClassSize.java
      sun/management/HotspotRuntimeMBean/GetSafepointCount.java

      Exception: java.lang.RuntimeException

      All tests fails with similar stack trace:

      java.lang.RuntimeException: Initialized class count illegal value: -1 (MIN = 1; MAX = 9223372036854775807)
      at GetInitializedClassCount.main(GetInitializedClassCount.java:60)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:722)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              skovalev Sergei Kovalev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: