cacao.git
16 years ago* src/vm/jit/s390/codegen.h (N_BRANCH_MIN, N_BRANCH_MAX): Fix (muliply by 2).
Peter Molnar [Thu, 27 Sep 2007 22:12:29 +0000 (22:12 +0000)]
* src/vm/jit/s390/codegen.h (N_BRANCH_MIN, N_BRANCH_MAX): Fix (muliply by 2).

16 years ago* src/vm/jit/argument.c (argument_vmarray_store_adr): Fixed for handles.
Michael Starzinger [Thu, 27 Sep 2007 19:19:31 +0000 (21:19 +0200)]
* src/vm/jit/argument.c (argument_vmarray_store_adr): Fixed for handles.
* src/vm/vm.c (vm_call_array): Likewise.

16 years ago* src/vm/vm.c (vm_call_array): Made static, removed compiler call.
Michael Starzinger [Thu, 27 Sep 2007 19:05:19 +0000 (21:05 +0200)]
* src/vm/vm.c (vm_call_array): Made static, removed compiler call.
(vm_call_method_objectarray): Added.
(vm_call_method_valist): Added nativeworld macros, added compiler call.
(vm_call_method_jvalue): Likewise.

* src/vm/vm.h (vm_call_array): Removed prototypes.
(vm_call_method_objectarray): Added prototype.

* src/native/jni.c (_Jv_jni_invokeNative): Moved parts to vm.c for clearness.

16 years ago* src/vm/jit/code.c (code_get_methodinfo_for_pv): Return NULL if code
Christian Thalinger [Thu, 27 Sep 2007 18:57:57 +0000 (20:57 +0200)]
* src/vm/jit/code.c (code_get_methodinfo_for_pv): Return NULL if code
is NULL (asm_vm_call_method).

16 years ago* src/threads/threads-common.c (vmcore/options.h): Fixed include.
Michael Starzinger [Thu, 27 Sep 2007 18:44:27 +0000 (20:44 +0200)]
* src/threads/threads-common.c (vmcore/options.h): Fixed include.

16 years ago* src/mm/memory.c (memory_mprotect): Fixed signature, manpage is wrong
Christian Thalinger [Thu, 27 Sep 2007 16:23:47 +0000 (18:23 +0200)]
* src/mm/memory.c (memory_mprotect): Fixed signature, manpage is wrong
about the signature of mprotect.
* src/mm/memory.h: Likewise.

16 years ago* src/vm/jit/argument.c (argument_vmarray_store_int),
Michael Starzinger [Thu, 27 Sep 2007 10:48:12 +0000 (12:48 +0200)]
* src/vm/jit/argument.c (argument_vmarray_store_int),
(argument_vmarray_store_lng),
(argument_vmarray_store_flt),
(argument_vmarray_store_dbl),
(argument_vmarray_store_adr),
(argument_vmarray_from_valist),
(argument_vmarray_from_jvalue),
(argument_vmarray_from_objectarray): Moved from vm.c to this file.

* src/vm/jit/argument.h (argument_vmarray_from_valist): Added prototype.
(argument_vmarray_from_jvalue): Likewise.
(argument_vmarray_from_objectarray): Likewise.

* src/vm/vm.c: See above!

* src/vm/vm.h (vm_array_from_objectarray): Removed prototype.

* src/native/jni.c (_Jv_jni_invokeNative): Adapted to above changes.

