aboutsummaryrefslogtreecommitdiff
path: root/libjava/gcj
AgeCommit message (Collapse)Author
2004-01-30Mainline merge as of 2004-01-26.Diego Novillo
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@76954 138bc75d-0d04-0410-961f-82ee72b054a4
2003-12-01Mainline merge as of 2003-11-30.Diego Novillo
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@74123 138bc75d-0d04-0410-961f-82ee72b054a4
2003-10-28Mainline merge as of 2003-10-26.Diego Novillo
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@73009 138bc75d-0d04-0410-961f-82ee72b054a4
2003-10-19Mainline merge as of 2003-10-17.Diego Novillo
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@72663 138bc75d-0d04-0410-961f-82ee72b054a4
2003-10-06Merge from mainline, tree-ssa-20020619-merge-20031005.Richard Henderson
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@72155 138bc75d-0d04-0410-961f-82ee72b054a4
2003-09-28Merge from mainline.Richard Henderson
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@71875 138bc75d-0d04-0410-961f-82ee72b054a4
2003-07-23Mainline merge as of 2003-07-22.Diego Novillo
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@69712 138bc75d-0d04-0410-961f-82ee72b054a4
2003-07-212003-07-21 Steven Bosscher <steven@gcc.gnu.org>Diego Novillo
Diego Novillo <dnovillo@redhat.com> * Makefile.in (install-po): Check if $CATALOGS is empty to avoid buggy shells. * basic-block.h (rtl_verify_flow_info): Remove. (tree_verify_flow_info): Remove. (verify_flow_info): Declare. * builtins.c: Rearrange to simplify merges. Add #if 0 around expand_ functions that are not used in the branch and move new code to the end of the file. * c-opts.c (c_common_handle_option): Move handling of -fdump- to opts.c. * cfgloopmanip.c (loop_split_edge_with_NULL): Remove. Update all users. * common.opt: Add all the tree-ssa switches. * opts.c: Handle them. * flags.h (flag_tree_cp): Remove unused variable. (enum pta_type): Move from tree-must-alias.h (flag_tree_points_to): Likewise. * toplev.c (flag_tree_cp): Remove unused variable. * tree-cfg.c: Move cfg_hooks structures and functions for trees from cfghooks.c. * tree-mudflap.c (mudflap_enqueue_decl): Don't use %D to avoid warning about format specifiers. 2003-07-21 Diego Novillo <dnovillo@redhat.com> * gimplify.c (gimplify_function_tree): Move gimplification of the function body ... (gimplify_body): ... here. * tree-simple.h (gimplify_body): Declare. * tree-inline.c (initialize_inlined_parameters): If the emitted assignment is not in GIMPLE form, gimplify the body of assignments emitted. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@69631 138bc75d-0d04-0410-961f-82ee72b054a4
2003-03-02Mainline merge as of 2003-03-02.Diego Novillo
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@63675 138bc75d-0d04-0410-961f-82ee72b054a4
2003-02-03Mainline merge as of 2003-02-03. Needed to make some changes toDiego Novillo
adapt the branch to -Werror: ChangeLog.tree-ssa 2003-02-03 Diego Novillo <dnovillo@redhat.com> Fix warnings to allow bootstrapping with -Werror. * Makefile.in (c-semantics.o-warn): Add -Wno-error. (emit-rtl.o-warn): Likewise. (profile.o-warn): Likewise. (tree.o-warn): Likewise. (OBJS): Remove simple-break-elim.o and simple-goto-elim.o. * c-pretty-print.c (print_function_decl): Remove unused function. * bitmap.c (bitmap_last_set_bit): Initialize variable 'word'. * c-typeck.c (build_binary_op): Initialize variable 'type'. * combine.c (combine_simplify_rtx): Initialize variable 'reversed'. (make_compound_operation): Initialize variable 'i'. * dwarf2out.c (dwarf2out_finish): Initialize variable 'context'. * expr.c (store_constructor): Initialize variables 'lo', 'hi', 'startb' and 'endb'. (expand_expr): Initialize variable 'op0'. * fold-const.c (fold): Initialize variable 'tem'. * profile.c (branch_prob): Initialize variable 'prev_file_name'. * reload.c (find_equiv_reg): Initialize variables 'valtry and 'valueno'. * rtlanal.c (get_jump_table_offset): Initialize variable 'set'. * ssa-ccp.c (ssa_const_prop): Fix sign mismatch warning. * varasm.c (output_constant_def): Initialize variable 'defstr'. * gimplify.c (simplify_expr): Initialize variables 'saved_input_filename' and 'saved_lineno'. (simplify_compound_lval): Initialize variable 'code'. * tree-alias-ander.c (pta_bottom): De-ansify. (andersen_cleanup): Remove unused variables. (andersen_heap_assign): Mark argument lhs ATTRIBUTE_UNUSED. (pta_bottom): Remove unused function. (pta_get_ptsize): Remove unused function. cp/ChangeLog.tree-ssa 2003-02-03 Diego Novillo <dnovillo@redhat.com> * parser.c (cp_parser_asm_definition): Call finish_asm_stmt with 'volatile_p' directly. * typeck.c (build_binary_op): Initialize variable 'type'. * Make-lang.in (cp/tree.o-warn): Add -Wno-error. java/ChangeLog.tree-ssa 2003-02-03 Diego Novillo <dnovillo@redhat.com> * parse.y (qualify_ambiguous_name): Initialize variable 'decl'. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@62325 138bc75d-0d04-0410-961f-82ee72b054a4
2003-01-17Mainline merge as of 2003-01-17.Diego Novillo
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@61454 138bc75d-0d04-0410-961f-82ee72b054a4
2002-10-22Merge with basic-improvements as of 2002-10-21Diego Novillo
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@58414 138bc75d-0d04-0410-961f-82ee72b054a4
2002-10-11b-i-b merge as of 2002-10-11.Diego Novillo
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@58073 138bc75d-0d04-0410-961f-82ee72b054a4
2002-10-11This commit was manufactured by cvs2svn to create branchno-author
'tree-ssa-20020619-branch'. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@58072 138bc75d-0d04-0410-961f-82ee72b054a4
2002-08-26Mainline merge as of 2002-08-25.Diego Novillo
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@56572 138bc75d-0d04-0410-961f-82ee72b054a4
2002-07-24Mainline merge as of 2002-07-21.Diego Novillo
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@55706 138bc75d-0d04-0410-961f-82ee72b054a4
2002-07-03Mainline merge as of 2002-06-30.Diego Novillo
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/tree-ssa-20020619-branch@55219 138bc75d-0d04-0410-961f-82ee72b054a4
2002-06-18 * gcj/javaprims.h: Updated class declaration list.Tom Tromey
* Makefile.in: Rebuilt. * Makefile.am (core_java_source_files): Removed BasicMapEntry.java. * java/util/BasicMapEntry.java: Removed. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@54753 138bc75d-0d04-0410-961f-82ee72b054a4
2002-06-18 * gcj/javaprims.h: Updated class declaration list.Tom Tromey
* Makefile.in: Rebuilt. * Makefile.am (core_java_source_files): Added PropertyPermissionCollection.java. * java/lang/Thread.java (group, name): Now package-private. * java/lang/ThreadGroup.java: Re-merge with Classpath. * java/util/AbstractList.java: Likewise. * java/util/AbstractMap.java: Likewise. * java/util/Calendar.java: Likewise. * java/util/Collections.java: Likewise. * java/util/HashMap.java: Likewise. * java/util/Hashtable.java: Likewise. * java/util/LinkedHashMap.java: Likewise. * java/util/LinkedList.java: Likewise. * java/util/List.java: Likewise. * java/util/ListResourceBundle.java: Likewise. * java/util/Map.java: Likewise. * java/util/Observable.java: Likewise. * java/util/Properties.java: Likewise. * java/util/PropertyPermission.java: Likewise. * java/util/PropertyPermissionCollection.java: Likewise. * java/util/PropertyResourceBundle.java: Likewise. * java/util/Random.java: Likewise. * java/util/SimpleTimeZone.java: Likewise. * java/util/StringTokenizer.java: Likewise. * java/util/TimerTask.java: Likewise. * java/util/TreeMap.java: Likewise. * java/util/WeakHashMap.java: Likewise. * java/util/jar/Attributes.java: Likewise. * java/util/jar/JarException.java: Likewise. * java/util/jar/Manifest.java: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@54743 138bc75d-0d04-0410-961f-82ee72b054a4
2002-06-17 * gcj/javaprims.h: Updated class declaration list.Tom Tromey
* Makefile.in: Rebuilt. * Makefile.am (core_java_source_files): Added new file. * java/util/EventListenerProxy.java: New file. * java/util/EventListener.java: Re-merge with Classpath. * java/util/EventObject.java: Re-merge with Classpath. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@54720 138bc75d-0d04-0410-961f-82ee72b054a4
2002-06-17 * gcj/javaprims.h: Updated class declaration list.Tom Tromey
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@54693 138bc75d-0d04-0410-961f-82ee72b054a4
2002-06-11 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.Tom Tromey
(Class::getPackagePortion): Likewise. * java/lang/Class.java (desiredAssertionStatus): New method from Classpath. (getPackagePortion): Likewise. * java/lang/VMClassLoader.java (defaultAssertionStatus, packageAssertionStatus, classAssertionStatus): New methods from Classpath. * java/lang/ClassLoader.java (defaultAssertionStatus, systemPackageAssertionStatus, packageAssertionStatus, systemClassAssertionStatus, classAssertionStatus): New fields from Classpath. (setDefaultAssertionStatus, setPackageAssertionStatus, setClassAssertionStatus, clearAssertionStatus): New methods from Classpath. * Makefile.in: Rebuilt. * Makefile.am (core_java_source_files): Added AssertionError.java. * java/lang/AssertionError.java: New from Classpath. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@54517 138bc75d-0d04-0410-961f-82ee72b054a4
2002-05-24 Merge JDK 1.4 exception chaining support from classpath.Bryce McKinlay
* java/lang/Throwable.java: Merge 1.4 support from classpath. (stackTraceBytes): Rename from stackTrace. * java/lang/Exception.java: Merge from classpath. * java/lang/StackTraceElement: New file from classpath. * gcj/javaprims.h: Rebuild CNI namespace declarations. * Makefile.am: Add StackTraceElement. * Makefile.in: Rebuilt. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@53836 138bc75d-0d04-0410-961f-82ee72b054a4
2002-04-16 Fix for PR libgcj/6081:Tom Tromey
* Makefile.in: Rebuilt. * Makefile.am (install-data-local): Use GNU make trick to avoid shell limit. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@52370 138bc75d-0d04-0410-961f-82ee72b054a4
2002-04-12Install libgcj.jar as libgcj-VERSION.jar.Anthony Green
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@52226 138bc75d-0d04-0410-961f-82ee72b054a4
2002-04-10 * Makefile.in: Rebuilt.Tom Tromey
* Makefile.am (java/lang/Thread.h): Mark _Jv_AttachCurrentThreadAsDaemon as friend. * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare. * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function. * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New function. * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4. * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4. (_Jv_JNI_InvokeFunctions): Added _Jv_JNI_AttachCurrentThreadAsDaemon. (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4. (JNI_GetDefaultJavaVMInitArgs): Likewise. (JNI_CreateJavaVM): Likewise. (_Jv_JNI_AttachCurrentThread): Likewise. (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument. (_Jv_JNI_AttachCurrentThreadAsDaemon): New method. (_Jv_JNIFunctions): Initialize new fields. (_Jv_JNI_NewDirectByteBuffer): New function. (_Jv_JNI_GetDirectBufferAddress): Likewise. (_Jv_JNI_GetDirectBufferCapacity): Likewise. * include/jni.h (JNI_VERSION_1_4): New macro. (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field. (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method. (JNINativeInterface::NewDirectByteBuffer): New field. (JNINativeInterface::GetDirectBufferAddress): New field. (JNINativeInterface::GetDirectBufferCapacity): New field. (_Jv_JNIEnv::NewDirectByteBuffer): New method. (_Jv_JNIEnv::GetDirectBufferAddress): New method. (_Jv_JNIEnv::GetDirectBufferCapacity): New method. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@52144 138bc75d-0d04-0410-961f-82ee72b054a4
2002-03-272002-03-27 Anthony Green <green@redhat.com>Anthony Green
* libgcj.spec.in: Add CHECKREFSPEC. * configure.in: Ditto. * configure.host: Ditto. Check references for xscale-elf. * configure: Rebuilt. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@51457 138bc75d-0d04-0410-961f-82ee72b054a4
2002-03-26 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.Tom Tromey
(jv_convert_LDFLAGS): Likewise. (gij_LDFLAGS): Likewise. (rmic_LDFLAGS): Likewise. (rmiregistry_LDFLAGS): Likewise. * configure.in (THREADLDFLAGS): New subst; set correctly for *BSD. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@51363 138bc75d-0d04-0410-961f-82ee72b054a4
2002-03-23reverted erroneous checkinTom Tromey
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@51235 138bc75d-0d04-0410-961f-82ee72b054a4
2002-03-23 * include/name-finder.h (_Jv_name_finder::myclose): New method.Tom Tromey
* name-finder.cc (_Jv_name_finder): Initialize file descriptors. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@51234 138bc75d-0d04-0410-961f-82ee72b054a4
2002-03-15Install libgcj-config.h in a better place.Anthony Green
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@50817 138bc75d-0d04-0410-961f-82ee72b054a4
2002-02-27 * java/lang/natSystem.cc (init_properties): Use __VERSION__.Tom Tromey
* gij.cc (version): Use __VERSION__. * include/config.h.in: Rebuilt. * acconfig.h (GCJVERSION): Removed. * configure: Rebuilt. * configure.in (GCJVERSION): Removed. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@50088 138bc75d-0d04-0410-961f-82ee72b054a4
2002-02-23* Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.Alexandre Oliva
* testsuite/Makefile.in: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@49985 138bc75d-0d04-0410-961f-82ee72b054a4
2002-02-152002-02-14 Eric Blake <ebb9@email.byu.edu>Eric Blake
* gcj/javaprims.h (java::lang): Add java::lang::StrictMath. * Makefile.am (core_java_source_files): Add java/lang/StrictMath.java. * java/lang/Math.java: Merge with Classpath. * java/lang/StrictMath.java: New file - merge with Classpath. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@49781 138bc75d-0d04-0410-961f-82ee72b054a4
2001-12-16 For PR libgcj/5103:Tom Tromey
* include/jvm.h (__GCJ_JNI_IMPL__): Define. * include/config.h.in: Rebuilt. * configure: Rebuilt. * configure.in: Define JV_HAVE_INTTYPES_H if inttypes.h found. Added comment for HAVE_DLOPEN to avoid autoheader error. * gcj/libgcj-config.h.in (JV_HAVE_INTTYPES_H): Added. * include/jni.h: Include <gcj/libgcj-config.h>. Don't include CNI-specific headers if we are compiling ordinary JNI code with a C++ compiler. Include <inttypes.h> and JNIWeakRef.h when appropriate. * jni.cc: Don't include JNIWeakRef.h. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@48082 138bc75d-0d04-0410-961f-82ee72b054a4
2001-12-14 * libjava/prims.cc: Some old cleanups. The collector nowHans Boehm
handles test for out of memory. * libjava/prims.cc, libjava/gcj/javaprims.h: (_Jv_AllocObjectNoInitNoFinalizer, _Jv_AllocObjectNoFinalizer): New functions for finalizer-free allocation. (jvmpi_notify_alloc): Became separate function. * libjava/java/lang/Object.h, libjava/include/jvm.h: Adjust for revised vtable layout on IA64. With TARGET_VTABLE_USES_DESCRIPTORS, there is only one extra descriptor. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@48002 138bc75d-0d04-0410-961f-82ee72b054a4
2001-10-16 * gcj/javaprims.h: Updated class list.Tom Tromey
* java/util/Hashtable.java: Re-merged with Classpath. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@46295 138bc75d-0d04-0410-961f-82ee72b054a4
2001-10-02 * Makefile.am (core_java_source_files): add InheritableThreadLocalMark Wielaard
* Makefile.in: regenerate * gcj/javaprims.h: ditto * java/lang/InheritableThreadLocal.java: new class from Classpath * java/lang/Thread.java Thread (Thread, ThreadGroup, Runnable, String): call InheritableThreadLocal.newChildThread() git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@45979 138bc75d-0d04-0410-961f-82ee72b054a4
2001-10-02 * Makefile.am: Add new classesMark Wielaard
(core_java_source_files): CharSequence (ordinary_java_source_files): Authenticator, PasswordAuthentication * Makefile.in: regenerate * gcj/javaprims.h: ditto * java/lang/CharSequence: new class from Classpath * java/lang/String.java: implements CharSequence (subSequence (int,int)): new method * java/lang/SubString.java: implements CharSequence (subSequence (int,int)): new method remerge comments with Classpath * java/net/Authenticator.java: new class from Classpath * java/net/PasswordAuthentication.java: ditto git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@45969 138bc75d-0d04-0410-961f-82ee72b054a4
2001-10-02 * gcj/javaprims.h: Rebuilt class list.Tom Tromey
* boehm.cc (_Jv_GCRegisterDisappearingLink): New function. (_Jv_GCCanReclaimSoftReference): New function. * include/jvm.h (_Jv_GCRegisterDisappearingLink): Declare. (_Jv_GCCanReclaimSoftReference): Declare. * java/lang/ref/Reference.java (referent): Now a RawData. (create): Renamed from `created'. Added object argument. (Reference): Don't initialize `referent' here. * Makefile.in: Rebuilt. * Makefile.am (nat_source_files): Added new file. * java/lang/ref/natReference.cc: New file. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@45958 138bc75d-0d04-0410-961f-82ee72b054a4
2001-09-02 * gcj/javaprims.h: Regenerated class list.Tom Tromey
* java/lang/IllegalThreadStateException.java, java/lang/InstantiationException.java: Minor comment tweaks to satisfy libgcj `classes.pl' script. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@45354 138bc75d-0d04-0410-961f-82ee72b054a4
2001-09-01 * gcj/javaprims.h (_Jv_RegisterClassHook): New extern declaration.Per Bothner
(_Jv_RegisterClassHookDefault): Likewise. * java/lang/Class.h (_Jv_RegisterClassHookDefault): Declare as friend. * java/lang/natClassLoader.cc (_Jv_RegisterClassHook): New variable. (_Jv_RegisterClassHookDefault): New.function. (_Jv_RegisterClasses): Call _Jv_RegisterClassHook. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@45344 138bc75d-0d04-0410-961f-82ee72b054a4
2001-08-26 * Makefile.am: New friends for java/lang/Thread.h.Bryce McKinlay
* prims.cc (runFirst): Removed. (JvRunMain): Merged into _Jv_RunMain. Now just calls that. (_Jv_RunMain): Now takes either a klass or class name parameter. Create a gnu.gcj.runtime.FirstThread and attach the native thread to that, then run it using _Jv_ThreadRun. Remove special handling of jar files, instead pass is_jar parameter through to FirstThread. * gcj/javaprims.h: Add prototypes for _Jv_ThreadRun and new variant of _Jv_AttachCurrentThread. * gnu/gcj/runtime/FirstThread.java (FirstThread): Now extends Thread. (run): New method. Take care of looking up main class manifest attribute and calling forName if neccessary. Then call call_main. (call_main): New native method. * gnu/gcj/runtime/natFirstThread.cc (call_main): New function, code relocated from prims.cc. Look up and call main method. * java/lang/Thread.java (run_): Removed. * java/lang/natThread.cc (run_): Renamed to... (_Jv_ThreadRun): this. JVMPI notification code moved to ... (_Jv_NotifyThreadStart): here. New function. (countStackFrames, destroy, resume, suspend, stop): Throw UnsupportedOperationExceptions rather than JvFail'ing. (_Jv_AttachCurrentThread): New variant takes a Thread argument. Existing version wraps new variant. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@45182 138bc75d-0d04-0410-961f-82ee72b054a4
2001-08-15 * jni.cc: Include IdentityHashMap.h, not Hashtable.h.Tom Tromey
(local_ref_table, global_ref_table): Now IdentityHashMap. (_Jv_JNI_Init): Updated for new types. (mark_for_gc): Likewise. (unmark_for_gc): Likewise. * gcj/javaprims.h: Rebuilt class list. * Makefile.in: Rebuilt. * Makefile.am (core_java_source_files): Added new file. * java/util/IdentityHashMap.java: New file. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@44929 138bc75d-0d04-0410-961f-82ee72b054a4
2001-07-23 * gcj/javaprims.h: Rebuilt class list.Tom Tromey
* Makefile.in: Rebuilt. * Makefile.am (core_java_source_files): Added VMClassLoader. * java/lang/VMClassLoader.java: New file. * java/lang/Boolean.java: Merged with Classpath. * java/lang/Byte.java: Merged with Classpath. * java/lang/Integer.java: Merged with Classpath. * java/lang/Long.java: Merged with Classpath. * java/lang/Number.java: Merged with Classpath. * java/lang/Short.java: Merged with Classpath. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@44274 138bc75d-0d04-0410-961f-82ee72b054a4
2001-07-03 Fix for PR bootstrap/3281:Tom Tromey
* aclocal.m4, configure: Rebuilt. * acinclude.m4 (LIBGCJ_CONFIGURE): Don't set libgcj_flagbasedir. Correctly compute libgcj_basedir. (mkinstalldirs): Define and subst. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@43739 138bc75d-0d04-0410-961f-82ee72b054a4
2001-06-08 For PR bootstrap/3075:Tom Tromey
* configure, aclocal.m4, Makefile.am: Rebuilt. * configure.in: Pass `--with-auxdir' to subdir configure. Don't call AC_CONFIG_AUX_DIR or AC_CANONICAL_SYSTEM. Look for unwind.h relative to libgcj_basedir. * acinclude.m4 ((LIBGCJ_CONFIGURE): Call AC_CONFIG_AUX_DIR and AC_CANONICAL_SYSTEM here. * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not libgcj_basedir. ($(extra_headers)): New target. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@43034 138bc75d-0d04-0410-961f-82ee72b054a4
2001-06-02Remove libgcjdata hack. Fix jv-scan usage in dejagnu.Anthony Green
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@42812 138bc75d-0d04-0410-961f-82ee72b054a4
2001-06-02USE_LIBFFI changeAnthony Green
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@42791 138bc75d-0d04-0410-961f-82ee72b054a4
2001-05-242001-05-23 Tom Tromey <tromey@redhat.com>Tom Tromey
* posix-threads.cc (_Jv_self_cache): Renamed from self_cache. * gcj/Makefile.in: Rebuilt. * gcj/Makefile.am (gcj_HEADERS): Added libgcj-config.h. * gcj/javaprims.h: Include gcj/libgcj-config.h. * gcj/libgcj-config.h.in: New file. * libgcj.spec.in (*jc1): Added @HASH_SYNC_SPEC@. * configure: Rebuilt. * configure.in: Enable hash synchronization by default on some platforms. (HASH_SYNC_SPEC): New subst. (AC_CONFIG_HEADER): Added gcj/libgcj-config.h. Correctly use `test -z' instead of `test -n' in a couple places. (JV_HASH_SYNCHRONIZATION): Use AC_DEFINE; don't add to LIBGCJ_CXXFLAGS. * configure.host (enable_java_net_default): Initialize. (enable_hash_synchronization_default): New variable. 2001-05-23 Hans Boehm <Hans_Boehm@hp.com> * boehm.cc (_Jv_MarkObj): Don't mark sync_info when hash synchronization in use. (_Jv_MarkArray): Likewise. (_Jv_AllocBytes): Don't check return result. (handle_out_of_memory): New function. (_Jv_InitGC): Set GC_oom_fn. (trace_one_vtable): New global. (_Jv_AllocTraceOne): New function. * configure.in: Added --enable-hash-synchronization. * defineclass.cc, prims.cc, resolve.cc, java/lang/natString.cc, java/net/natInetAddress.cc: Remove _Jv_AllocBytesChecked. * nogc.cc (_Jv_AllocObj): Throw out-of-memory. (_Jv_AllocArray): Likewise. (_Jv_AllocBytes): Likewise. (_Jv_AllocPtrFreeObject): New function. (_Jv_AllocTraceOne): Likewise. * posix-threads.cc (_Jv_ThreadRegister): Handle slow pthread_self(). (self_cache): New global. (_Jv_ThreadSelf_out_of_line): New function. * prims.cc (_Jv_AllocBytesChecked): Removed. (_Jv_ThrowNoMemory): New function. (_Jv_AllocObject): Don't check for null return from allocator. (_Jv_NewObjectArray): Likewise. (_Jv_AllocPtrFreeObject): New function. (_Jv_NewPrimArray): Allocate pointer-free object if possible. * include/javaprims.h (_Jv_AllocPtrFreeObject): Declare. (_Jv_MonitorEnter, _Jv_MonitorExit): Don't return value. * include/boehm-gc.h (_Jv_AllocObj): Define. (_Jv_AllocPtrFreeObj): Define. * include/jvm.h (_Jv_AllocPtrFreeObj): Declare. (_Jv_ThrowNoMemory): Declare. (_Jv_AllocTraceOne): Declare. (_Jv_AllocBytesChecked): Removed. * include/posix-threads.h (_Jv_MutexInit, _Jv_MutexLock, _Jv_MutexUnlock): Handle LOCK_DEBUG. (_Jv_ThreadSelf): Handle case where system pthread_self() is slow. * java/lang/Class.h (Class): Declare _Jv_AllocPtrFreeObj as friend. * java/lang/Object.h (sync_info): Conditional upon presence of hash synchronization. * java/lang/natObject.cc: Much new code to handle thin locks and hash synchronization. * java/lang/natString.cc (_Jv_AllocString): Allocate pointer-free object if possible. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@42519 138bc75d-0d04-0410-961f-82ee72b054a4