java-stack.h (_Jv_FrameInfo): Remove union definition.
* 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'. From-SVN: r124783
This commit is contained in:
parent
d9c3e54582
commit
f59d2a7c86
5 changed files with 19 additions and 10 deletions
|
@ -1,3 +1,16 @@
|
|||
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.
|
||||
|
|
|
@ -66,7 +66,7 @@ extern "C" {
|
|||
|
||||
static int gc_ok = 1;
|
||||
|
||||
typedef struct gc_debug_info
|
||||
struct gc_debug_info
|
||||
{
|
||||
int used;
|
||||
int free;
|
||||
|
|
|
@ -20,7 +20,7 @@ details. */
|
|||
#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"));
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ gnu::java::lang::management::VMMemoryPoolMXBeanImpl::getCollectionUsageThreshold
|
|||
|
||||
|
||||
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"));
|
||||
|
|
|
@ -49,10 +49,6 @@ struct _Jv_InterpFrameInfo
|
|||
};
|
||||
#endif
|
||||
|
||||
union _Jv_FrameInfo
|
||||
{
|
||||
};
|
||||
|
||||
struct _Jv_StackFrame
|
||||
{
|
||||
_Jv_FrameType type; /* Native or interpreted. */
|
||||
|
@ -69,12 +65,11 @@ struct _Jv_StackFrame
|
|||
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
|
||||
|
|
|
@ -31,7 +31,8 @@ public:
|
|||
|
||||
spinlock ()
|
||||
{
|
||||
while (! compare_and_swap (&lock, 0, 1));
|
||||
while (! compare_and_swap (&lock, 0, 1))
|
||||
;
|
||||
}
|
||||
~spinlock ()
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue