JDK-8197510 : fastdebug builds fail due to lack of p2i
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: openjdk7u
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2018-02-09
  • Updated: 2018-04-21
  • Resolved: 2018-04-21
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 7 Other
7u171 b01Fixed openjdk7uFixed
Related Reports
Relates :  
Description
/home/andrew/projects/openjdk/upstream/jdk7/hotspot/src/share/vm/utilities/hashtable.cpp: In instantiation of 'void BasicHashtable<F>::bulk_free_entries(BasicHashtable<F>::BucketUnlinkContext*) [with short unsigned int F = 256u]':
/home/andrew/projects/openjdk/upstream/jdk7/hotspot/src/share/vm/utilities/hashtable.cpp:360:16:   required from here
/home/andrew/projects/openjdk/upstream/jdk7/hotspot/src/share/vm/utilities/hashtable.cpp:200:23: error: 'p2i' was not declared in this scope
                    p2i(context->_removed_head), p2i(context->_removed_tail)));
                    ~~~^~~~~~~~~~~~~~~~~~~~~~~~

This was introduced in backporting 8180048, but not visible in product builds.
Comments
http://hg.openjdk.java.net/jdk7u/jdk7u/hotspot/rev/2a2721def4a0
21-04-2018

Fix will be a partial backport of the relevant part of JDK-8037816. Not all changes are needed as we don't turn on additional warnings as in JDK-8036122
09-02-2018