JDK-6856025 : assert(_base >= OopPtr && _base <= KlassPtr,"Not a Java pointer")
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: hs16
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2009-06-30
  • Updated: 2010-04-03
  • Resolved: 2009-07-15
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
6u18Fixed 7Fixed hs16Fixed
Related Reports
Relates :  
Regression after 6818666 fix.

% cp test/compiler/6711117/Test.java ./
% javac Test.java
% bin/java -d64 -Xcomp -XX:+UseCompressedOops Test
VM option '+UseCompressedOops'
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/type.hpp:1096
# A fatal error has been detected by the Java Runtime Environment:
#  Internal Error (/tmp/jprt/P2/B/200350.never/source/src/share/vm/opto/type.hpp:1096), pid=8537, tid=15
#  Error: assert(_base >= OopPtr && _base <= KlassPtr,"Not a Java pointer")
# JRE version: 7.0-b52
# Java VM: OpenJDK 64-Bit Server VM (16.0-b03-2009-06-26-200350.never.6818666-fastdebug compiled mode solaris-amd64 compressed oops)
# An error report file with more information is saved as:
# /export/home/kvn/VM/hs_err_pid8537.log
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp

EVALUATION The changes that computed the TypeOopPtr for the prebarrier didn't take into account that the the adr_type for field references with compressed oops is the narrow type. The fix is to use a new accessor make_oopptr to transparently handle narrow oop types.

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/bf3489cc0aa0