gcc/libjava
Tom Tromey eeedeb5a17 natFinalizerThread.cc: New file.
* gnu/gcj/runtime/natFinalizerThread.cc: New file.
	* java/lang/natRuntime.cc: Include FinalizerThread.h.
	(runFinalization): Call finalizerReady.
	* nogc.cc (_Jv_GCInitializeFinalizers): New function.
	* prims.cc: Include VirtualMachineError.h, FinalizerThread.h.
	(_Jv_CreateJavaVM): Start the finalizer thread.
	* no-threads.cc: Include InternalError.h.
	(_Jv_ThreadStart): Throw InternalError.
	(_Jv_ThreadInitData): Don't throw error if this is not the first
	thread.
	* Makefile.in: Rebuilt.
	* Makefile.am (ordinary_java_source_files): Added
	FinalizerThread.java.
	(nat_source_files): Added natFinalizerThread.cc.
	* include/jvm.h (_Jv_GCInitializeFinalizers): Declare.
	* boehm.cc (_Jv_GCInitializeFinalizers): New function.
	* gnu/gcj/runtime/FirstThread.java (run): Start finalizer thread.
	* gnu/gcj/runtime/FinalizerThread.java: New file.

From-SVN: r46163
2001-10-10 22:25:43 +00:00
..
doc except.c (choose_personality_routine): Export. 2001-05-13 01:28:18 +00:00
gcj Makefile.am (core_java_source_files): add InheritableThreadLocal 2001-10-02 22:49:59 +00:00
gnu natFinalizerThread.cc: New file. 2001-10-10 22:25:43 +00:00
include natFinalizerThread.cc: New file. 2001-10-10 22:25:43 +00:00
java natFinalizerThread.cc: New file. 2001-10-10 22:25:43 +00:00
javax/naming InitialContext.java (init): Fix typo. 2001-03-28 01:32:02 +01:00
libltdl configure: Rebuilt. 2001-07-03 22:33:24 +00:00
org Add some org packages. 2001-07-11 03:59:16 +00:00
scripts encodings.pl: Generate lower-case names. 2001-06-26 04:36:47 +00:00
sysdep Jumbo patch: 2000-05-19 17:55:34 +00:00
testsuite final_initialization_in_ctor.java: New file 2001-09-27 12:17:16 -07:00
COPYING COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes... 2000-12-18 09:12:19 +00:00
ChangeLog natFinalizerThread.cc: New file. 2001-10-10 22:25:43 +00:00
ChangeLog-1999 Rotated ChangeLogs 2000-02-17 22:57:30 +00:00
HACKING * HACKING: add description on updating namespace 2001-07-29 10:05:08 +00:00
LIBGCJ_LICENSE All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
Makefile.am natFinalizerThread.cc: New file. 2001-10-10 22:25:43 +00:00
Makefile.in natFinalizerThread.cc: New file. 2001-10-10 22:25:43 +00:00
NEWS Updated the NEWS 2000-02-15 09:35:51 +00:00
README gcj.texi: Change sources.redhat.com reference to gcc.gnu.org. 2001-02-08 01:49:53 +00:00
THANKS Added John Gilmore. 2001-06-13 10:44:40 -07:00
acconfig.h re PR libgcj/3694 (natPlainDatagramSocketImpl.cc doesn't compile in ALPHA OSF1) 2001-08-01 17:53:00 +00:00
acinclude.m4 For PR java/2812: 2001-07-18 17:06:24 +00:00
aclocal.m4 For PR java/2812: 2001-07-18 17:06:24 +00:00
addr2name.awk Jumbo patch: 2000-05-19 17:55:34 +00:00
boehm.cc natFinalizerThread.cc: New file. 2001-10-10 22:25:43 +00:00
chartables.pl * All files: Updated copyright to reflect Cygnus purchase. 2000-01-19 18:39:27 +00:00
configure SharedLibLoader.java: New class. 2001-09-29 12:16:27 -07:00
configure.host configure.host: Enable hash synchronization for alpha*-*. 2001-07-23 03:51:17 +00:00
configure.in SharedLibLoader.java: New class. 2001-09-29 12:16:27 -07:00
defineclass.cc acinclude.m4: Fix spelling error of "separate" as "seperate". 2001-10-07 19:02:46 +01:00
exception.cc jvm.h (_Jv_AllocRawObj): New prototype. 2001-09-10 02:21:08 +01:00
gij.cc * gij.cc (version): Use GCJVERSION. 2001-10-03 12:42:28 +01:00
interpret.cc jvm.h (_Jv_VTable): Handle function descriptors for ia64... 2001-09-21 09:59:12 -07:00
jni.cc jni.cc (_Jv_JNI_DeleteLocalRef): Use correct frame size 2001-10-05 14:23:06 +00:00
libgcj-test.spec.in configure: Rebuilt. 2000-03-04 21:50:19 +00:00
libgcj.spec.in * libgcj.spec.in: Pass -fkeep-inline-functions to jc1. 2001-08-01 12:33:38 +00:00
libtool-version * libtool-version: Updated current. 2001-04-05 15:12:41 +00:00
mauve-libgcj Field.java (toString): Use Method.appendClassName. 2001-08-24 17:24:44 +00:00
name-finder.cc * name-finder.cc (lookup): Ignore a null dli_fname from d 2001-08-26 11:09:59 +01:00
no-threads.cc natFinalizerThread.cc: New file. 2001-10-10 22:25:43 +00:00
nogc.cc natFinalizerThread.cc: New file. 2001-10-10 22:25:43 +00:00
posix-threads.cc posix-threads.cc (_Jv_ThreadInterrupt): Re-enable interrupt of blocking IO via pthread_kill(). 2001-09-21 05:23:31 +01:00
posix.cc re PR libgcj/1351 (_Jv_select -vs- Thread.interrupt) 2001-02-13 18:44:51 +00:00
prims.cc natFinalizerThread.cc: New file. 2001-10-10 22:25:43 +00:00
resolve.cc * resolve.cc (_Jv_PrepareClass): Fix typos in vtable layout. 2001-10-03 08:54:34 +01:00
win32-threads.cc Implement invocation interface; don't create new thread for main. 2001-05-21 23:47:48 -07:00

README

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://gcc.gnu.org/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://gcc.gnu.org/cgi-bin/gnatsweb.pl?database=gcc