blob: 4679cc0b146aba0b275c63739ca319c87e284319 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_lang_Runtime__
#define __java_lang_Runtime__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
class java::lang::Runtime : public ::java::lang::Object
{
Runtime();
public:
static ::java::lang::Runtime * getRuntime();
virtual void exit(jint);
public: // actually package-private
static void exitNoChecksAccessor(jint);
private:
void exitNoChecks(jint);
public: // actually package-private
virtual jboolean runShutdownHooks();
public:
virtual void addShutdownHook(::java::lang::Thread *);
virtual jboolean removeShutdownHook(::java::lang::Thread *);
virtual void halt(jint);
static void runFinalizersOnExit(jboolean);
virtual ::java::lang::Process * exec(::java::lang::String *);
virtual ::java::lang::Process * exec(::java::lang::String *, JArray< ::java::lang::String * > *);
virtual ::java::lang::Process * exec(::java::lang::String *, JArray< ::java::lang::String * > *, ::java::io::File *);
virtual ::java::lang::Process * exec(JArray< ::java::lang::String * > *);
virtual ::java::lang::Process * exec(JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *);
virtual ::java::lang::Process * exec(JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, ::java::io::File *);
virtual jint availableProcessors();
virtual jlong freeMemory();
virtual jlong totalMemory();
virtual jlong maxMemory();
virtual void gc();
virtual void runFinalization();
virtual void traceInstructions(jboolean);
virtual void traceMethodCalls(jboolean);
virtual void load(::java::lang::String *);
virtual void loadLibrary(::java::lang::String *);
virtual ::java::io::InputStream * getLocalizedInputStream(::java::io::InputStream *);
virtual ::java::io::OutputStream * getLocalizedOutputStream(::java::io::OutputStream *);
public: // actually package-private
virtual void exitInternal(jint);
virtual void _load(::java::lang::String *, jboolean);
virtual jboolean loadLibraryInternal(::java::lang::String *);
private:
static void init();
void runFinalizationForExit();
public: // actually package-private
static ::java::lang::String * nativeGetLibname(::java::lang::String *, ::java::lang::String *);
virtual ::java::lang::Process * execInternal(JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, ::java::io::File *);
private:
JArray< ::java::lang::String * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) libpath;
::java::lang::Thread * exitSequence;
::java::util::Set * shutdownHooks;
jboolean finalizeOnExit;
static ::java::lang::Runtime * current;
public:
static ::java::lang::Class class$;
};
#endif // __java_lang_Runtime__
|