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

NPG: SA doesn't work for UseCompressedKlassPointers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • hs25
    • hotspot
    • None
    • svc
    • generic
    • generic

      UseCompressedKlassPointers is currently default off because the compiler support has to be completed. But the serviceability agent tests fail when run with -XX:+UseCompressedKlassHeaders -Xint. The compressed class headers have to be decoded in the serviceability agent.

      WARNING: You have disabled SA and VM version check. You may be using incompatible
       version of SA and you may see unexpected results.
      Exception in thread "main" sun.jvm.hotspot.debugger.UnmappedAddressException: ff3
      80488
              at sun.jvm.hotspot.debugger.PageCache.checkPage(PageCache.java:208)
              at sun.jvm.hotspot.debugger.PageCache.getData(PageCache.java:63)
              at sun.jvm.hotspot.debugger.DebuggerBase.readBytes(DebuggerBase.java:217)
              at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.readCInteger(LinuxDe
      buggerLocal.java:482)
              at sun.jvm.hotspot.debugger.DebuggerBase.readAddressValue(DebuggerBase.ja
      va:454)
              at sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.readAddress(LinuxDeb
      uggerLocal.java:423)
              at sun.jvm.hotspot.debugger.linux.LinuxAddress.getAddressAt(LinuxAddress.
      java:74)
              at sun.jvm.hotspot.types.basic.BasicTypeDataBase.findDynamicTypeForAddres
      s(BasicTypeDataBase.java:291)
              at sun.jvm.hotspot.runtime.VirtualBaseConstructor.instantiateWrapperFor(V
      irtualBaseConstructor.java:102)
              at sun.jvm.hotspot.oops.Metadata.instantiateWrapperFor(Metadata.java:68)
              at sun.jvm.hotspot.oops.Oop.getKlassForOopHandle(Oop.java:216)
              at sun.jvm.hotspot.oops.ObjectHeap.newOop(ObjectHeap.java:251)

      Since this mode isn't tested yet, I won't add the test names but nsk.sajdi.testlist fails.

            roland Roland Westrelin
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: