blob: 331079b0ffdb97991bc00e01d95cd6b26fc8a96c (
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
|
/* Copyright (C) 2006 Free Software Foundation
This file is part of libgcj.
This software is copyrighted work licensed under the terms of the
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
details. */
/**
* @author Andrew John Hughes <gnu_andrew@member.fsf.org>
* @date Wed 21 Jun 2006 */
/* Written using online API docs for JDK 1.5 beta from http://java.sun.com.
* Status: Believed complete and correct.
*/
#include <config.h>
#include <jvm.h>
#include <unistd.h>
#include <gnu/java/lang/management/VMRuntimeMXBeanImpl.h>
JArray<jstring>* gnu::java::lang::management::VMRuntimeMXBeanImpl::getInputArguments()
{
return ::gcj::vmArgs;
}
jlong gnu::java::lang::management::VMRuntimeMXBeanImpl::getStartTime()
{
return ::gcj::startTime;
}
jlong gnu::java::lang::management::VMRuntimeMXBeanImpl::getPID()
{
return getpid();
}
|