1 |
756 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __gnu_classpath_jdwp_VMVirtualMachine__
|
5 |
|
|
#define __gnu_classpath_jdwp_VMVirtualMachine__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace gnu
|
15 |
|
|
{
|
16 |
|
|
namespace classpath
|
17 |
|
|
{
|
18 |
|
|
namespace jdwp
|
19 |
|
|
{
|
20 |
|
|
class VMFrame;
|
21 |
|
|
class VMMethod;
|
22 |
|
|
class VMVirtualMachine;
|
23 |
|
|
namespace event
|
24 |
|
|
{
|
25 |
|
|
class EventRequest;
|
26 |
|
|
}
|
27 |
|
|
namespace util
|
28 |
|
|
{
|
29 |
|
|
class MethodResult;
|
30 |
|
|
class MonitorInfo;
|
31 |
|
|
}
|
32 |
|
|
namespace value
|
33 |
|
|
{
|
34 |
|
|
class Value;
|
35 |
|
|
}
|
36 |
|
|
}
|
37 |
|
|
}
|
38 |
|
|
}
|
39 |
|
|
}
|
40 |
|
|
|
41 |
|
|
class gnu::classpath::jdwp::VMVirtualMachine : public ::java::lang::Object
|
42 |
|
|
{
|
43 |
|
|
|
44 |
|
|
public:
|
45 |
|
|
VMVirtualMachine();
|
46 |
|
|
static void initialize();
|
47 |
|
|
static void suspendThread(::java::lang::Thread *);
|
48 |
|
|
static void suspendAllThreads();
|
49 |
|
|
static void resumeThread(::java::lang::Thread *);
|
50 |
|
|
static void resumeAllThreads();
|
51 |
|
|
static jint getSuspendCount(::java::lang::Thread *);
|
52 |
|
|
static ::java::util::Collection * getAllLoadedClasses();
|
53 |
|
|
static jint getClassStatus(::java::lang::Class *);
|
54 |
|
|
static JArray< ::gnu::classpath::jdwp::VMMethod * > * getAllClassMethods(::java::lang::Class *);
|
55 |
|
|
static ::gnu::classpath::jdwp::VMMethod * getClassMethod(::java::lang::Class *, jlong);
|
56 |
|
|
static ::java::util::ArrayList * getFrames(::java::lang::Thread *, jint, jint);
|
57 |
|
|
static ::gnu::classpath::jdwp::VMFrame * getFrame(::java::lang::Thread *, jlong);
|
58 |
|
|
static jint getFrameCount(::java::lang::Thread *);
|
59 |
|
|
static jint getThreadStatus(::java::lang::Thread *);
|
60 |
|
|
static ::java::util::ArrayList * getLoadRequests(::java::lang::ClassLoader *);
|
61 |
|
|
static ::gnu::classpath::jdwp::util::MethodResult * executeMethod(::java::lang::Object *, ::java::lang::Thread *, ::java::lang::Class *, ::gnu::classpath::jdwp::VMMethod *, JArray< ::gnu::classpath::jdwp::value::Value * > *, jint);
|
62 |
|
|
static ::java::lang::String * getSourceFile(::java::lang::Class *);
|
63 |
|
|
static void registerEvent(::gnu::classpath::jdwp::event::EventRequest *);
|
64 |
|
|
static void unregisterEvent(::gnu::classpath::jdwp::event::EventRequest *);
|
65 |
|
|
static void clearEvents(jbyte);
|
66 |
|
|
static void redefineClasses(JArray< ::java::lang::Class * > *, JArray< JArray< jbyte > * > *);
|
67 |
|
|
static void setDefaultStratum(::java::lang::String *);
|
68 |
|
|
static ::java::lang::String * getSourceDebugExtension(::java::lang::Class *);
|
69 |
|
|
static JArray< jbyte > * getBytecodes(::gnu::classpath::jdwp::VMMethod *);
|
70 |
|
|
static ::gnu::classpath::jdwp::util::MonitorInfo * getMonitorInfo(::java::lang::Object *);
|
71 |
|
|
static JArray< ::java::lang::Object * > * getOwnedMonitors(::java::lang::Thread *);
|
72 |
|
|
static ::java::lang::Object * getCurrentContendedMonitor(::java::lang::Thread *);
|
73 |
|
|
static void popFrames(::java::lang::Thread *, jlong);
|
74 |
|
|
static const jboolean canWatchFieldModification = 0;
|
75 |
|
|
static const jboolean canWatchFieldAccess = 0;
|
76 |
|
|
static const jboolean canGetBytecodes = 0;
|
77 |
|
|
static const jboolean canGetSyntheticAttribute = 0;
|
78 |
|
|
static const jboolean canGetOwnedMonitorInfo = 0;
|
79 |
|
|
static const jboolean canGetCurrentContendedMonitor = 0;
|
80 |
|
|
static const jboolean canGetMonitorInfo = 0;
|
81 |
|
|
static const jboolean canRedefineClasses = 0;
|
82 |
|
|
static const jboolean canAddMethod = 0;
|
83 |
|
|
static const jboolean canUnrestrictedlyRedefineClasses = 0;
|
84 |
|
|
static const jboolean canPopFrames = 0;
|
85 |
|
|
static const jboolean canUseInstanceFilters = 0;
|
86 |
|
|
static const jboolean canGetSourceDebugExtension = 0;
|
87 |
|
|
static const jboolean canRequestVMDeathEvent = 0;
|
88 |
|
|
static const jboolean canSetDefaultStratum = 0;
|
89 |
|
|
private:
|
90 |
|
|
static ::java::util::Hashtable * _jdwp_suspend_counts;
|
91 |
|
|
public: // actually package-private
|
92 |
|
|
static ::java::util::Hashtable * _stepping_threads;
|
93 |
|
|
static ::java::util::ArrayList * _event_list;
|
94 |
|
|
public:
|
95 |
|
|
static ::java::lang::Class class$;
|
96 |
|
|
};
|
97 |
|
|
|
98 |
|
|
#endif // __gnu_classpath_jdwp_VMVirtualMachine__
|