Running HPROF to do heap profiling of SwingSet2 periodically fails with this assertion in a fastdebug build:
lapwai<32> ./bin/java -client -Xrunhprof:file=dump.hprof,format=b,debug=y,logflags=0x4 -jar /opt/java/jdk1.5.0/demo/jfc/SwingSet2/SwingSet2.jar && ~/hat/bin/hat dump.hprof# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/jvmtiGetLoadedClasses.cpp:116]
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# Internal Error (/export/Users/alanb/ws/service_hs_baseline/src/share/vm/prims/jvmtiGetLoadedClasses.cpp, 116 [ Patched ]), pid=7782, tid=5
#
# Java VM: Java HotSpot(TM) Client VM (1.6-internal-debug mixed mode)
#
# Error: assert(v_false,"bad set_element")
# An error report file with more information is saved as hs_err_pid7782.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Current thread is 5
Dumping core ...
Abort (core dumped)
###@###.### 2005-03-18 10:04:31 GMT
lapwai<32> ./bin/java -client -Xrunhprof:file=dump.hprof,format=b,debug=y,logflags=0x4 -jar /opt/java/jdk1.5.0/demo/jfc/SwingSet2/SwingSet2.jar && ~/hat/bin/hat dump.hprof# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/jvmtiGetLoadedClasses.cpp:116]
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# Internal Error (/export/Users/alanb/ws/service_hs_baseline/src/share/vm/prims/jvmtiGetLoadedClasses.cpp, 116 [ Patched ]), pid=7782, tid=5
#
# Java VM: Java HotSpot(TM) Client VM (1.6-internal-debug mixed mode)
#
# Error: assert(v_false,"bad set_element")
# An error report file with more information is saved as hs_err_pid7782.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
Current thread is 5
Dumping core ...
Abort (core dumped)
###@###.### 2005-03-18 10:04:31 GMT