JDK-8208231 : jdk/sun/tools/jhsdb/BasicLauncherTest.java failed due to invalid bucket id
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc-agent
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2018-07-25
  • Updated: 2018-08-20
  • Resolved: 2018-08-13
Related Reports
Duplicate :  
Description
The jdk/sun/tools/jhsdb/BasicLauncherTest.java test failed on various platforms due to "Invalid bucket id" during an ad hoc hs-tier5, hs-tier6 and hs-tier7 testing with CDS enabled.

computing per loader stat ..Exception in thread "main" sun.jvm.hotspot.utilities.AssertionFailure: Invalid bucket id
	at jdk.hotspot.agent/sun.jvm.hotspot.utilities.Assert.that(Assert.java:32)
	at jdk.hotspot.agent/sun.jvm.hotspot.utilities.BasicHashtable.bucket(BasicHashtable.java:62)
	at jdk.hotspot.agent/sun.jvm.hotspot.memory.Dictionary.contains(Dictionary.java:87)
	at jdk.hotspot.agent/sun.jvm.hotspot.oops.InstanceKlass.isShared(InstanceKlass.java:329)
	at jdk.hotspot.agent/sun.jvm.hotspot.oops.InstanceKlass.hasStoredFingerprint(InstanceKlass.java:313)
	at jdk.hotspot.agent/sun.jvm.hotspot.oops.InstanceKlass.getSize(InstanceKlass.java:287)
	at jdk.hotspot.agent/sun.jvm.hotspot.tools.ClassLoaderStats.computeSize(ClassLoaderStats.java:256)
	at jdk.hotspot.agent/sun.jvm.hotspot.tools.ClassLoaderStats$2.visit(ClassLoaderStats.java:121)
	at jdk.hotspot.agent/sun.jvm.hotspot.classfile.ClassLoaderData.classesDo(ClassLoaderData.java:108)
	at jdk.hotspot.agent/sun.jvm.hotspot.classfile.ClassLoaderDataGraph.classesDo(ClassLoaderDataGraph.java:82)
	at jdk.hotspot.agent/sun.jvm.hotspot.tools.ClassLoaderStats.printClassLoaderStatistics(ClassLoaderStats.java:111)
	at jdk.hotspot.agent/sun.jvm.hotspot.tools.ClassLoaderStats.run(ClassLoaderStats.java:78)
	at jdk.hotspot.agent/sun.jvm.hotspot.tools.JMap.run(JMap.java:115)
	at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.startInternal(Tool.java:260)
	at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.start(Tool.java:223)
	at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.execute(Tool.java:118)
	at jdk.hotspot.agent/sun.jvm.hotspot.tools.JMap.main(JMap.java:176)
	at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runJMAP(SALauncher.java:326)
	at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:455)