OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [java/] [lang/] [management/] [natVMRuntimeMXBeanImpl.cc] - Blame information for rev 756

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 756 jeremybenn
/* Copyright (C) 2006  Free Software Foundation
2
 
3
   This file is part of libgcj.
4
 
5
This software is copyrighted work licensed under the terms of the
6
Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
7
details.  */
8
 
9
/**
10
 * @author Andrew John Hughes <gnu_andrew@member.fsf.org>
11
 * @date Wed 21 Jun 2006 */
12
/* Written using online API docs for JDK 1.5 beta from http://java.sun.com.
13
 * Status:  Believed complete and correct.
14
 */
15
 
16
#include <config.h>
17
 
18
#include <jvm.h>
19
 
20
#include <unistd.h>
21
 
22
#include <gnu/java/lang/management/VMRuntimeMXBeanImpl.h>
23
 
24
JArray<jstring>* gnu::java::lang::management::VMRuntimeMXBeanImpl::getInputArguments()
25
{
26
  return ::gcj::vmArgs;
27
}
28
 
29
jlong gnu::java::lang::management::VMRuntimeMXBeanImpl::getStartTime()
30
{
31
  return ::gcj::startTime;
32
}
33
 
34
jlong gnu::java::lang::management::VMRuntimeMXBeanImpl::getPID()
35
{
36
  return getpid();
37
}
38
 
39
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.