diff options
author | Anthony Green <green@redhat.com> | 2000-04-02 15:34:17 +0000 |
---|---|---|
committer | Anthony Green <green@gcc.gnu.org> | 2000-04-02 15:34:17 +0000 |
commit | 54c2f04ba05ce07e701345bc66d038b7d47a9bed (patch) | |
tree | 199d2b90d14943e4a167f1af547706f43926aeb3 /libjava/nogc.cc | |
parent | 49d1b8712898e27fde111afc2310e0d43768e8d7 (diff) | |
download | gcc-54c2f04ba05ce07e701345bc66d038b7d47a9bed.tar.gz |
JVMPI changes...
Sun Apr 2 08:27:18 2000 Anthony Green <green@redhat.com>
* configure: Rebuilt.
* configure.in: Add --disable-jvmpi.
* include/config.h.in: Rebuilt.
* acconfig.h: Add ENABLE_JVMPI.
* include/jvm.h: Declare _Jv_DisableGC and _Jv_EnableGC.
(_Jv_JVMPI_Notify_OBJECT_ALLOC): New define.
(_Jv_JVMPI_Notify_THREAD_END): New define.
(_Jv_JVMPI_Notify_THREAD_END): New define.
* prims.cc (_Jv_JVMPI_Notify_OBJECT_ALLOC): Declare.
(_Jv_JVMPI_Notify_THREAD_END): Declare.
(_Jv_JVMPI_Notify_THREAD_END): Declare.
* prims.cc (_Jv_AllocObject): Generate JVMPI object allocation
events.
* java/lang/natThread.cc: Include JVMPI headers if necessary.
(finish_): Generate JVMPI thread end events.
(run_): Generate JVMPI thread start events.
* gnu/gcj/runtime/natFirstThread.cc (run): Call JNI_OnLoad for any
preloaded JNI library.
Include JVMPI headers if necessary.
(run): Generate JVMPI thread start events.
* boehm.cc: Define GC_disable and GC_enable.
(_Jv_DisableGC): New function.
(_Jv_EnableGC): New function.
(disable_gc_mutex): Declare.
* nogc.cc (_Jv_DisableGC): New function.
(_Jv_EnableGC): New function.
* jni.cc (_Jv_JNI_GetEnv): Handle JVMPI interface requests.
(_Jv_JVMPI_Interface): Define.
(jvmpiEnableEvent): New function.
(_Jv_JNI_Init): Initialize _Jv_JVMPI_Interface.
* include/jvmpi.h: New file.
From-SVN: r32866
Diffstat (limited to 'libjava/nogc.cc')
-rw-r--r-- | libjava/nogc.cc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/libjava/nogc.cc b/libjava/nogc.cc index 1524139079a..10d4f80ed00 100644 --- a/libjava/nogc.cc +++ b/libjava/nogc.cc @@ -1,6 +1,6 @@ // nogc.cc - Code to implement no GC. -/* Copyright (C) 1998, 1999 Free Software Foundation +/* Copyright (C) 1998, 1999, 2000 Free Software Foundation This file is part of libgcj. @@ -86,6 +86,16 @@ _Jv_GCSetMaximumHeapSize (size_t size) } void +_Jv_DisableGC (void) +{ +} + +void +_Jv_EnableGC (void) +{ +} + +void _Jv_InitGC (void) { } |