RFR(XS): 8046611: Build errors with gcc on sparc/fastdebug

Mikael Vidstedt mikael.vidstedt at oracle.com
Wed Jun 11 19:47:22 UTC 2014


Please review the below small change which fixes a couple of build 
errors when building the sparc files with gcc.

Bug: https://bugs.openjdk.java.net/browse/JDK-8046611
Webrev: http://cr.openjdk.java.net/~mikael/webrevs/8046611/webrev.00/webrev

Without the fix the following two errors are seen:

hotspot/src/cpu/sparc/vm/frame_sparc.cpp:442: error: ‘frame 
nth_sender(int)’ defined but not used
hotspot/src/share/vm/runtime/safepoint.cpp:771: error: ‘void 
print_me(intptr_t*, intptr_t*, bool*)’ defined but not used

The functions in question are debug functoins declared static. Assuming 
we'll want to keep them around the fix is to simply remove the static 
keyword from them.

Cheers,
Mikael



More information about the hotspot-runtime-dev mailing list