JDK-7196933 : NPG: SA doesn't work for UseCompressedKlassPointers
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: hs25
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2012-09-07
  • Updated: 2012-10-11
  • Resolved: 2012-10-11
Related Reports
Duplicate :  
Description
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.