JDK-8025569 : -XX:+CheckUnhandledOops crashes on Windows
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: hs25
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_7
  • CPU: x86
  • Submitted: 2013-09-27
  • Updated: 2014-06-26
  • Resolved: 2013-10-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 8 Other
8Fixed hs25Fixed
Related Reports
Relates :  
Description
C:\Users\lfoltan\work\hpot>%JAVA_TEST%/bin/java -XX:+CheckUnhandledOops -version

# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=\oopsHierarchy.cpp:42
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (C:\Users\lfoltan\work\hpot\wrk_jdk7180556\src\share\vm\oops\o
opsHierarchy.cpp:42), pid=3408, tid=3248
#  assert(fr.pc()) failed: should point to a vm frame
#
# JRE version:  (8.0-b107) (build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.0-b51-fastdebug mixed mode wind
ows-amd64 compressed oops)
# Core dump written. Default location: C:\Users\lfoltan\work\hpot\hs_err_pid3408
.mdmp
#
# An error report file with more information is saved as:
# C:\Users\lfoltan\work\hpot\hs_err_pid3408.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#

Comments
Disabiling -DCHECK_UNHANDLED_OOPS in windows\makefiles\fastdebug.make for both 32 and 64 bit Windows builds for JDK 8
02-10-2013

-XX:+CheckUnhandledOops support can not be turned on for Windows fastdebug builds until the issue in JDK-8024364, os:current_frame(), is fixed. Calls during universe_post_init() to oop::register_oop() and oop:unregister_oop() in oops/oopsHierarchy.cpp will fail with a NULL frame pointer.
01-10-2013