gcc/libjava
Anthony Green 54c2f04ba0 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
2000-04-02 15:34:17 +00:00
..
doc configure: Rebuilt. 1999-10-13 00:00:35 +00:00
gcj [multiple changes] 2000-03-26 20:33:04 +00:00
gnu/gcj JVMPI changes... 2000-04-02 15:34:17 +00:00
include JVMPI changes... 2000-04-02 15:34:17 +00:00
java JVMPI changes... 2000-04-02 15:34:17 +00:00
libltdl ltdl.c: If HAVE_BOEHM_GC defined, includ gc.h. 2000-02-14 21:59:58 +00:00
scripts All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
testsuite Test case for PR libgcj/184: 2000-03-29 03:08:59 +01:00
acconfig.h JVMPI changes... 2000-04-02 15:34:17 +00:00
acinclude.m4 aclocal.m4, configure: Rebuilt. 1999-09-28 20:14:11 +00:00
aclocal.m4 Runtime.java (loadLibraryInternal): Declare. 2000-01-17 19:22:20 +00:00
boehm.cc JVMPI changes... 2000-04-02 15:34:17 +00:00
ChangeLog JVMPI changes... 2000-04-02 15:34:17 +00:00
ChangeLog-1999 Rotated ChangeLogs 2000-02-17 22:57:30 +00:00
chartables.pl * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
configure JVMPI changes... 2000-04-02 15:34:17 +00:00
configure.host configure.host: Fix __NO_MATH_INLNES botch. 2000-03-05 22:26:30 +00:00
configure.in JVMPI changes... 2000-04-02 15:34:17 +00:00
COPYING All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
defineclass.cc All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
exception.cc [multiple changes] 2000-03-15 22:03:19 +00:00
gij.cc All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
interpret.cc [multiple changes] 2000-03-26 20:33:04 +00:00
jni.cc JVMPI changes... 2000-04-02 15:34:17 +00:00
LIBGCJ_LICENSE All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
libgcj-test.spec.in configure: Rebuilt. 2000-03-04 21:50:19 +00:00
libgcj.spec.in libgcjdata.c: New file. 1999-12-20 02:18:11 +00:00
libgcjdata.c All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
libtool-version libtool-version: Catch up by incrementing current. 1999-10-15 06:07:41 +00:00
Makefile.am Synchronized gcjh commands for java/lang/Thread.h with Makefile.in. 2000-03-28 05:43:44 +01:00
Makefile.in Forgot to commit this earlier. 2000-03-28 05:36:22 +01:00
mauve-libgcj * mauve-libgcj: Don't disable ClassTest. 2000-01-07 20:42:26 +00:00
name-finder.cc name-finder.cc (lookup): Check for dladdr function. 2000-01-18 14:42:14 +00:00
NEWS Updated the NEWS 2000-02-15 09:35:51 +00:00
no-threads.cc All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
nogc.cc JVMPI changes... 2000-04-02 15:34:17 +00:00
posix-threads.cc Makefile.in: New #defines and friends for Thread.h. 2000-03-28 03:22:24 +01:00
prims.cc JVMPI changes... 2000-04-02 15:34:17 +00:00
README Updated again. 2000-03-09 22:42:01 +00:00
resolve.cc [multiple changes] 2000-03-26 20:33:04 +00:00
THANKS THANKS updates 2000-02-29 17:11:46 +00:00
win32-threads.cc Makefile.in: New #defines and friends for Thread.h. 2000-03-28 03:22:24 +01:00

This is libgcj: the runtime library for gcj, the GNU Compiler for Java. 
libgcj provides a partial implementation of the Java Class Libraries.

libgcj is free software.  See the file LIBGCJ_LICENSE for copying permission.


DOCUMENTATION
=============

All documentation, including detailed installation and usage instructions,
can be found on the gcj web pages at this URL:

		http://sourceware.cygnus.com/java/


REQUIREMENTS
============

libgcj must be built with a compatible version of the gcc compiler. libgcj
releases are usually numbered according to their corresponding gcc release.
For example, if this is "libgcj 2.95.3", you need to build it using "gcc
2.95.3".


QUICK INSTALLATION
==================

  > mkdir build
  > cd build
  > ../libgcj/configure --enable-threads=<THREADS_TYPE> --prefix=<DIR>
  > make
  > make install

where:

<THREADS_TYPE> specifies the threads library to be used by libgcj. Currently 
the possible values are "posix" and "none". This value must be the same as
the value used when configuring gcc itself.

<DIR> specifies the installation directory. This should be the same location 
as where gcc is installed.

Consult the gcj web pages for additional "configure" arguments.

NOTE: libgcj can not be built in the same directory as `configure'. You must 
create a separate build directory. 


BUGS
====

Please submit bug reports via this URL:

	http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?database=java