JDK-6926697 : "optimized" VM build failed: The type "AdapterHandlerTableIterator" is incomplete.
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs17
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2010-02-16
  • Updated: 2010-04-03
  • Resolved: 2010-03-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u21Fixed 7Fixed hs17Fixed
Related Reports
Relates :  
Relates :  
Description
% sh make/solaris/build.sh "optimized" $PWD
...
"/net/irkutsk/export/home/kvn/work2/hg/arrcp64/src/share/vm/runtime/sharedRuntime.cpp", line 2625: Error: In this declaration "iter" is of an incomplete type "AdapterHandlerTableIterator".
"/net/irkutsk/export/home/kvn/work2/hg/arrcp64/src/share/vm/runtime/sharedRuntime.cpp", line 2625: Error: The type "AdapterHandlerTableIterator" is incomplete.

Comments
PUBLIC COMMENTS Problem: AdapterHandlerTableIterator is defined only in debug VM but it is used in all non product VM versions. Solution: Define AdapterHandlerTableIterator class as non product instead of debug.
17-02-2010

EVALUATION ChangeSet=http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/e7b1cc79bd25,ChangeRequest=6926697
17-02-2010

EVALUATION Regression after 6911204 fix. AdapterHandlerTableIterator is defined only in debug VM but it is used in all non product VM versions. #ifdef ASSERT int AdapterHandlerTable::_lookups; int AdapterHandlerTable::_buckets; int AdapterHandlerTable::_equals; int AdapterHandlerTable::_hits; int AdapterHandlerTable::_compact; class AdapterHandlerTableIterator : public StackObj { ... #ifndef PRODUCT bool AdapterHandlerLibrary::contains(CodeBlob* b) { AdapterHandlerTableIterator iter(_adapters);
16-02-2010