(_Jv_StackFrame): Remove commented out code.
(_Jv_UnwindState): Remove superfluous 'typedef'.
* sun/misc/natUnsafe.cc (spinlock): Add white space to quiet
compiler warnings.
* gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc
(getCollectionUsage): Don't declare unused parameter n.
(getMemoryManagerNames): Same.
* gnu/gcj/util/natGCInfo.cc (gc_debug_info): Remove superfluous
'typedef'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124783
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-05-16 David Daney <ddaney@avtrex.com>
+
+ * include/java-stack.h (_Jv_FrameInfo): Remove union definition.
+ (_Jv_StackFrame): Remove commented out code.
+ (_Jv_UnwindState): Remove superfluous 'typedef'.
+ * sun/misc/natUnsafe.cc (spinlock): Add white space to quiet
+ compiler warnings.
+ * gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc
+ (getCollectionUsage): Don't declare unused parameter n.
+ (getMemoryManagerNames): Same.
+ * gnu/gcj/util/natGCInfo.cc (gc_debug_info): Remove superfluous
+ 'typedef'.
+
2007-05-16 Keith Seitz <keiths@redhat.com>
* include/java-interp.h (breakpoint_at): Declare.
static int gc_ok = 1;
-typedef struct gc_debug_info
+struct gc_debug_info
{
int used;
int free;
#include <java/lang/UnsupportedOperationException.h>
::java::lang::management::MemoryUsage *
-gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getCollectionUsage(jstring n)
+gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getCollectionUsage(jstring)
{
throw new ::java::lang::UnsupportedOperationException (JvNewStringLatin1 ("gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getCollectionUsage (::java::lang::String *) not implemented"));
}
JArray< ::java::lang::String *> *
-gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getMemoryManagerNames(jstring n)
+gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getMemoryManagerNames(jstring)
{
return (JArray<jstring>*)
JvNewObjectArray(1, &::java::lang::String::class$, JvNewStringLatin1("BoehmGC"));
};
#endif
-union _Jv_FrameInfo
-{
-};
-
struct _Jv_StackFrame
{
_Jv_FrameType type; /* Native or interpreted. */
void *start_ip;
};
};
-// _Jv_FrameInfo info; /* Frame-type specific data. */
jclass klass;
_Jv_Method *meth;
};
-typedef struct _Jv_UnwindState;
+struct _Jv_UnwindState;
typedef _Unwind_Reason_Code (*_Jv_TraceFn) (_Jv_UnwindState *);
struct _Jv_UnwindState
spinlock ()
{
- while (! compare_and_swap (&lock, 0, 1));
+ while (! compare_and_swap (&lock, 0, 1))
+ ;
}
~spinlock ()
{