comparison src/share/vm/runtime/safepoint.cpp @ 9060:cc32ccaaf47f

8003310: Enable -Wunused-function when compiling with gcc Summary: Add the -Wunused-function flag and remove a number of unused functions. Reviewed-by: dholmes, coleenp, kvn
author mikael
date Thu, 04 Apr 2013 10:01:26 -0700
parents db9981fd3124
children 89e4d67fdd2a 190899198332 510fbd28919c
comparison
equal deleted inserted replaced
9059:17bf4d428955 9060:cc32ccaaf47f
733 733
734 // ------------------------------------------------------------------------------------------------------ 734 // ------------------------------------------------------------------------------------------------------
735 // Exception handlers 735 // Exception handlers
736 736
737 #ifndef PRODUCT 737 #ifndef PRODUCT
738
739 #ifdef SPARC
740
738 #ifdef _LP64 741 #ifdef _LP64
739 #define PTR_PAD "" 742 #define PTR_PAD ""
740 #else 743 #else
741 #define PTR_PAD " " 744 #define PTR_PAD " "
742 #endif 745 #endif
753 tty->print_cr(PTR64_FORMAT " %s %c " PTR64_FORMAT " %s %s", 756 tty->print_cr(PTR64_FORMAT " %s %c " PTR64_FORMAT " %s %s",
754 oldptr, wasoop?"oop":" ", oldptr == newptr ? ' ' : '!', 757 oldptr, wasoop?"oop":" ", oldptr == newptr ? ' ' : '!',
755 newptr, is_oop?"oop":" ", (wasoop && !is_oop) ? "STALE" : ((wasoop==false&&is_oop==false&&oldptr !=newptr)?"STOMP":" ")); 758 newptr, is_oop?"oop":" ", (wasoop && !is_oop) ? "STALE" : ((wasoop==false&&is_oop==false&&oldptr !=newptr)?"STOMP":" "));
756 } 759 }
757 760
758 #ifdef SPARC
759 static void print_me(intptr_t *new_sp, intptr_t *old_sp, bool *was_oops) { 761 static void print_me(intptr_t *new_sp, intptr_t *old_sp, bool *was_oops) {
760 #ifdef _LP64 762 #ifdef _LP64
761 tty->print_cr("--------+------address-----+------before-----------+-------after----------+"); 763 tty->print_cr("--------+------address-----+------before-----------+-------after----------+");
762 const int incr = 1; // Increment to skip a long, in units of intptr_t 764 const int incr = 1; // Increment to skip a long, in units of intptr_t
763 #else 765 #else