United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-8003879 Duplicate definitions in vmStructs
JDK-8003879 : Duplicate definitions in vmStructs

Details
Type:
Bug
Submit Date:
2012-11-21
Status:
Resolved
Updated Date:
2013-04-30
Project Name:
JDK
Resolved Date:
2012-11-28
Component:
hotspot
OS:
Sub-Component:
svc
CPU:
Priority:
P3
Resolution:
Fixed
Affected Versions:
Fixed Versions:
hs25 (b11)

Related Reports
Backport:

Sub Tasks

Description
In vmStructs.cpp MetablockTreeDictionary is defined twice. In vmStructs_cms.cpp AFLBinaryTreeDictionary is likewise defined twice. Looks like the code was introduced by 

7045397: NPG: Add freelists to class loader arenas.

This shows up when running jmap:

Attaching to process ID 25561, please wait...
Warning: the type "MetablockTreeDictionary" (declared in the remote VM in VMStructs::localHotSpotVMTypes) had its size declared as 32 twice. Continuing.
Warning: the type "AFLBinaryTreeDictionary" (declared in the remote VM in VMStructs::localHotSpotVMTypes) had its size declared as 32 twice. Continuing.
Debugger attached successfully.
Server compiler detected.
JVM version is 25.0-b09

I think it still works, but it's not pretty.
                                    

Comments
URL:   http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/7c15faa95ce7
User:  dholmes
Date:  2012-11-28 06:21:57 +0000

                                     
2012-11-28
URL:   http://hg.openjdk.java.net/hsx/hsx25/hotspot/rev/7c15faa95ce7
User:  amurillo
Date:  2012-12-01 02:59:09 +0000

                                     
2012-12-01



Hardware and Software, Engineered to Work Together