16 years ago* src/vmcore/class.c (class_is_primitive,
Christian Thalinger [Thu, 27 Sep 2007 10:16:49 +0000 (12:16 +0200)]
* src/vmcore/class.c (class_is_primitive,
class_is_anonymousclass,
class_is_array,
class_is_interface,
class_is_localclass,
class_is_memberclass,
class_get_classloader,
class_get_superclass): Moved to class.h and made them static inline.
* src/vmcore/class.h: Likewise.

16 years ago* src/threads/lock-common.h: Removed obsolete comment.
Michael Starzinger [Thu, 27 Sep 2007 10:03:21 +0000 (12:03 +0200)]
* src/threads/lock-common.h: Removed obsolete comment.
* src/toolbox/logging.c (threads/threads-common.h): Added include.

16 years ago* src/mm/gc-common.h (heap_hashcode): Added inline function.
Michael Starzinger [Thu, 27 Sep 2007 09:48:43 +0000 (11:48 +0200)]
* src/mm/gc-common.h (heap_hashcode): Added inline function.

* src/native/jni.c: Use above function throughout file.
* src/native/vm/gnu/java_lang_VMSystem.c: Likewise.
* src/threads/native/lock.c: Likewise.
* src/vmcore/loader.c: Likewise.

16 years ago* src/threads/native/lock.c: Renamed monitorPtr to lockword in the
Christian Thalinger [Wed, 26 Sep 2007 11:01:19 +0000 (13:01 +0200)]
* src/threads/native/lock.c: Renamed monitorPtr to lockword in the
whole file.
(stdint.h): Added.

* src/vm/global.h (stdint.h): Added.
(java_object_t): Renamed monitorPtr to lockword and changed the type
to uintptr_t.

16 years ago* src/threads/native/threads.c (threads_init): Removed obsolete call to register
Michael Starzinger [Wed, 26 Sep 2007 01:29:46 +0000 (03:29 +0200)]
* src/threads/native/threads.c (threads_init): Removed obsolete call to register
references with the GC.

* src/threads/threads-common.c (threads_thread_new): Also register reference
to exception object with the GC.

16 years ago* src/threads/native/threads.c: Improved debug output.
Michael Starzinger [Wed, 26 Sep 2007 01:09:51 +0000 (03:09 +0200)]
* src/threads/native/threads.c: Improved debug output.
* src/threads/threads-common.c: Likewise.

* src/threads/threads-common.h (DEBUGTHREADS): Added.

* src/vm/vm.c (vm_create): Removed -verbose:threads option.

* src/vmcore/options.c (opt_DebugThreads): Added -XX:+DebugThreads option.
* src/vmcore/options.h (opt_DebugThreads): Likewise.

16 years ago* src/threads/native/threads.h (native/include/java_lang_Thread.h): Removed.
Michael Starzinger [Tue, 25 Sep 2007 22:23:55 +0000 (00:23 +0200)]
* src/threads/native/threads.h (native/include/java_lang_Thread.h): Removed.
(threadobject): The object pointer is of type java_object_t now.

* src/threads/native/threads.c: Adapted to above changes and use LLNI macros.

* src/threads/threads-common.h (threads_thread_start): Changed signature to not
use java_lang_Thread anymore.

* src/threads/threads-common.c: Adapted to above changes and use LLNI macros.
(threads_preinit): Fixed corruption of mainthread->flags.

16 years ago* src/vm/jit/alpha/md.c (md_patch_replacement_point): Removed debug code.
Michael Starzinger [Tue, 25 Sep 2007 21:34:27 +0000 (23:34 +0200)]
* src/vm/jit/alpha/md.c (md_patch_replacement_point): Removed debug code.
* src/vm/jit/i386/md.c: Likewise.
* src/vm/jit/mips/md.c: Likewise.
* src/vm/jit/powerpc/md.c: Likewise.
* src/vm/jit/powerpc64/md.c: Likewise.
* src/vm/jit/sparc64/md.c: Likewise.
* src/vm/jit/x86_64/md.c: Likewise.

* src/vm/jit/replace.c
(replace_activate_replacement_points) [ENABLE_DISASSEMBLER]: Improved debug.
(replace_deactivate_replacement_points) [ENABLE_DISASSEMBLER]: Likewise.

16 years ago* src/native/localref.c [ENABLE_HANDLES] (localref_native_exit): Implemented.
Michael Starzinger [Tue, 25 Sep 2007 13:10:55 +0000 (15:10 +0200)]
* src/native/localref.c [ENABLE_HANDLES] (localref_native_exit): Implemented.
(localref_native_enter): Renamed from localref_fill.

* src/native/localref.h (localref_native_exit): Added prototype.
(localref_native_enter): Renamed from localref_fill.

* src/vm/jit/argument.c (argument_jitreturn_store): Implemented.

* src/vm/jit/argument.h (argument_jitreturn_store): Added prototype.

* src/vm/jit/codegen-common.c (codegen_start_native_call): Improved comments
and adapted to above changes.
(codegen_finish_native_call): Likewise.

16 years ago* src/cacaoh/dummy.c (llni_critical_start, llni_critical_end): Removed aborts.
Michael Starzinger [Tue, 25 Sep 2007 13:03:29 +0000 (15:03 +0200)]
* src/cacaoh/dummy.c (llni_critical_start, llni_critical_end): Removed aborts.

16 years ago* src/vm/signal.c (signal_handle): Wrap and unwrap references correctly.
Michael Starzinger [Tue, 25 Sep 2007 12:55:56 +0000 (14:55 +0200)]
* src/vm/signal.c (signal_handle): Wrap and unwrap references correctly.

16 years ago* src/vm/jit/replace.c (replace_find_replacement_point_for_pc): Fixed assertion.
Michael Starzinger [Tue, 25 Sep 2007 11:32:15 +0000 (13:32 +0200)]
* src/vm/jit/replace.c (replace_find_replacement_point_for_pc): Fixed assertion.
(replace_me_wrapper): Simplified search for replacement point.

16 years ago* src/vm/jit/alpha/linux/md-os.c (md_replace_executionstate_write): Fixed
Michael Starzinger [Tue, 25 Sep 2007 10:23:40 +0000 (12:23 +0200)]
* src/vm/jit/alpha/linux/md-os.c (md_replace_executionstate_write): Fixed
compiler warning.

* src/vm/jit/x86_64/linux/md-os.c (md_replace_executionstate_read): Implemented.
(md_replace_executionstate_write): Likewise.

16 years ago* src/vm/jit/i386/arch.h (REPLACEMENT_PATCH_SIZE): Adapted to new trap mcode.
Michael Starzinger [Tue, 25 Sep 2007 10:16:53 +0000 (12:16 +0200)]
* src/vm/jit/i386/arch.h (REPLACEMENT_PATCH_SIZE): Adapted to new trap mcode.
* src/vm/jit/x86_64/arch.h (REPLACEMENT_PATCH_SIZE): Likewise.

16 years ago* src/vm/jit/codegen-common.c (codegen_set_replacement_point): Add NOPs if
Michael Starzinger [Tue, 25 Sep 2007 07:32:51 +0000 (09:32 +0200)]
* src/vm/jit/codegen-common.c (codegen_set_replacement_point): Add NOPs if
replacement testing mode is enabled.

* src/vm/jit/replace.c (replace_me_wrapper): Finished implementation.
(replace_me): Major code cleanup. Removed safestack stuff.
(replace_build_execution_state): Likewise.
(replace_activate_replacement_points): Adapted changes from previous rev.
(replace_deactivate_replacement_points): Likewise.
(replace_alloc_safestack): Removed.
(replace_free_safestack): Removed.

* src/vm/jit/replace.h (replace_safestack_t): Removed.
(md_replace_executionstate_read): Added prototype.
(md_replace_executionstate_write): Likewise.

* src/vm/signal.c (signal_handle): Adapted to new replace_me_wrapper.

16 years ago* src/vm/signallocal.h (signal_handle): Changed signature.
Michael Starzinger [Mon, 24 Sep 2007 23:11:17 +0000 (01:11 +0200)]
* src/vm/signallocal.h (signal_handle): Changed signature.

* src/vm/signal.c (signal_handles): Create stackframeinfo here.

* src/vm/jit/alpha/linux/md-os.c (md_signal_handler_sigsegv): Adapted to new
signature and removed stackframeinfo creation.

* src/vm/jit/arm/linux/md-os.c: Likewise.
* src/vm/jit/i386/darwin/md-os.c: Likewise.
* src/vm/jit/i386/linux/md-os.c: Likewise.
* src/vm/jit/m68k/linux/md-os.c: Likewise.
* src/vm/jit/mips/irix/md-os.c: Likewise.
* src/vm/jit/mips/linux/md-os.c: Likewise.
* src/vm/jit/powerpc/darwin/md-os.c: Likewise.
* src/vm/jit/powerpc/linux/md-os.c: Likewise.
* src/vm/jit/powerpc64/linux/md-os.c: Likewise.
* src/vm/jit/s390/md.c: Likewise.
* src/vm/jit/sparc64/linux/md-os.c: Likewise.
* src/vm/jit/sparc64/solaris/md-os.c: Likewise.
* src/vm/jit/x86_64/linux/md-os.c: Likewise.

16 years ago* src/vm/jit/i386/asmpart.S (asm_replacement_in, asm_replacement_out): Removed
Michael Starzinger [Mon, 24 Sep 2007 20:46:16 +0000 (22:46 +0200)]
* src/vm/jit/i386/asmpart.S (asm_replacement_in, asm_replacement_out): Removed
obsolete functions.

* src/vm/jit/i386/cygwin/md-asm.h: Likewise.
* src/vm/jit/i386/darwin/md-asm.h: Likewise.
* src/vm/jit/mips/asmpart.S: Likewise.
* src/vm/jit/powerpc/asmpart.S: Likewise.
* src/vm/jit/powerpc/darwin/md-asm.h: Likewise.
* src/vm/jit/powerpc64/asmpart.S: Likewise.
* src/vm/jit/s390/asmpart.S: Likewise.
* src/vm/jit/x86_64/asmpart.S: Likewise.

16 years ago* src/vm/jit/m68k/emit.c (emit_replacement_stubs): Removed obsolete function.
Michael Starzinger [Mon, 24 Sep 2007 20:36:23 +0000 (22:36 +0200)]
* src/vm/jit/m68k/emit.c (emit_replacement_stubs): Removed obsolete function.
* src/vm/jit/i386/linux/md-os.c: Reordered functions in file.

16 years ago* src/vm/jit/alpha/md.c (md_patch_replacement_point): Changed signature.
Michael Starzinger [Mon, 24 Sep 2007 20:23:42 +0000 (22:23 +0200)]
* src/vm/jit/alpha/md.c (md_patch_replacement_point): Changed signature.

* src/vm/jit/i386/md.c: Likewise.
* src/vm/jit/mips/md.c: Likewise.
* src/vm/jit/powerpc/md.c: Likewise.
* src/vm/jit/powerpc64/md.c: Likewise.
* src/vm/jit/s390/md.c: Likewise.
* src/vm/jit/sparc64/md.c: Likewise.
* src/vm/jit/x86_64/md.c: Likewise.

16 years ago* src/vm/jit/jit.c (jit_compile_intern) [ENABLE_REPLACEMENT]: Activate
Michael Starzinger [Mon, 24 Sep 2007 18:25:13 +0000 (20:25 +0200)]
* src/vm/jit/jit.c (jit_compile_intern) [ENABLE_REPLACEMENT]: Activate
replacement points after code generation if testing option is given.

* src/vmcore/options.c [ENABLE_REPLACEMENT] (opt_TestReplacement): Added
replacement testing option.

* src/vmcore/options.h [ENABLE_REPLACEMENT] (opt_TestReplacement): Likewise.

16 years ago* src/vmcore/statistics.c (size_stacksize): New variable.
Christian Thalinger [Sun, 23 Sep 2007 19:19:28 +0000 (21:19 +0200)]
* src/vmcore/statistics.c (size_stacksize): New variable.
(statistics_print_memory_usage): Print new variable.
* src/vmcore/statistics.h (size_stacksize): Added.

16 years ago* src/mm/memory.c (memory_mprotect): New function.
Christian Thalinger [Sun, 23 Sep 2007 19:18:31 +0000 (21:18 +0200)]
* src/mm/memory.c (memory_mprotect): New function.
* src/mm/memory.h: Likewise.

16 years ago* src/vm/signal.c (signal_handle): Fixed debug output.
Christian Thalinger [Sun, 23 Sep 2007 19:17:48 +0000 (21:17 +0200)]
* src/vm/signal.c (signal_handle): Fixed debug output.

16 years ago* src/threads/native/threads.c (threads_impl_thread_start): Print
Christian Thalinger [Sun, 23 Sep 2007 18:18:52 +0000 (20:18 +0200)]
* src/threads/native/threads.c (threads_impl_thread_start): Print
error of return value (errno is not set by pthread functions).

16 years ago* src/threads/threads-common.c (list_threads_free): Renamed to
Christian Thalinger [Sat, 22 Sep 2007 23:26:52 +0000 (01:26 +0200)]
* src/threads/threads-common.c (list_threads_free): Renamed to
list_free_thread_index.
(thread_index_t): New type.
(threads_preinit): Initialize list_free_thread_index.
(threads_thread_new): Use list_free_thread_index
(threads_thread_free): Likewise and free the threadobject.

* src/vmcore/statistics.c (stdint.h): Added.
(size_thread_index_t): Likewise.
(statistics_print_memory_usage): Print size_thread_index_t.
* src/vmcore/statistics.h (stdint.h): Added.
(size_thread_index_t): Likewise.

16 years ago * src/vm/jit/codegen-common.c (codegen_start_native_call, codegen_finish_native_call...
Peter Molnar [Sat, 22 Sep 2007 18:41:13 +0000 (18:41 +0000)]
 * src/vm/jit/codegen-common.c (codegen_start_native_call, codegen_finish_native_call) [__S390__]: Adapted for s390.
 * src/vm/jit/s390/codegen.c (codegen_emit_stub_native): Adapted for builtin stubs.
 * src/vm/jit/s390/md-abi.c (md_param_alloc_native): On stack arguments are now already set off by the linkage area size.

16 years ago * src/vm/jit/s390/emit.c (emit_verbosecall_enter, emit_verbosecall_exit): Adapted...
Peter Molnar [Sat, 22 Sep 2007 14:35:40 +0000 (14:35 +0000)]
 * src/vm/jit/s390/emit.c (emit_verbosecall_enter, emit_verbosecall_exit): Adapted to modified trace_java_call_enter and trace_jave_call_exit.

16 years ago* configure.ac (AC_CHECK_FUNCS): Added getsockopt.
Christian Thalinger [Fri, 21 Sep 2007 10:39:47 +0000 (12:39 +0200)]
* configure.ac (AC_CHECK_FUNCS): Added getsockopt.

* src/native/vm/sun/jvm.c (stdint.h): Added.
(sys/types.h): Likewise.
(JVM_HoldsLock): Implemented.
(JVM_SocketAvailable): Likewise.
(JVM_GetSockOpt): Likewise.
(JVM_SetSockOpt) [HAVE_SETSOCKOPT]: Added #ifdef.

16 years ago* src/vm/jit/alpha/codegen.c (codegen_emit_stub_native): Save and
Christian Thalinger [Fri, 21 Sep 2007 10:37:12 +0000 (12:37 +0200)]
* src/vm/jit/alpha/codegen.c (codegen_emit_stub_native): Save and
restore floats as float so the trace functions can print them
correctly.

16 years ago* src/vmcore/options.c (opt_DebugStackTrace): Changed type to int.
Christian Thalinger [Fri, 21 Sep 2007 10:33:49 +0000 (12:33 +0200)]
* src/vmcore/options.c (opt_DebugStackTrace): Changed type to int.
(options_xx): Forgot to handle opt_DebugStackTrace.
* src/vmcore/options.h (opt_DebugStackTrace): Changed type to int.

16 years ago* src/vmcore/class.c [!NDEBUG] (class_classref_or_classinfo_println):
Christian Thalinger [Thu, 20 Sep 2007 09:53:23 +0000 (11:53 +0200)]
* src/vmcore/class.c [!NDEBUG] (class_classref_or_classinfo_println):
Added missing #ifdef.

16 years ago* src/vmcore/loader.c (loader_init): Don't use utf_java_lang_System.
Christian Thalinger [Wed, 19 Sep 2007 18:17:08 +0000 (20:17 +0200)]
* src/vmcore/loader.c (loader_init): Don't use utf_java_lang_System.

* src/vmcore/utf8.c (utf_java_lang_System): Removed.
(utf8_init): Likewise.
* src/vmcore/utf8.h: Likewise.

16 years ago* src/vm/exceptions.c (exceptions_init): Changed return value to void,
Christian Thalinger [Wed, 19 Sep 2007 17:52:58 +0000 (19:52 +0200)]
* src/vm/exceptions.c (exceptions_init): Changed return value to void,
removed class_java_lang_Throwable loading and linking.
(exceptions_throw_linkageerror): Removed unused variable o.

* src/vm/exceptions.h (exceptions_init): Changed return value to void.
(new_exception_utfmessage): Removed.

* src/vm/vm.c (vm_create): Don't check return value of
exceptions_init.

16 years ago* src/cacaoh/dummy.c (vm_initializing): Added.
Christian Thalinger [Wed, 19 Sep 2007 17:34:04 +0000 (19:34 +0200)]
* src/cacaoh/dummy.c (vm_initializing): Added.

* src/vm/exceptions.c (exceptions_init): Removed all class loads and
links.
(exceptions_abort): New function.
(exceptions_new_class): Removed.
(exceptions_throw_class): Likewise.
(exceptions_new_class_utf): Likewise.
(exceptions_throw_class_utf): Likewise.
(exceptions_throw_classnotfoundexception): Use
exceptions_throw_utf_utf.
(exceptions_throw_noclassdeffounderror): Likewise.
(exceptions_throw_linkageerror): Likewise.
(exceptions_throw_nosuchmethoderror): Likewise.
(exceptions_throw_unsatisfiedlinkerror: Likewise.
(exceptions_new_classcastexception): Use exceptions_new_utf_utf.
(exceptions_throw_outofmemoryerror): Use exceptions_throw_utf.
(exceptions_throw_nullpointerexception): Likewise.
(exceptions_new_nullpointerexception): Use exceptions_new_utf.
(exceptions_classnotfoundexception_to_noclassdeffounderror): Load
java/lang/ClassNotFoundException explicitly.

* src/vm/initialize.c (initialize_class_intern): Load
java/lang/Exception explicitly.

* src/vmcore/class.c (class_java_lang_Error): Removed.
(class_java_lang_LinkageError): Likewise.
(class_java_lang_NoClassDefFoundError): Likewise.
(class_java_lang_OutOfMemoryError): Likewise.
(class_java_lang_VirtualMachineError): Likewise.
(class_java_lang_Exception): Likewise.
(class_java_lang_ClassCastException): Likewise.
(class_java_lang_ClassNotFoundException): Likewise.
* src/vmcore/class.h: Likewise.

* src/vmcore/linker.c (linker_init): Added class_java_lang_Throwable
and class_java_lang_VMThrowable.

* src/vmcore/loader.c (loader_preinit): Don't check for error on
load_class_bootstrap, this is now done in the exception functions.
(loader_init): Likewise.
(load_class_bootstrap): Removed utf_java_lang_Object check.

* src/vmcore/utf8.c (utf_java_lang_VMThrowable): Removed.
* src/vmcore/utf8.h: Likewise.

16 years ago* src/vm/properties.c (properties_dump): New function.
Christian Thalinger [Wed, 19 Sep 2007 14:39:51 +0000 (16:39 +0200)]
* src/vm/properties.c (properties_dump): New function.
* src/vm/properties.h: Likewise.

16 years ago* doc/Makefile.am (dist_noinst_DATA): Added annotations.tex and jsr.bib
Mathias Panzenboeck [Tue, 18 Sep 2007 14:40:03 +0000 (16:40 +0200)]
* doc/Makefile.am (dist_noinst_DATA): Added annotations.tex and jsr.bib
(annotations): New target which creates annotations.dvi
(clean): Clean the annotations.aux/.bbl/.dvi/... files.

* doc/annotations.tex: New file. This is the documentation of the annotations
support implementation.

* doc/jsr.bib: New file. Contains bibtex reference for JSR202.

16 years ago* src/cacaoh/cacaoh.c (main): Removed linkverbose.
Christian Thalinger [Tue, 18 Sep 2007 13:50:31 +0000 (15:50 +0200)]
* src/cacaoh/cacaoh.c (main): Removed linkverbose.

* src/vm/vm.c (vm_printconfig): Made static.
(vm_create): Call vm_printconfig after the VM is initialized.
* src/vm/vm.h (vm_printconfig): Removed.

* src/vmcore/linker.c (TRACELINKCLASS): New macro.
(link_class_intern): Use TRACELINKCLASS.

* src/vmcore/options.c (linkverbose): Removed.
(opt_TraceLinkClass): Added.
(options_xx): OPT_PrintConfig: Don't call vm_printconfig,
OPT_TraceLinkClass: Added.
* src/vmcore/options.h (linkverbose): Removed.
(opt_TraceLinkClass): Added.

16 years ago* src/vm/jit/patcher-common.c (patcher_handler) [!NDEBUG]: #ifdef'ed
Christian Thalinger [Tue, 18 Sep 2007 10:44:29 +0000 (12:44 +0200)]
* src/vm/jit/patcher-common.c (patcher_handler) [!NDEBUG]: #ifdef'ed
debug output.

16 years ago* src/threads/native/lock.c (lock_record_notify): Ignore already
Christian Thalinger [Tue, 18 Sep 2007 10:34:40 +0000 (12:34 +0200)]
* src/threads/native/lock.c (lock_record_notify): Ignore already
signaled threads.

16 years ago* src/native/vm/sun/jvm.c (JVM_GetClassAccessFlags): Use
Christian Thalinger [Tue, 18 Sep 2007 10:17:29 +0000 (12:17 +0200)]
* src/native/vm/sun/jvm.c (JVM_GetClassAccessFlags): Use
TRACEJVMCALLS.

16 years ago* configure.ac (AC_CHECK_FUNCS): Added fsync.
Christian Thalinger [Sun, 16 Sep 2007 23:47:50 +0000 (01:47 +0200)]
* configure.ac (AC_CHECK_FUNCS): Added fsync.
* src/native/vm/sun/jvm.c (JVM_Sync): Implemented.

16 years ago* src/native/vm/sun_misc_Unsafe.c (staticFieldOffset): Return 0.
Christian Thalinger [Sun, 16 Sep 2007 23:13:24 +0000 (01:13 +0200)]
* src/native/vm/sun_misc_Unsafe.c (staticFieldOffset): Return 0.
(staticFieldBase): Return the pointer to value.

16 years ago* src/native/vm/gnu/java_lang_VMClass.c (getModifiers): Use
Christian Thalinger [Sun, 16 Sep 2007 20:06:03 +0000 (22:06 +0200)]
* src/native/vm/gnu/java_lang_VMClass.c (getModifiers): Use
class_get_modifiers.
* src/native/vm/sun/jvm.c (JVM_GetClassModifiers): Likewise.

* src/native/vm/java_lang_Class.c (class_get_modifiers): Removed.
* src/native/vm/java_lang_Class.h: Likewise.

* src/vmcore/class.c (class_get_modifiers): New function.
* src/vmcore/class.h: Likewise.

16 years ago* src/native/vm/sun/jvm.c (JVM_GetStackAccessControlContext): Use
Christian Thalinger [Sun, 16 Sep 2007 18:47:54 +0000 (20:47 +0200)]
* src/native/vm/sun/jvm.c (JVM_GetStackAccessControlContext): Use
TRACEJVMCALLS.
(JVM_AssertionStatusDirectives): Likewise.

16 years ago* src/native/vm/sun/jvm.c (JVM_IsThreadAlive): Use LLNI_equals.
Christian Thalinger [Sun, 16 Sep 2007 18:46:03 +0000 (20:46 +0200)]
* src/native/vm/sun/jvm.c (JVM_IsThreadAlive): Use LLNI_equals.

16 years ago* Merged with 5a268f292149.
Christian Thalinger [Sun, 16 Sep 2007 18:41:06 +0000 (20:41 +0200)]
* Merged with 5a268f292149.

16 years ago* src/native/jni.c (_Jv_JNI_NewWeakGlobalRef): Use TRACEJNICALLS.
Christian Thalinger [Sun, 16 Sep 2007 18:39:21 +0000 (20:39 +0200)]
* src/native/jni.c (_Jv_JNI_NewWeakGlobalRef): Use TRACEJNICALLS.
(_Jv_JNI_DeleteWeakGlobalRef): Likewise.

16 years ago* src/native/llni.h (LLNI_equals): Added macro.
Mathias Panzenboeck [Sun, 16 Sep 2007 17:43:42 +0000 (19:43 +0200)]
* src/native/llni.h (LLNI_equals): Added macro.

16 years ago* src/cacaoh/dummy.c (package_add): New function.
Christian Thalinger [Sun, 16 Sep 2007 16:47:08 +0000 (18:47 +0200)]
* src/cacaoh/dummy.c (package_add): New function.

* src/native/vm/sun/jvm.c (vm/package.h): Added.
(JVM_GetSystemPackage): Implemented.

* src/vm/Makefile.am (libvm_la_SOURCES): Added package.[ch].

* src/vm/package.c: New file.
* src/vm/package.h: Likewise.

* src/vm/vm.c (vm/package.h): Added.
(vm_create): Call package_init.

* src/vmcore/loader.c (vm/package.h): Added.
(load_class_bootstrap): Call package_add.

* src/vmcore/options.c (opt_DebugPackage): Added.
(options_xx): Likewise.
* src/vmcore/options.h (opt_DebugPackage): Added.

16 years ago* src/threads/native/threads.c (threads_detach_thread): Notify all
Christian Thalinger [Sun, 16 Sep 2007 14:24:10 +0000 (16:24 +0200)]
* src/threads/native/threads.c (threads_detach_thread): Notify all
threads waiting on the Java thread-object.

16 years ago* src/mm/nogc.c [HAVE_SYS_MMAN_H] (sys/mman.h): Added #ifdef.
Christian Thalinger [Sun, 16 Sep 2007 12:27:01 +0000 (14:27 +0200)]
* src/mm/nogc.c [HAVE_SYS_MMAN_H] (sys/mman.h): Added #ifdef.
(heap_alloc_uncollectable): Added additional parameter for heap_alloc.
(gc_init) [HAVE_MMAP]: Added #ifdef.

16 years ago* src/vmcore/class.c (class_set_packagename): Added '/' to the
Christian Thalinger [Sat, 15 Sep 2007 18:18:04 +0000 (20:18 +0200)]
* src/vmcore/class.c (class_set_packagename): Added '/' to the
internal package name.

16 years ago* src/native/vm/java_lang_Thread.c (isAlive): Removed.
Christian Thalinger [Sat, 15 Sep 2007 17:37:26 +0000 (19:37 +0200)]
* src/native/vm/java_lang_Thread.c (isAlive): Removed.
* src/native/vm/java_lang_Thread.h: Likewise.

* src/native/vm/cldc1.1/java_lang_Thread.c (stdint.h): Added.
(isAlive): Use threads_thread_is_alive.

* src/native/vm/sun/jvm.c (JVM_IsThreadAlive): Likewise.

16 years ago* src/vm/vm.c (vm_array_from_objectarray): TYPE_LNG: Added missing
Christian Thalinger [Fri, 14 Sep 2007 21:39:49 +0000 (23:39 +0200)]
* src/vm/vm.c (vm_array_from_objectarray): TYPE_LNG: Added missing
primitive_type_get_by_wrapperclass to get type (fixes JBoss).

16 years ago* src/vm/vm.c (vm_array_from_objectarray): Removed illegal_arg label
Christian Thalinger [Fri, 14 Sep 2007 21:16:04 +0000 (23:16 +0200)]
* src/vm/vm.c (vm_array_from_objectarray): Removed illegal_arg label
and throw exception directly.  This makes it easier for debugging and
newer compilers can optimize that.

16 years ago* src/threads/threads-common.c (threads_thread_state_runnable): Don't
Christian Thalinger [Fri, 14 Sep 2007 18:24:51 +0000 (20:24 +0200)]
* src/threads/threads-common.c (threads_thread_state_runnable): Don't
change the state if the current state is THREAD_STATE_TERMINATED.
(threads_thread_state_waiting): Likewise.
(threads_thread_state_timed_waiting): Likewise.
(threads_thread_is_alive): Smaller changes.
* src/threads/threads-common.h (threads_thread_is_alive): Likewise.

16 years ago* src/threads/native/lock.c (LOCK_LOG): Removed.
Christian Thalinger [Fri, 14 Sep 2007 18:19:27 +0000 (20:19 +0200)]
* src/threads/native/lock.c (LOCK_LOG): Removed.
(DEBUGLOCKS): New macro.
(lock_record_new): Added DEBUGLOCKS.
(lock_record_free): Likewise.
(lock_hashtable_grow): Likewise.
(lock_hashtable_get): Likewise.
(lock_inflate): Likewise.
(lock_monitor_enter): Likewise.
(lock_monitor_exit): Likewise.
(lock_record_wait): Likewise.
(lock_record_notify): Likewise.

* src/vmcore/options.c (opt_DebugLocks): Added.
(options_xx): Likewise.
* src/vmcore/options.h (opt_DebugLocks): Added.

16 years ago* src/native/vm/sun_misc_Unsafe.c (getShort): New function.
Christian Thalinger [Fri, 14 Sep 2007 18:11:26 +0000 (20:11 +0200)]
* src/native/vm/sun_misc_Unsafe.c (getShort): New function.
(putLong): Likewise.
(getDouble): Likewise.
(putDouble): Likewise.

16 years ago* src/threads/native/lock.c (toolbox/list.h): Added.
Christian Thalinger [Fri, 14 Sep 2007 17:44:53 +0000 (19:44 +0200)]
* src/threads/native/lock.c (toolbox/list.h): Added.
(lock_record_t): Create waiters list.
(lock_record_free): Free waiters list.
(lock_record_add_waiter): Use list.
(lock_record_remove_waiter): Likewise.
(lock_record_notify): Likewise.

* src/threads/native/lock.h (toolbox/list.h): Added.
(lock_waiter_t): Removed next, added linkage.
(lock_record_t): Changed waiters to a list_t.

16 years ago* src/vm/jit/codegen-common.c [WITH_CLASSPATH_SUN]
Christian Thalinger [Fri, 14 Sep 2007 11:38:29 +0000 (13:38 +0200)]
* src/vm/jit/codegen-common.c [WITH_CLASSPATH_SUN]
(native/include/java_lang_Object.h, native/include/java_lang_String.h,
native/include/java_nio_ByteBuffer.h,
native/include/java_lang_ClassLoader.h): Added.

16 years ago* src/vmcore/annotation.c: Fixed comment.
Mathias Panzenboeck [Thu, 13 Sep 2007 22:24:23 +0000 (00:24 +0200)]
* src/vmcore/annotation.c: Fixed comment.

16 years ago* src/threads/native/threads.c (threads_wait_with_timeout): Renamed
Christian Thalinger [Thu, 13 Sep 2007 22:01:07 +0000 (00:01 +0200)]
* src/threads/native/threads.c (threads_wait_with_timeout): Renamed
thread to t.

16 years ago* src/toolbox/list.c (list_free): New function.
Christian Thalinger [Thu, 13 Sep 2007 21:55:42 +0000 (23:55 +0200)]
* src/toolbox/list.c (list_free): New function.
(list_lock): Likewise.
(list_unlock): Likewise.
* src/toolbox/list.h: Likewise.

16 years ago* src/vm/exceptions.c (exceptions_get_exception): Simplyfied.
Christian Thalinger [Thu, 13 Sep 2007 21:04:06 +0000 (23:04 +0200)]
* src/vm/exceptions.c (exceptions_get_exception): Simplyfied.
(exceptions_set_exception): Added debug output.
(exceptions_clear_exception): Use explicit implementation and added
debug output.
(exceptions_get_and_clear_exception): Only clear when an exception is
set.

* src/vmcore/options.c (opt_DebugExceptions): Added.
(options_xx): Likewise.
* src/vmcore/options.h: Likewise.

16 years ago* src/threads/native/lock.c (lock_record_wait): No longer throws and exception
Michael Starzinger [Thu, 13 Sep 2007 20:58:15 +0000 (22:58 +0200)]
* src/threads/native/lock.c (lock_record_wait): No longer throws and exception
but returns a boolean value indicating the interruption.
(lock_monitor_enter): Ignore interruption of lock_record_wait.
(lock_monitor_wait): Throw an exception if interrupted.

16 years ago* src/cacaoh/headers.h (_exceptionptr): Removed.
Christian Thalinger [Thu, 13 Sep 2007 20:26:06 +0000 (22:26 +0200)]
* src/cacaoh/headers.h (_exceptionptr): Removed.

* src/threads/native/threads.h (exceptionptr): Removed.
* src/threads/none/threads.h: Likewise.

* src/vm/exceptions.c (exceptions_get_exception): Rewritten to use
threadobject directly.
(exceptions_set_exception): Likewise.

* src/vm/jit/inline/inline.c (inline_transform)
[INLINE_VERIFY_RESULT]: Use exceptions_clear_exception.

16 years ago* src/vm/jit/arm/asmpart.S (asm_exceptionptr): Removed.
Michael Starzinger [Thu, 13 Sep 2007 20:16:33 +0000 (22:16 +0200)]
* src/vm/jit/arm/asmpart.S (asm_exceptionptr): Removed.

16 years agoRemoved misleading comment about copying stuff from linux kernel. This was true,
tbfg@localhost.localdomain [Thu, 13 Sep 2007 19:41:31 +0000 (21:41 +0200)]
Removed misleading comment about copying stuff from linux kernel. This was true,
but the implementation has been removed and the ppc solution was adapted for pp64.

16 years ago* src/vm/vm.c (vm_create): Removed obsolete -se option.
Michael Starzinger [Thu, 13 Sep 2007 15:41:28 +0000 (17:41 +0200)]
* src/vm/vm.c (vm_create): Removed obsolete -se option.
* src/vm/jit/show.c (show_method): No longer show exception stubs.
* src/vmcore/options.c (opt_showexceptionstubs): Removed.
* src/vmcore/options.h (opt_showexceptionstubs): Likewise.

16 years ago* src/vm/jit/arm/codegen.h: Major code cleanup and support VFP instructions.
Michael Starzinger [Thu, 13 Sep 2007 15:16:02 +0000 (17:16 +0200)]
* src/vm/jit/arm/codegen.h: Major code cleanup and support VFP instructions.
* src/vm/jit/arm/codegen.c: Adapted to above changes.

16 years ago* Merged with michi branch at rev 21fd42e049a3.
Michael Starzinger [Thu, 13 Sep 2007 14:39:34 +0000 (16:39 +0200)]
* Merged with michi branch at rev 21fd42e049a3.

16 years ago* src/vm/builtintable.inc (builtintable_internal): Create builtin stubs for
Michael Starzinger [Thu, 13 Sep 2007 13:48:36 +0000 (15:48 +0200)]
* src/vm/builtintable.inc (builtintable_internal): Create builtin stubs for
LOCK_monitor_enter and LOCK_monitor_exit, because they throw exceptions.
This will slow down Cacao, we need the fast-path or inline those builtins!

--HG--
branch : michi

16 years ago* src/vm/jit/arm/asmpart.S (asm_cacheflush): Code cleanup and support for EABI
Michael Starzinger [Thu, 13 Sep 2007 11:06:51 +0000 (13:06 +0200)]
* src/vm/jit/arm/asmpart.S (asm_cacheflush): Code cleanup and support for EABI
syscall calling conventions.

--HG--
branch : michi

16 years ago* src/vm/jit/s390/codegen.c (codegen_emit_stub_native): Replaced N_* code generation...
Peter Molnar [Wed, 12 Sep 2007 22:16:51 +0000 (22:16 +0000)]
* src/vm/jit/s390/codegen.c (codegen_emit_stub_native): Replaced N_* code generation macros by alpha-like M_* ones.

16 years ago* src/vmcore/annotation.c
Mathias Panzenboeck [Wed, 12 Sep 2007 21:56:08 +0000 (23:56 +0200)]
* src/vmcore/annotation.c
(LLNI_objectarray_copy): Removed macro.
(annotation_bytearrays_resize): Use MCOPY instead of my own macro.

16 years ago* src/vm/jit/s390/asmpart.S
Peter Molnar [Wed, 12 Sep 2007 21:17:38 +0000 (21:17 +0000)]
* src/vm/jit/s390/asmpart.S
src/vm/jit/s390/codegen.c,
src/vm/jit/s390/codegen.h,
src/vm/jit/s390/emit.c,
src/vm/jit/s390/emit.h,
src/vm/jit/s390/md-abi.c,
src/vm/jit/s390/md-abi.h,
src/vm/jit/s390/md-asm.h,
src/vm/jit/s390/md.c: Changed JIT ABI on s390: R0 is now REG_ITMP3, R12 is a saved register, REG_ITMPs are reordered, REG_ITMP1_XPTR is now REG_ITMP3_XPTR, REG_ITMP2_XPC is now REG_ITMP1_XPC.

16 years ago* src/native/llni.h
Mathias Panzenboeck [Wed, 12 Sep 2007 16:16:50 +0000 (18:16 +0200)]
* src/native/llni.h
(LLNI_classinfo_field_get): New macro.
(LLNI_classinfo_field_set): Likewise.

* src/vmcore/annotation.c
(LLNI_objectarray_copy): New macro. This macro will be replaced by a
appropriate array_* function once such a function exists.
(annotation_bytearrays_resize): Use above macro and improved variable naming.
(annotation_bytearrays_insert): Changed type of parameter 1 and return type and
improved variable naming.
(annotation_load_attribute_body): Use LLNI_CRITICAL_START and LLNI_CRITICAL_END.
(annotation_load_method_attribute_annotationdefault): Use
LLNI_classinfo_field_get and LLNI_classinfo_field_set macros.
(annotation_load_method_attribute_runtimevisibleparameterannotations): Likewise.
(annotation_load_method_attribute_runtimevisibleannotations): Likewise.
(annotation_load_field_attribute_runtimevisibleannotations): Likewise.
(annotation_load_class_attribute_runtimevisibleannotations): Use
LLNI_classinfo_field_set macro.

* src/vmcore/class.c
(class_get_annotations): Use LLNI_classinfo_field_get macro.

* src/vmcore/class.h
(classinfo.annotations),
(classinfo.method_annotations),
(classinfo.method_parameterannotations),
(classinfo.method_annotationdefaults),
(classinfo.field_annotations): Changed type to java_object_t*.

* src/vmcore/field.c
(native/llni.h): Added include.
(field_get_annotations): Use LLNI_classinfo_field_get macro.

* src/vmcore/method.c
(method_get_annotations): Use LLNI_classinfo_field_get macro.
(method_get_parameterannotations): Likewise.
(method_get_annotationdefault): Likewise.

16 years ago* src/native/jni.c (jni_version_check): New function.
Christian Thalinger [Wed, 12 Sep 2007 15:45:02 +0000 (17:45 +0200)]
* src/native/jni.c (jni_version_check): New function.
* src/native/jni.h: Likewise.

* src/native/vm/sun/jvm.c (JVM_IsSupportedJNIVersion): Use
jni_version_check.
* src/vm/vm.c (vm_create): Likewise.

16 years ago* src/vm/vm.c (vm_create): Initialize properties list before handling
Christian Thalinger [Wed, 12 Sep 2007 15:34:40 +0000 (17:34 +0200)]
* src/vm/vm.c (vm_create): Initialize properties list before handling
-XX options handling.

16 years ago* src/vm/properties.c (properties_add) [!NDEBUG]: Added debug output.
Christian Thalinger [Wed, 12 Sep 2007 15:16:54 +0000 (17:16 +0200)]
* src/vm/properties.c (properties_add) [!NDEBUG]: Added debug output.

* src/vm/vm.c (opts): Removed XX.
(vm_create): Call options_xx almost as first function, so we can
enable debugging from all stuff.

* src/vmcore/options.c (opt_DebugProperties): New option.
(options_xx): Changed signature and parse all options in the array.
* src/vmcore/options.h (opt_DebugProperties): Added.
(options_xx): Changed signature.

16 years ago* src/threads/native/threads.c: Renamed bogus __MIPS__ ifdefs to __IRIX__.
Michael Starzinger [Wed, 12 Sep 2007 14:30:02 +0000 (16:30 +0200)]
* src/threads/native/threads.c: Renamed bogus __MIPS__ ifdefs to __IRIX__.

* src/vm/jit/mips/codegen.c (codegen_emit): Fixed ICMD_BUILTIN stub calling.
(codegen_emit_stub_native): Adapted to new signature and builtin stubs.

--HG--
branch : michi

16 years agoMerged 7484:52fc709fd248.
Peter Molnar [Wed, 12 Sep 2007 12:44:01 +0000 (12:44 +0000)]
Merged 7484:52fc709fd248.

16 years ago* src/vm/jit/s390/codegen.c (codegen_emit_stub_native): Changed some N_MOV to M_MOV.
Peter Molnar [Wed, 12 Sep 2007 12:33:15 +0000 (12:33 +0000)]
* src/vm/jit/s390/codegen.c (codegen_emit_stub_native): Changed some N_MOV to M_MOV.
* src/vm/jit/s390/asmpart.S, src/vm/jit/s390/md-asm.h, src/vm/jit/s390/md-abi.h, src/vm/jit/s390/md-abi.c: Reverted [7237:9a2ce00b716e] where f4 and f6 were made callee saved.

16 years ago* src/vm/jit/patcher-common.c: Improved comments.
Michael Starzinger [Wed, 12 Sep 2007 11:32:11 +0000 (13:32 +0200)]
* src/vm/jit/patcher-common.c: Improved comments.
(patcher_handler): Enabled use of -XX:+DebugPatcher.

* src/vmcore/options.c (opt_DebugPatcher): Added and set by above debug flag.
* src/vmcore/options.h (opt_DebugPatcher): Added.

16 years ago* src/vm/jit/alpha/codegen.c (codegen_emit_stub_builtin): Removed.
Michael Starzinger [Wed, 12 Sep 2007 10:06:33 +0000 (12:06 +0200)]
* src/vm/jit/alpha/codegen.c (codegen_emit_stub_builtin): Removed.
(codegen_emit_stub_native): Adapted to new signature and builtins.

* src/vm/jit/arm/codegen.c (codegen_emit_stub_native): Adapted to new signature.

* src/vm/jit/alpha/codegen.c (codegen_start_native_call) [__ALPHA__]: Call
tracing is done from here now.
(codegen_finish_native_call) [__ALPHA__]: Likewise.

--HG--
branch : michi

16 years ago* src/native/vm/Makefile.am
Christian Thalinger [Wed, 12 Sep 2007 08:51:22 +0000 (10:51 +0200)]
* src/native/vm/Makefile.am
(JAVA_UTIL_CONCURRENT_ATOMIC_ATOMICLONG_SOURCES): Removed.
(libnativevm_la_SOURCES): Removed
JAVA_UTIL_CONCURRENT_ATOMIC_ATOMICLONG_SOURCES.

* src/native/vm/gnu/java_util_concurrent_atomic_AtomicLong.c
(native/vm/java_util_concurrent_atomic_AtomicLong.h): Removed.
(native/include/java_util_concurrent_atomic_AtomicLong.h): Added.
(methods): VMSupportsCS8: Use
Java_java_util_concurrent_atomic_AtomicLong_VMSupportsCS8.
(Java_java_util_concurrent_atomic_AtomicLong_VMSupportsCS8): New
function.

* src/native/vm/sun/jvm.c
(native/vm/java_util_concurrent_atomic_AtomicLong.h): Removed.
(JVM_SupportsCX8): Just return 0 for now.

* src/native/vm/java_util_concurrent_atomic_AtomicLong.c: Removed.
* src/native/vm/java_util_concurrent_atomic_AtomicLong.h: Likewise.

16 years ago* src/native/vm/cldc1.1/java_lang_Class.c (methods): isInterface: Use
Christian Thalinger [Wed, 12 Sep 2007 08:01:19 +0000 (10:01 +0200)]
* src/native/vm/cldc1.1/java_lang_Class.c (methods): isInterface: Use
Java_java_lang_Class_isInterface.
(isInterface): New function.

* src/native/vm/gnu/java_lang_VMClass.c (vm/exceptions.h): Added.
(vm/stringlocal.h): Likewise.
(isInterface): Use class_is_interface.
(getInterfaces): Use class_get_interfaces.
(getDeclaredClasses): Use class_get_declaredclasses.
(throwException): Use exceptions_set_exception.
(getClassSignature): Implemented directly.

* src/native/vm/java_lang_Class.c (isInterface): Removed.
(getInterfaces): Likewise.
(getDeclaredClasses): Likewise.
(throwException): Likewise.
(getClassSignature): Likewise.
* src/native/vm/java_lang_Class.h: Likewise.

16 years ago* src/native/vm/sun/jvm.c (JVM_GetClassSignature): Use
Christian Thalinger [Wed, 12 Sep 2007 07:47:34 +0000 (09:47 +0200)]
* src/native/vm/sun/jvm.c (JVM_GetClassSignature): Use
LLNI_classinfo_unwrap and java_handle_t.

16 years ago * Merged with default branch at rev 8806c9bebf3e.
Mathias Panzenboeck [Tue, 11 Sep 2007 22:32:14 +0000 (00:32 +0200)]
 * Merged with default branch at rev 8806c9bebf3e.

16 years ago* src/vmcore/annotation.c: Improved comments.
Mathias Panzenboeck [Tue, 11 Sep 2007 22:27:45 +0000 (00:27 +0200)]
* src/vmcore/annotation.c: Improved comments.
(annotation_bytearrays_resize),
(annotation_bytearrays_insert),
(annotation_load_method_attribute_annotationdefault),
(annotation_load_method_attribute_runtimevisibleparameterannotations),
(annotation_load_class_attribute_runtimevisibleannotations),
(annotation_load_method_attribute_runtimevisibleannotations),
(annotation_load_field_attribute_runtimevisibleannotations):
Restructured so that when it comes to the point when I have to use LLNI macros
for accessing the java objects I store in classinfo I will have not much to do.

* src/lib/gnu/java/lang/reflect/Constructor.java: Improved comments.
* src/lib/gnu/java/lang/reflect/Field.java: Likewise.
* src/lib/gnu/java/lang/reflect/Method.java: Likewise.
* src/lib/gnu/sun/reflect/annotation/AnnotationParser.java: Likewise.
* src/lib/gnu/sun/reflect/annotation/AnnotationType.java: Likewise.
* src/native/vm/gnu/java_lang_reflect_Constructor.c: Likewise.
* src/native/vm/gnu/java_lang_reflect_Field.c: Likewise.
* src/native/vm/gnu/java_lang_reflect_Method.c: Likewise.
* src/native/vm/gnu/sun_reflect_ConstantPool.c: Likewise.
* src/native/vm/java_lang_Class.c: Likewise.
* src/native/vm/reflect.c: Likewise.
* src/native/vm/sun/jvm.c: Likewise.
* src/vmcore/class.c: Likewise.
* src/vmcore/field.c: Likewise.
* src/vmcore/method.c: Likewise.
* src/vmcore/utf8.c: Likewise.
* tests/regression/MinimalClassReflection.java: Likewise.

16 years ago* src/native/vm/gnu/java_lang_VMClass.c (getSuperclass): Use
Christian Thalinger [Tue, 11 Sep 2007 21:52:28 +0000 (23:52 +0200)]
* src/native/vm/gnu/java_lang_VMClass.c (getSuperclass): Use
class_get_superclass.
* src/native/vm/java_lang_Class.c (getSuperclass): Removed.
* src/native/vm/java_lang_Class.h: Likewise.

16 years ago* src/native/vm/gnu/java_lang_VMClass.c (isPrimitive): Use
Christian Thalinger [Tue, 11 Sep 2007 21:35:29 +0000 (23:35 +0200)]
* src/native/vm/gnu/java_lang_VMClass.c (isPrimitive): Use
class_is_primitive.
* src/native/vm/java_lang_Class.c (isPrimitive): Removed.
* src/native/vm/java_lang_Class.h: Likewise.

16 years ago* src/vm/properties.c (properties_set) [WITH_JRE_LAYOUT]: Fixed old variable.
Michael Starzinger [Tue, 11 Sep 2007 00:58:58 +0000 (02:58 +0200)]
* src/vm/properties.c (properties_set) [WITH_JRE_LAYOUT]: Fixed old variable.
* src/native/vm/gnu/gnu_classpath_VMSystemProperties.c
(Java_gnu_classpath_VMSystemProperties_postInit) [WITH_JRE_LAYOUT]: Likewise.