cacao.git
17 years ago* configure.ac (AC_CHECK_HEADERS): Added sys/mman.h, sys/resource.h.
twisti [Mon, 7 May 2007 13:45:19 +0000 (13:45 +0000)]
* configure.ac (AC_CHECK_HEADERS): Added sys/mman.h, sys/resource.h.
(AC_CHECK_FUNCS): Added getrusage, mprotect.

* src/vmcore/statistics.c [HAVE_SYS_TIME_H] (sys/time.h): Include
conditionally.
[HAVE_SYS_RESOURCE_H] (sys/resource.h): Likewise.
(getcputime) [!HAVE_GETRUSAGE]: Return 0.

17 years ago* src/native/vm/java_lang_Thread.h (threads/native/threads.h):
twisti [Mon, 7 May 2007 13:31:18 +0000 (13:31 +0000)]
* src/native/vm/java_lang_Thread.h (threads/native/threads.h):
Removed.

17 years ago* src/vm/jit/m68k/arch.h (SUPPORT_FLOAT): Enabled.
tbfg [Mon, 7 May 2007 13:02:55 +0000 (13:02 +0000)]
* src/vm/jit/m68k/arch.h (SUPPORT_FLOAT): Enabled.
(SUPPORT_FLOAT_CMP): Enabled.
(SUPPORT_DOUBLE): Enabled.
(SUPPORT_DOUBLE_CMP): Enabled.

* src/vm/jit/m68k/codegen.c (ICMD_FCMPL): Implemented.
(ICMD_DCMPL): Likewise.
(ICMD_FCMPG): Likewise.
(ICMD_DCMPG): Likewise.
(ICMD_FMUL): Likewise.
(ICMD_DMUL): Likewise.
(ICMD_FDIV): Likewise.
(ICMD_DDIV): Likewise.
(ICMD_FADD): Likewise.
(ICMD_DADD): Likewise.
(ICMD_FSUB): Likewise.
(ICMD_DSUB): Likewise.
(ICMD_F2D): Likewise.
(ICMD_D2F): Likewise.
(ICMD_BUILTIN): Handle float return values.
(codegen_emit_stub_native): Handle float values.

* src/vm/jit/m68k/codegen.h (M_FCMP): Added.
(M_BFEQ): Added.
(M_BFLT): Added.
(M_BFGT): Added.
(M_BFUN): Added.
(M_FADD): Added.
(M_DADD): Added.
(M_FSUB): Added.
(M_DSUB): Added.
(M_FMUL): Added.
(M_DMUL): Added.
(M_FDIV): Added.
(M_DDIV): Added.
(M_D2F): Added.
(M_F2D): Added.

17 years ago* src/threads/threads-common.c (threads_dump): Typo.
twisti [Mon, 7 May 2007 11:37:00 +0000 (11:37 +0000)]
* src/threads/threads-common.c (threads_dump): Typo.

17 years ago* src/threads/threads-common.c (threads_table_get): Made static and
twisti [Mon, 7 May 2007 11:35:30 +0000 (11:35 +0000)]
* src/threads/threads-common.c (threads_table_get): Made static and
removed table lock.
(threads_dump): Lock threads table.

* src/threads/threads-common.h (threads_table_get): Removed.

* src/threads/native/threads.c (threads_cast_stopworld): Lock threads
table.
(threads_cast_startworld): Likewise.

17 years ago* src/vm/jit/sparc64/codegen.c (codegen_emit_stub_native): Fixed fp arg passing.
ajordan [Mon, 7 May 2007 01:44:47 +0000 (01:44 +0000)]
* src/vm/jit/sparc64/codegen.c (codegen_emit_stub_native): Fixed fp arg passing.
* src/vm/jit/sparc64/md-abi.h: Likewise.

* src/vm/jit/sparc64/asmpart.S (asm_vm_call_method): Likewise, but the other way around.
* src/vm/jit/sparc64/md-asm.h: Likewise.

17 years ago* src/vm/jit/m68k/codegen.c (codegen_emit): Allocate 2 additional
tbfg [Sun, 6 May 2007 22:20:13 +0000 (22:20 +0000)]
* src/vm/jit/m68k/codegen.c (codegen_emit): Allocate 2 additional
words in stackframe for long to double conversion.

* src/vm/jit/m68k/asmpart.S (asm_handle_exception): Copy exception
object into correct register.

* src/vm/jit/m68k/codegen.h (M_FLD): Implemented.
(M_DLD): Likewise.
(M_FST): Likewise.
(M_DST): Likewise.
(M_FLTMOVE): Likewise.
(M_INT2FLTMOVE): Likewise.
(M_DBLMOVE): Likewise.
(FCONST): Likewise.

17 years ago* src/vm/jit/sparc64/codegen.c: Implemented threads support.
ajordan [Sun, 6 May 2007 13:32:49 +0000 (13:32 +0000)]
* src/vm/jit/sparc64/codegen.c: Implemented threads support.
* src/vm/jit/sparc64/machine-instr.h: Likewise.
* src/vm/jit/sparc64/linux/md-os.c: Likewise.

17 years ago* src/vm/jit/m68k/emit.c (emit_patcher_stubs): Add thread
tbfg [Sat, 5 May 2007 13:48:39 +0000 (13:48 +0000)]
* src/vm/jit/m68k/emit.c (emit_patcher_stubs): Add thread
support.
(emit_exception_check_areg): Removed dead code.

* src/vm/jit/m68k/codegen.c (codegen_emit): Add thread support.

* src/vm/jit/m68k/asmpart.S (asm_patcher_wrapper): Likewise.

17 years ago* linker.c (linker_compute_subclasses):
tbfg [Sat, 5 May 2007 13:46:11 +0000 (13:46 +0000)]
* linker.c (linker_compute_subclasses):
threads_cast_[start|stop]world only available when using GC.

17 years ago* contrib/vmlog/Makefile.am (AM_CPPFLAGS): Add include directories for vmlog.
pm [Sat, 5 May 2007 08:08:49 +0000 (08:08 +0000)]
* contrib/vmlog/Makefile.am (AM_CPPFLAGS): Add include directories for vmlog.
 * src/vm/Makefile.am: Likewise.

17 years ago* linker.c (linker_compute_subclasses): Only call
tbfg [Fri, 4 May 2007 10:13:20 +0000 (10:13 +0000)]
* linker.c (linker_compute_subclasses): Only call
threads_cast_[start|stop]world when ENABLE_THREADS.

17 years ago* src/vm/jit/m68k/md.c (md_stacktrace_get_returnaddress): Removed
tbfg [Thu, 3 May 2007 23:31:01 +0000 (23:31 +0000)]
* src/vm/jit/m68k/md.c (md_stacktrace_get_returnaddress): Removed
braindead address check and fixed the real bug.

* src/vm/jit/m68k/asmpart.S (asm_vm_call_method): Added float
argument handling.
(asm_call_jit_compiler): Fixed stack offset bug.

17 years ago* src/vm/jit/x86_64/codegen.c (codegen_emit): Use
twisti [Thu, 3 May 2007 22:32:11 +0000 (22:32 +0000)]
* src/vm/jit/x86_64/codegen.c (codegen_emit): Use
CODEGEN_CRITICAL_SECTION_* macros.

* src/vm/jit/x86_64/linux/md-os.c (thread_restartcriticalsection):
Renamed to md_critical_section_restart.

17 years ago* src/vm/jit/i386/codegen.c (codegen_emit): Use
twisti [Thu, 3 May 2007 21:29:40 +0000 (21:29 +0000)]
* src/vm/jit/i386/codegen.c (codegen_emit): Use
CODEGEN_CRITICAL_SECTION_* macros.

* src/vm/jit/i386/linux/md-os.c (thread_restartcriticalsection):
Renamed to md_critical_section_restart.

17 years ago* src/threads/critical.c (critical_compare): Renamed to
twisti [Thu, 3 May 2007 21:17:26 +0000 (21:17 +0000)]
* src/threads/critical.c (critical_compare): Renamed to
critical_comparator.
(critical_find): Removed.
(critical_register_critical_section): Renamed to
critical_section_register.
(critical_find_restart_point): Call avl_find.
(critical_register_asm_critical_sections): Call
critical_section_register.

* src/threads/critical.h (critical_section_node_t): Renamed members.
(thread_restartcriticalsection): Renamed to
md_critical_section_restart.

* src/threads/native/threads.c (threads_cast_darwinstop): Call
md_critical_section_restart.
(threads_sigsuspend_handler): Likewise.

* src/vmcore/linker.c (linker_compute_subclasses): Call
threads_cast_{start,stop}world, removed LOCK_MONITOR_{ENTER,EXIT}.

* src/cacaoh/dummy.c (threads_cast_stopworld): Added.
(threads_cast_startworld): Likewise.

* src/vm/jit/codegen-common.c (codegen_setup): Setup listcritical.
(codegen_reset): Likewise.
(codegen_critical_section_new): New function.
(codegen_critical_section_start): Likewise.
(codegen_critical_section_end): Likwise.
(codegen_critical_section_finish): Likewise.
(codegen_finish): Call codegen_critical_section_finish.
(codegen_threadcritrestart): Removed.
(codegen_threadcritstart): Likewise.
(codegen_threadcritstop): Likewise.

* src/vm/jit/codegen-common.h (codegen_critical_section_t): Renamed to
critical_section_ref_t.
(codegendata): Added listcritical, removed threadcrit,
threadcritcurrent and threadcritcount.
(CODEGEN_CRITICAL_SECTION_NEW, CODEGEN_CRITICAL_SECTION_START)
(CODEGEN_CRITICAL_SECTION_END): Defined.

* src/vm/jit/powerpc/codegen.c (codegen_emit): Use
CODEGEN_CRITICAL_SECTION_* macros.

* src/vm/jit/powerpc/linux/md-os.c (thread_restartcriticalsection):
Renamed to md_critical_section_restart.

17 years ago* src/mm/boehm-gc/include/gc.h (GC_HAVE_BUILTIN_BACKTRACE): Commented,
twisti [Thu, 3 May 2007 20:58:54 +0000 (20:58 +0000)]
* src/mm/boehm-gc/include/gc.h (GC_HAVE_BUILTIN_BACKTRACE): Commented,
we don't need it and uClibc doesn't have it.

17 years ago* src/toolbox/avl.c (toolbox/logging.h): Added.
twisti [Thu, 3 May 2007 14:53:39 +0000 (14:53 +0000)]
* src/toolbox/avl.c (toolbox/logging.h): Added.
(vm/global.h): Likewise.
(vm/vm.h): Likewise.
(avl_insert_intern): Use vm_abort instead of assert.
(avl_insert): Removed debug code.
(avl_dump): Use logging functions.

17 years ago* src/vm/jit/codegen-common.c (codegen_start_native_call)
twisti [Thu, 3 May 2007 13:49:35 +0000 (13:49 +0000)]
* src/vm/jit/codegen-common.c (codegen_start_native_call)
[ENABLE_JAVASE]: This has to be ENABLE_JNI.
(codegen_finish_native_call): Likewise.

17 years ago* src/toolbox/avl.c (avl_insert_intern): Changed order of
twisti [Thu, 3 May 2007 12:30:05 +0000 (12:30 +0000)]
* src/toolbox/avl.c (avl_insert_intern): Changed order of
comparator-arguments.
(avl_find): Likewise.

* src/toolbox/avl.h (avl_comparator): Renamed arguments, to reflect
the change.

* src/vm/jit/codegen-common.c (methodtree_comparator): Likewise.

17 years ago* src/toolbox/avl.h (avl_tree): Renamed to avl_tree_t.
twisti [Thu, 3 May 2007 08:29:16 +0000 (08:29 +0000)]
* src/toolbox/avl.h (avl_tree): Renamed to avl_tree_t.
(avl_node): Renamed to avl_node_t.

* src/toolbox/avl.c: Likewise.
* src/threads/critical.c: Likewise.
* src/vm/jit/codegen-common.c: Likewise.

17 years ago* contrib/check_dangerous_printf.pl: Removed this file in favor of
twisti [Thu, 3 May 2007 08:16:14 +0000 (08:16 +0000)]
* contrib/check_dangerous_printf.pl: Removed this file in favor of
pscan.

17 years ago* src/vm/jit/m68k/codegen.c (ICMD_CALOAD): Fixed.
tbfg [Thu, 3 May 2007 00:33:48 +0000 (00:33 +0000)]
* src/vm/jit/m68k/codegen.c (ICMD_CALOAD): Fixed.

* src/vm/jit/m68k/patcher.c (*): Removed patching back of
old opcodes from patcher_wrapper, moved into each patcher.
(patcher_patch_back): Added.

17 years ago* src/vm/jit/m68k/codegen.c (ICMD_IDIVPOW2): Fixed.
tbfg [Wed, 2 May 2007 22:28:04 +0000 (22:28 +0000)]
* src/vm/jit/m68k/codegen.c (ICMD_IDIVPOW2): Fixed.
(ICMD_IREM): Fixed.
(ICMD_LASTORE): Use M_LST.
(ICMD_DASTORE): Use M_LST.
(ICMD_LALOAD): Use M_LLD.
(ICMD_DALOAD): Use M_LLD.

17 years ago* src/native/vm/cldc1.1/java_lang_Float.c (native/native.h): Removed.
twisti [Wed, 2 May 2007 20:46:56 +0000 (20:46 +0000)]
* src/native/vm/cldc1.1/java_lang_Float.c (native/native.h): Removed.
(native/include/java_lang_Float.h): Added.

17 years ago* src/native/vm/cldc1.1/java_lang_Double.c
twisti [Wed, 2 May 2007 20:44:59 +0000 (20:44 +0000)]
* src/native/vm/cldc1.1/java_lang_Double.c
(native/include/java_lang_Double.h): Added.
(longBitsToDouble): Fixed return type.

17 years ago* src/threads/threads-common.c (threads_table_get_threads): New
twisti [Wed, 2 May 2007 20:40:11 +0000 (20:40 +0000)]
* src/threads/threads-common.c (threads_table_get_threads): New
function.

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

* src/threads/native/threads.c (threads_cast_sendsignals): Rewritten.
(threads_cast_stopworld): Likewise.

17 years ago* java_lang_Double.c (Java_java_lang_Double_doubleToLongBits): Added
tbfg [Wed, 2 May 2007 20:36:07 +0000 (20:36 +0000)]
* java_lang_Double.c (Java_java_lang_Double_doubleToLongBits): Added
missing JNIEnv* argument to signature.

17 years ago* src/vmcore/class.c (class_load_attributes): Disable annotation
twisti [Wed, 2 May 2007 19:57:07 +0000 (19:57 +0000)]
* src/vmcore/class.c (class_load_attributes): Disable annotation
loading for the release.

17 years ago* src/threads/threads-common.c (threads_preinit): Create and
twisti [Wed, 2 May 2007 16:21:12 +0000 (16:21 +0000)]
* src/threads/threads-common.c (threads_preinit): Create and
initialize the main-thread.
(threads_table_init): Changed signature, insert main-thread and
maintain a used list too.
(threads_table_add): Use locking and maintain used list.
(threads_table_remove): Likewise.
(threads_table_get): New function.
(threads_table_get_non_daemons): Likewise.
(threads_table_first): Likewise.
(threads_table_next): Likewise.
[!NDEBUG] (threads_table_dump): Use log_* functions.
(threads_dump): Use threads-table and functions.

* src/threads/threads-common.h (threads_table_entry_t): Made a struct
and renamed nextfree to next.
(threads_table_get): Added
(threads_table_get_non_daemons): Likewise.
(threads_table_first): Likewise.
(threads_table_next): Likewise.
[!NDEBUG] (threads_table_dump): Likewise.
(threads_impl_table_init): Likewise.
(threads_table_lock): Likewise.
(threads_table_unlock): Likewise.
(threads_set_current_threadobject): Likewise.

* src/threads/native/threads.c (threadlistlock): Removed.
(threads_impl_preinit): Removed main-thread initialization code.
(threads_impl_table_init): New function.
(threads_table_lock): New function.
(threads_table_unlock): Likewise.
(threads_init): Get main-thread from threads-table and removed
thread-list code.
(threads_attach_current_thread): Likewise.
(threads_detach_thread): Removed thread-list code.
(threads_find_non_daemon_thread): Removed.
(threads_join_all_threads): Use threads_table_get_non_daemons.

17 years ago* src/vm/jit/powerpc/linux/md-os.c (md_signal_handler_sigsegv): Added
twisti [Wed, 2 May 2007 09:57:22 +0000 (09:57 +0000)]
* src/vm/jit/powerpc/linux/md-os.c (md_signal_handler_sigsegv): Added
uClibc support.
(md_signal_handler_sigtrap): Likewise.
(md_signal_handler_sigusr2): Likewise.
(thread_restartcriticalsection): Likewise.

17 years ago* src/vm/jit/s390/md.c (md_dump_context): Added. Fatal signals now print the context...
pm [Tue, 1 May 2007 21:40:26 +0000 (21:40 +0000)]
* src/vm/jit/s390/md.c (md_dump_context): Added. Fatal signals now print the context and a stacktrace.
* src/vm/jit/s390/emit.h (emit_restore_pv): Added. Fixes bug where REG_PV recalculation uses dseg value to recalculate REG_PV.
* src/vm/jit/s390/emit.c: Likewise.
* src/vm/jit/s390/codegen.h (N_RI, N_RI2): Test immediate operand for correct signedness.
* src/vm/jit/s390/codegen.c (codegen_emit): Use emit_restore_pv for REG_PV recalculation/
* src/vm/jit/s390/disass.c (disass_pseudo_instr): Fix formating.
* src/vm/jit/s390/tests/dacapo.status: Added.

17 years ago* src/vm/jit/sparc64/codegen.h: Removed unused var_to_reg_int define.
ajordan [Tue, 1 May 2007 17:35:55 +0000 (17:35 +0000)]
* src/vm/jit/sparc64/codegen.h: Removed unused var_to_reg_int define.

* src/vm/jit/sparc64/codegen.c: Fixed JIT float argument passing via stack.

* src/vm/jit/sparc64/asmpart.S (asm_vm_call): Fixed integer argument passing via stack args.

17 years ago* src/vm/jit/s390/codegen.h (gen_bound_check, gen_nullptr_check_intern, gen_bound_che...
pm [Tue, 1 May 2007 16:14:00 +0000 (16:14 +0000)]
* src/vm/jit/s390/codegen.h (gen_bound_check, gen_nullptr_check_intern, gen_bound_check, N_LONG_0): Remove because obsolete.

17 years ago* src/vm/jit/s390/codegen.c (codegen_emit): Use new emit_label and emit_label_* funct...
pm [Tue, 1 May 2007 16:05:07 +0000 (16:05 +0000)]
* src/vm/jit/s390/codegen.c (codegen_emit): Use new emit_label and emit_label_* functions.
* src/vm/jit/s390/disass.c (disass_pseudo_instr): Nicer formatting for ill pseudo instruction.

17 years ago* src/vm/jit/emit-common.h (BRANCH_LABEL_6): Added.
pm [Tue, 1 May 2007 15:46:22 +0000 (15:46 +0000)]
* src/vm/jit/emit-common.h (BRANCH_LABEL_6): Added.

17 years ago* src/vm/jit/m68k/linux/md-os.c (md_signal_handler_sigill): Support
tbfg [Tue, 1 May 2007 13:00:12 +0000 (13:00 +0000)]
* src/vm/jit/m68k/linux/md-os.c (md_signal_handler_sigill): Support
EXCEPTION_HARDWARE_ARITHMETIC.

* src/vm/jit/m68k/emit.c (emit_mov_imm_reg): Use corret opcode for
word forms.

* src/vm/jit/m68k/codegen.c (ICMD_IDIVPOW2): Implemented.
(ICMD_IREMPOW2): Implemented.
(ICMD_ISHLCONST): Fixed.
(ICMD_ISHRCONST): Fixed.
(ICMD_IUSHRCONST): Fixed.
(ICMD_SALOAD): Signextension fix.
(ICMD_LALOAD): Implemented.
(ICMD_LASTORE): Fixed.
(ICMD_IASTORE): Fixed.
(ICMD_MULITANEWARRAY): Fixed.

* src/vm/jit/m68k/codegen.h (M_IADDX): Added.
(M_IXOR): Fixed.
(M_BCS): Fixed.

17 years ago* src/vm/jit/m68k/asmpart.S (asm_handle_exception): Restore registers
tbfg [Mon, 30 Apr 2007 12:44:47 +0000 (12:44 +0000)]
* src/vm/jit/m68k/asmpart.S (asm_handle_exception): Restore registers
correctly.

17 years ago* src/vm/jit/inline/Makefile.am (AM_CPPFLAGS): Added
twisti [Mon, 30 Apr 2007 11:58:57 +0000 (11:58 +0000)]
* src/vm/jit/inline/Makefile.am (AM_CPPFLAGS): Added
-I$(top_builddir)/src.

17 years ago* src/vm/jit/m68k/emit.c (emit_mov_imm_reg): Fixed.
tbfg [Mon, 30 Apr 2007 10:53:13 +0000 (10:53 +0000)]
* src/vm/jit/m68k/emit.c (emit_mov_imm_reg): Fixed.
(emit_arithmetic_check): Implemented.

* src/vm/jit/m68k/md.c (md_get_method_patch_address): Changed invoking
register.
(md_stacktrace_get_returnaddress): Fix for linking words on stack.

* src/vm/jit/m68k/codegen.c (IUSHRCONST): Fix.
(ICMD_IOR): Implemented.
(ICMD_IORCONST): Likewise.
(ICMD_IXOR): Likewise.
(ICMD_IXORCONST): Likewise.
(ICMD_INVOKEVIRTUAL): Changed invoking register.
(ICMD_INVOKEINTERFACE): Likewise.

* src/vm/jit/m68k/patcher.c (patcher_invokevirtual): Changed
invoking register.

* src/vm/jit/m68k/asmpart.S (asm_vm_call_method_exception_handler):
Proper stack restauration.
(L_asm_call_jit_compiler_exception): Implemented.
(asm_patcher_wrapper): Fixses.
(L_asm_patcher_wrapper_exception): Implemented.

* src/vm/jit/m68k/codegen.h (M_IXOR): Added.
(M_IOR_IMM): Added.
(M_IXOR_IMM): Added.

* src/vm/jit/stacktrace.c (stacktrace_create_extern_stackframe):
Comment and further m68k stuff.

17 years ago* src/vm/jit/s390/emit.c,
pm [Sun, 29 Apr 2007 22:46:56 +0000 (22:46 +0000)]
* src/vm/jit/s390/emit.c,
src/vm/jit/s390/md-abi.h,
src/vm/jit/s390/md.c,
src/vm/jit/s390/emit.h,
src/vm/jit/s390/codegen.c,
src/vm/jit/s390/machine-instr.h,
src/vm/jit/s390/codegen.h,
src/vm/jit/s390/arch.h,
src/vm/jit/s390/md-asm.h,
src/vm/jit/s390/disass.c,
src/vm/jit/s390/patcher.c,
src/vm/jit/s390/asmpart.S,
src/vm/jit/s390/md-abi.c: Adapted S390 port to changes from branches/twisti (hardware exceptions, emit_branch, abi_registers_*), jctest works again. Cleaned up almost all dead x86_64 code.

17 years ago* src/vm/jit/sparc64/asmpart.S (asm_call_jit_compiler): Fixed stack alignement in...
ajordan [Sat, 28 Apr 2007 12:59:58 +0000 (12:59 +0000)]
* src/vm/jit/sparc64/asmpart.S (asm_call_jit_compiler): Fixed stack alignement in first save.

17 years ago* src/vm/jit/m68k/emit.c (emit_arrayindexoutofbounds_check): Fixed.
tbfg [Fri, 27 Apr 2007 08:43:06 +0000 (08:43 +0000)]
* src/vm/jit/m68k/emit.c (emit_arrayindexoutofbounds_check): Fixed.
* src/vm/jit/m68k/linux/md-os.c (md_signal_handler_sigill): AIOOB fixed.
Editor boiler plate added.

* src/vm/jit/m68k/linux/md-os.h: Editor boiler plate.

* src/vm/jit/m68k/linux/md-abi.c: Likewise.

* src/vm/jit/m68k/md.c: Likewise.

* src/vm/jit/m68k/machine-instr.h: Likewise.

* src/vm/jit/m68k/patcher.c: Editor boiler plate.
(patcher_invokeinterface): Implemented.
(patcher_get_putfield): Implemented.
(patcher_resolve_class): Implemented.
(patcher_get_putstatic): Implemented.

* src/vm/jit/m68k/codegen.c: Editor boiler plate.
(ICMD_GETSTATIC): Added patcher.
(ICMD_AASTORE): Fixed.

* src/vm/jit/m68k/asmpart.S: Editor boiler plate.
(asm_vm_call_method_exception_handler): Fixed used register.
Return values in %d0 and %a0 as gcc sometimes expects pointers
in %a0.

17 years ago* src/vm/jit/sparc64/emit.c: Keeping stack 16-byte aligned when calling C/native...
ajordan [Fri, 27 Apr 2007 01:37:06 +0000 (01:37 +0000)]
* src/vm/jit/sparc64/emit.c: Keeping stack 16-byte aligned when calling C/native functions from the stack. (Solaris requires this)
* src/vm/jit/sparc64/codegen.c: Likewise.
* src/vm/jit/sparc64/codegen.h: Likewise.

* src/vm/jit/sparc64/md-abi.c: Removed zero sized abi_register_* arrays. (not allowed in ISO C)

* src/vm/jit/sparc64/solaris/md-os.c: Preliminary hardware exception handling. (untested)

17 years ago* src/vm/jit/inline/inline.h (config.h): Added.
twisti [Thu, 26 Apr 2007 13:43:08 +0000 (13:43 +0000)]
* src/vm/jit/inline/inline.h (config.h): Added.
(inline_inline): Likewise.

* src/vm/jit/jit.c (threads/threads-common.h): Added.
[ENABLE_INLINING] (vm/jit/inline/inline.h): Likewise.
[ENABLE_THREADS] (threads/native/threads.h): Removed.

17 years ago* src/vm/vm.c [ENABLE_THREADS] (threads/native/threads.h): Removed.
twisti [Thu, 26 Apr 2007 13:32:08 +0000 (13:32 +0000)]
* src/vm/vm.c [ENABLE_THREADS] (threads/native/threads.h): Removed.
(threads/threads-common.h): Added.

17 years ago* src/native/vm/java_lang_Thread.c: Set Id keyword.
twisti [Thu, 26 Apr 2007 13:07:05 +0000 (13:07 +0000)]
* src/native/vm/java_lang_Thread.c: Set Id keyword.

17 years ago* src/native/vm/java_lang_Thread.c (start): Renamed
twisti [Thu, 26 Apr 2007 13:06:16 +0000 (13:06 +0000)]
* src/native/vm/java_lang_Thread.c (start): Renamed
threads_start_javathread to threads_thread_start.

17 years ago* src/threads/threads-common.c (threads_thread_create_internal):
twisti [Thu, 26 Apr 2007 12:48:16 +0000 (12:48 +0000)]
* src/threads/threads-common.c (threads_thread_create_internal):
Renamed to threads_thread_start_internal and start the thread.
(threads_start_javathread): Renamed to threads_thread_start.
* src/threads/threads-common.h: Likewise.

* src/threads/native/threads.c (threads_start_thread): Renamed to
threads_impl_thread_start.

* src/mm/memory.c (thread_memory): Removed.
(memory_start_thread): Call threads_thread_start_internal.

* src/vm/finalizer.c (thread_finalizer): Removed.
(finalizer_start_thread): Call threads_thread_start_internal.

* src/vm/signal.c (thread_signal): Removed.
(signal_start_thread): Call threads_thread_start_internal.

* src/vm/jit/optimizing/profile.c (thread_profile): Removed.
(profile_start_thread): Call threads_thread_start_internal.

* src/vm/jit/optimizing/recompile.c (thread_recompile): Removed.
(recompile_start_thread): Call threads_thread_start_internal.

17 years ago* src/threads/threads-common.c (threads/critical.h): Added.
twisti [Thu, 26 Apr 2007 11:14:39 +0000 (11:14 +0000)]
* src/threads/threads-common.c (threads/critical.h): Added.
(threads/native/threads.h): Removed.
(threads_table): Added.
(threads_preinit): New function.
(threads_table_init): Moved from implementation file.
(threads_table_add): Likewise.
(threads_table_remove): Likewise.
(threads_table_dump): Likewise.

* src/threads/threads-common.h (threads_table_entry_t)
(threads_table_t): Added.
(threads_preinit): Likewise.
(threads_table_add): Likewise.
(threads_table_remove): Likewise.
(threads_impl_preinit): Likewise.
(threads_init_threadobject): Likewise.

* src/threads/native/threads.c (threads_table): Removed.
(threads_preinit): Renamed to threads_impl_preinit.
(threads_table_init): Removed.
(threads_table_add): Likewise.
(threads_table_remove): Likewise.
(threads_table_dump): Likewise.

* src/threads/native/threads.h (threads_table_entry_t)
(threads_table_t): Removed.
(threads_preinit): Likewise.

17 years ago* src/vm/jit/i386/darwin/md-os.c: added threads/threads-common.h,
stefan [Wed, 25 Apr 2007 21:47:00 +0000 (21:47 +0000)]
* src/vm/jit/i386/darwin/md-os.c: added threads/threads-common.h,
removed vm/jit/i386/md-abi.h

17 years ago* src/vm/jit/i386/darwin/md-os.c: attempt at porting the exception changes
stefan [Wed, 25 Apr 2007 21:23:57 +0000 (21:23 +0000)]
* src/vm/jit/i386/darwin/md-os.c: attempt at porting the exception changes
(see r7596 & r7648).

17 years ago* src/threads/lock-common.h (threads/threads-common.h): Removed that
twisti [Wed, 25 Apr 2007 21:03:44 +0000 (21:03 +0000)]
* src/threads/lock-common.h (threads/threads-common.h): Removed that
header again and added a comment about not including thread headers.

* src/threads/threads-common.c (threads_start_javathread): Reverted.
* src/threads/threads-common.h (threads_start_javathread): Likewise.

17 years ago* src/threads/threads-common.c (threads_dump) [!SIZEOF_VOID_P == 8]:
twisti [Wed, 25 Apr 2007 20:56:16 +0000 (20:56 +0000)]
* src/threads/threads-common.c (threads_dump) [!SIZEOF_VOID_P == 8]:
Fixed warning.

17 years ago* src/threads/threads-common.c (threads_start_javathread): Changed
twisti [Wed, 25 Apr 2007 20:31:57 +0000 (20:31 +0000)]
* src/threads/threads-common.c (threads_start_javathread): Changed
signature.

* src/threads/lock-common.h (threads/threads-common.h): Added.
[ENABLE_THREADS]: Only define functions when threads are enabled.

* src/threads/threads-common.h (native/include/java_lang_Thread.h):
Removed.
[ENABLE_THREADS]: Only define functions when threads are enabled.
(threads_start_javathread): Changed signature.

17 years ago* src/vm/jit/mips/codegen.c: Changed lock includes.
twisti [Wed, 25 Apr 2007 20:07:37 +0000 (20:07 +0000)]
* src/vm/jit/mips/codegen.c: Changed lock includes.
* src/vm/jit/mips/emit.c: Likewise.

17 years ago* src/vm/jit/arm/codegen.c: Changed lock include.
twisti [Wed, 25 Apr 2007 20:03:04 +0000 (20:03 +0000)]
* src/vm/jit/arm/codegen.c: Changed lock include.
* src/vm/jit/arm/emit.c: Likewise.

17 years ago* src/vm/jit/arm/emit.c (emit_load): Use switch-case instead of
twisti [Wed, 25 Apr 2007 20:02:14 +0000 (20:02 +0000)]
* src/vm/jit/arm/emit.c (emit_load): Use switch-case instead of
if-else contruct.
(emit_store): Likewise.
(emit_copy): Likewise.

17 years ago* src/vm/jit/alpha/emit.c: Set Id keyword.
twisti [Wed, 25 Apr 2007 19:56:30 +0000 (19:56 +0000)]
* src/vm/jit/alpha/emit.c: Set Id keyword.

17 years ago* src/vm/jit/alpha/codegen.c: Changed lock include.
twisti [Wed, 25 Apr 2007 19:55:34 +0000 (19:55 +0000)]
* src/vm/jit/alpha/codegen.c: Changed lock include.
* src/vm/jit/alpha/emit.c: Likewise.

17 years ago* src/vm/jit/alpha/codegen.c (codegen_emit_stub_native): Use
twisti [Wed, 25 Apr 2007 19:54:01 +0000 (19:54 +0000)]
* src/vm/jit/alpha/codegen.c (codegen_emit_stub_native): Use
md->params to save and restore argument registers.

17 years ago* src/vm/jit/i386/codegen.c: Changed lock include.
twisti [Wed, 25 Apr 2007 19:47:50 +0000 (19:47 +0000)]
* src/vm/jit/i386/codegen.c: Changed lock include.
* src/vm/jit/i386/emit.c: Likewise.

17 years ago* src/vm/jit/powerpc64/codegen.c: Changed lock includes.
twisti [Wed, 25 Apr 2007 19:42:50 +0000 (19:42 +0000)]
* src/vm/jit/powerpc64/codegen.c: Changed lock includes.
* src/vm/jit/powerpc64/emit.c: Likewise.

17 years ago* src/vm/jit/powerpc/emit.c: Set Id keyword.
twisti [Wed, 25 Apr 2007 19:38:46 +0000 (19:38 +0000)]
* src/vm/jit/powerpc/emit.c: Set Id keyword.

17 years ago* src/vm/jit/powerpc/codegen.c: Fixed lock include.
twisti [Wed, 25 Apr 2007 19:37:11 +0000 (19:37 +0000)]
* src/vm/jit/powerpc/codegen.c: Fixed lock include.
* src/vm/jit/powerpc/emit.c: Likewise.

17 years ago* src/vm/jit/powerpc/linux/md-abi.c (abi_registers_float_temporary):
twisti [Wed, 25 Apr 2007 19:36:15 +0000 (19:36 +0000)]
* src/vm/jit/powerpc/linux/md-abi.c (abi_registers_float_temporary):
Fixed number of registers.

17 years ago* src/threads/lock-common.h: New file.
twisti [Wed, 25 Apr 2007 19:20:13 +0000 (19:20 +0000)]
* src/threads/lock-common.h: New file.

* src/threads/native/lock.h: Removed function prototypes.
* src/threads/none/lock.h (LOCK_INIT_OBJECT_LOCK): Added.

* src/mm/memory.c,
src/native/jni.c,
src/native/native.c,
src/native/vm/java_lang_Object.c,
src/native/vm/java_lang_Thread.c,
src/threads/Makefile.am,
src/threads/native/threads.c,
src/threads/threads-common.c,
src/toolbox/avl.c,
src/toolbox/hashtable.c,
src/toolbox/list.c,
src/vm/builtin.c,
src/vm/finalizer.c,
src/vm/initialize.c,
src/vm/jit/inline/inline.c,
src/vm/jit/jit.c,
src/vm/jit/optimizing/recompile.c,
src/vm/jit/parse.c,
src/vm/jit/patcher.h,
src/vm/jit/show.c,
src/vm/jit/x86_64/codegen.c,
src/vm/jit/x86_64/emit.c,
src/vm/string.c,
src/vmcore/class.c,
src/vmcore/classcache.c,
src/vmcore/linker.c,
src/vmcore/loader.c,
src/vmcore/suck.c,
src/vmcore/utf8.c: Updated headers.

17 years ago* src/mm/memory.h: Updated copyright header.
twisti [Wed, 25 Apr 2007 18:51:03 +0000 (18:51 +0000)]
* src/mm/memory.h: Updated copyright header.

17 years ago* src/threads/threads-common.c (threads_create_thread): Renamed to
twisti [Wed, 25 Apr 2007 18:33:30 +0000 (18:33 +0000)]
* src/threads/threads-common.c (threads_create_thread): Renamed to
threads_thread_create_internal and a new function.
(threads_start_javathread): Use threads_create_thread.

* src/threads/threads-common.h (threads_create_thread): Changed
signature.
(threads_thread_create_internal): Added.

* src/threads/native/threads.c (threads_set_current_threadobject):
Made non-static.
(threads_init_threadobject): Likewise, use threads_create_thread.
(threads_init): Cleanup.
(threads_startup_thread): Likewise.
(threads_attach_current_thread): Use threads_create_thread.

* src/vm/jit/optimizing/profile.c (profile_start_thread): Replaced
threads_create_thread with threads_thread_create_internal.
* src/vm/jit/optimizing/recompile.c (recompile_start_thread):
Likewise.
* src/vm/signal.c (signal_start_thread): Likewise.
* src/vm/finalizer.c (finalizer_start_thread): Likewise.
* src/mm/memory.c (memory_start_thread): Likewise.

17 years ago* src/vmcore/linker.c (linker_init): added missing lock_init_object_lock.
stefan [Wed, 25 Apr 2007 16:39:03 +0000 (16:39 +0000)]
* src/vmcore/linker.c (linker_init): added missing lock_init_object_lock.

17 years ago* src/threads/native/threads.c (threads_preinit): We always need
twisti [Wed, 25 Apr 2007 15:14:34 +0000 (15:14 +0000)]
* src/threads/native/threads.c (threads_preinit): We always need
variable t.

17 years ago* src/native/native.c (native/include/java_lang_Object.h): Include
twisti [Wed, 25 Apr 2007 15:12:20 +0000 (15:12 +0000)]
* src/native/native.c (native/include/java_lang_Object.h): Include
always.
[ENABLE_JAVAME_CLDC1_1]
(native/include/com_sun_cldc_io_ResourceInputStream.h)
(native/include/com_sun_cldc_io_j2me_socket_Protocol.h): Added.

17 years ago* src/threads/native/threads.c (threads_init): Use variable t instead
twisti [Wed, 25 Apr 2007 11:54:32 +0000 (11:54 +0000)]
* src/threads/native/threads.c (threads_init): Use variable t instead
of mainthreadobj->object, makes code simpler.

17 years ago* src/threads/threads-common.c (threads_create_thread)
twisti [Wed, 25 Apr 2007 11:47:15 +0000 (11:47 +0000)]
* src/threads/threads-common.c (threads_create_thread)
[ENABLE_GC_BOEHM]: Use GCNEW_UNCOLLECTABLE.
(threads_start_javathread) [ENABLE_GC_BOEHM]: Likewise.

* src/threads/native/threads.c (threads_preinit) [ENABLE_GC_BOEHM]:
Likewise.
(threads_init): Removed resizing-of-threadobject code, we don't need
it anymore.
(threads_attach_current_thread) [ENABLE_GC_BOEHM]: Use
GCNEW_UNCOLLECTABLE.
(threads_detach_thread) [ENABLE_GC_BOEHM]: Use GCFREE.

17 years ago* src/threads/threads-common.c: Set Id keyword.
twisti [Tue, 24 Apr 2007 14:29:20 +0000 (14:29 +0000)]
* src/threads/threads-common.c: Set Id keyword.
* src/threads/threads-common.h: Likewise.

17 years ago* src/threads/threads-common.c (threads_dump): Also print integer
twisti [Tue, 24 Apr 2007 14:23:40 +0000 (14:23 +0000)]
* src/threads/threads-common.c (threads_dump): Also print integer
thread id, so it's easier to compare with the ones from gdb.

17 years ago* threads.m4: Fixed a typo
tbfg [Tue, 24 Apr 2007 10:20:05 +0000 (10:20 +0000)]
* threads.m4: Fixed a typo

17 years ago* contrib/.cvsignore,
twisti [Mon, 23 Apr 2007 23:51:37 +0000 (23:51 +0000)]
* contrib/.cvsignore,
doc/.cvsignore,
doc/handbook/.cvsignore,
man/.cvsignore,
src/.cvsignore,
src/cacao/.cvsignore,
src/cacaoh/.cvsignore,
src/fdlibm/.cvsignore,
src/lib/.cvsignore,
src/mm/.cvsignore,
src/mm/boehm-gc/.cvsignore,
src/mm/boehm-gc/doc/.cvsignore,
src/mm/boehm-gc/include/.cvsignore,
src/mm/cacao-gc/.cvsignore,
src/native/.cvsignore,
src/native/include/.cvsignore,
src/native/jvmti/.cvsignore,
src/native/tools/.cvsignore,
src/native/vm/.cvsignore,
src/native/vm/cldc1.1/.cvsignore,
src/native/vm/gnu/.cvsignore,
src/scripts/.cvsignore,
src/threads/.cvsignore,
src/threads/none/.cvsignore,
src/threads/posix/.cvsignore,
src/toolbox/.cvsignore,
src/vm/.cvsignore,
src/vm/jit/.cvsignore,
src/vm/jit/allocator/.cvsignore,
src/vm/jit/alpha/.cvsignore,
src/vm/jit/alpha/freebsd/.cvsignore,
src/vm/jit/alpha/linux/.cvsignore,
src/vm/jit/arm/.cvsignore,
src/vm/jit/arm/linux/.cvsignore,
src/vm/jit/i386/.cvsignore,
src/vm/jit/i386/cygwin/.cvsignore,
src/vm/jit/i386/darwin/.cvsignore,
src/vm/jit/i386/freebsd/.cvsignore,
src/vm/jit/i386/linux/.cvsignore,
src/vm/jit/inline/.cvsignore,
src/vm/jit/intrp/.cvsignore,
src/vm/jit/loop/.cvsignore,
src/vm/jit/m68k/.cvsignore,
src/vm/jit/m68k/linux/.cvsignore,
src/vm/jit/mips/.cvsignore,
src/vm/jit/mips/irix/.cvsignore,
src/vm/jit/mips/linux/.cvsignore,
src/vm/jit/optimizing/.cvsignore,
src/vm/jit/parisc/.cvsignore,
src/vm/jit/parisc/linux/.cvsignore,
src/vm/jit/powerpc/.cvsignore,
src/vm/jit/powerpc/darwin/.cvsignore,
src/vm/jit/powerpc/linux/.cvsignore,
src/vm/jit/powerpc/netbsd/.cvsignore,
src/vm/jit/powerpc64/.cvsignore,
src/vm/jit/powerpc64/linux/.cvsignore,
src/vm/jit/s390/.cvsignore,
src/vm/jit/schedule/.cvsignore,
src/vm/jit/sparc64/.cvsignore,
src/vm/jit/sparc64/linux/.cvsignore,
src/vm/jit/sparc64/solaris/.cvsignore,
src/vm/jit/tools/.cvsignore,
src/vm/jit/verify/.cvsignore,
src/vm/jit/x86_64/.cvsignore,
src/vm/jit/x86_64/freebsd/.cvsignore,
src/vm/jit/x86_64/linux/.cvsignore,
src/vmcore/.cvsignore,
tests/.cvsignore,
tests/regression/.cvsignore,
tests/regression/codepatching/.cvsignore,
tests/regression/jasmin/.cvsignore,
tests/regression/native/.cvsignore,
tests/stack/.cvsignore: Removed.

17 years ago* .cvsignore: Removed.
twisti [Mon, 23 Apr 2007 23:39:11 +0000 (23:39 +0000)]
* .cvsignore: Removed.

17 years ago* configure.ac: Removed --enable-threads checks and call instead
twisti [Mon, 23 Apr 2007 23:03:31 +0000 (23:03 +0000)]
* configure.ac: Removed --enable-threads checks and call instead
AC_CHECK_ENABLE_THREADS.
* m4/threads.m4: New file.

17 years ago* configure.ac: Removed all classpath related checks and made
twisti [Mon, 23 Apr 2007 20:04:44 +0000 (20:04 +0000)]
* configure.ac: Removed all classpath related checks and made
functions for them.
* m4/classpath.m4: New file.

17 years ago* src/vm/builtin.h (md-abi.h): Added.
twisti [Mon, 23 Apr 2007 20:03:38 +0000 (20:03 +0000)]
* src/vm/builtin.h (md-abi.h): Added.

17 years ago* src/vm/signal.c (signal_thread): Don't check for an error on
twisti [Mon, 23 Apr 2007 14:29:48 +0000 (14:29 +0000)]
* src/vm/signal.c (signal_thread): Don't check for an error on
sigwait (revisit this patch with the exact-GC).

17 years ago* src/vm/jit/m68k/linux/md-os.c (md_signal_handler_sigsegv): Implemented.
tbfg [Sun, 22 Apr 2007 20:02:05 +0000 (20:02 +0000)]
* src/vm/jit/m68k/linux/md-os.c (md_signal_handler_sigsegv): Implemented.
(md_signal_handler_sigill): More exceptions handled. Some fixes.

* src/vm/jit/m68k/linux/md-os.h
(M68K_EXCEPTION_HARDWARE_NULLPOINTER): Used instead of
EXCEPTION_HARDWARE_NULLPOINTER, because a trap with value #0 will
not be taken.

* src/vm/jit/m68k/emit.c (emit_load_[low|high]): Fixed assertion.
(emit_arrayindexoutofbounds_check): Implemented.
(emit_nullpointer_check): Implemented.
(emit_exception_check_ireg): Renamed emit_exception_check.
(emit_exception_check_areg): Disabled code.
(emit_exception_check): Implemented.

* src/vm/jit/m68k/codegen.c (ICMD_LALOAD): Implemented.
(ICMD_FALOAD): Implemented.
(ICMD_DALOAD): Implemented.
(ICMD_LASTORE): Implemented.
(ICMD_FASTORE): Implemented.
(ICMD_DASTORE): Implemented.
(ICMD_BUILTIN): Exception check enabled.
(ICMD_MULTIANEWARRAY): Implemented.
(codegen_emit_stub_native): Exception check implemented.

* src/vm/jit/m68k/asmpart.S (asm_handle_nat_exception): Symbol
exported and implemented.

* src/vm/jit/stacktrace.c (stacktrace_create_extern_stackframe): More
m68k fixes.

17 years ago* src/vm/jit/sparc64/arch.h: Properly activated all FP features SPARC64 supports...
ajordan [Sun, 22 Apr 2007 15:55:51 +0000 (15:55 +0000)]
* src/vm/jit/sparc64/arch.h: Properly activated all FP features SPARC64 supports in hardware.

* src/vm/jit/sparc64/asmpart.S: Added functions to read/write the FP state register.
* src/vm/jit/sparc64/md.c: Added prototypes here.

* src/vm/jit/sparc64/codegen.h: Added 'branch on FP condition codes' macros.

* src/vm/jit/sparc64/emit.c (emit_verbosecall_enter): Fixed FP argument passing.

* src/vm/jit/sparc64/codegen.c (codegen_emit): Fixed FP conversion functions to (a) use unique slots in the data segment (doh!),
(b) catch the case where NaN is converted to an integer value. (JVMS and SPARC do not inherently agree here).

17 years ago* tests/regression/resolving/Makefile.am: Added "-classpath ." to javac
edwin [Sat, 21 Apr 2007 18:56:43 +0000 (18:56 +0000)]
* tests/regression/resolving/Makefile.am: Added "-classpath ." to javac
options so the tests work with ecj out-of-the-box.

17 years ago* configure.ac: Generate vmlog Makefiles.
edwin [Sat, 21 Apr 2007 16:42:52 +0000 (16:42 +0000)]
* configure.ac: Generate vmlog Makefiles.
* contrib/Makefile.am: Added vmlog to SUBDIRS.
* contrib/vmlog/Makefile.am, contrib/vmlog/t/Makefile.am: New files.

17 years ago* contrib/vmlog/Makefile: Renamed to maintain.mk.
edwin [Sat, 21 Apr 2007 16:26:34 +0000 (16:26 +0000)]
* contrib/vmlog/Makefile: Renamed to maintain.mk.

--HG--
rename : contrib/vmlog/Makefile => contrib/vmlog/maintain.mk

17 years ago* contrib/vmlog/vmlog_cacao.patch: Removed. It is no longer needed.
edwin [Sat, 21 Apr 2007 12:48:14 +0000 (12:48 +0000)]
* contrib/vmlog/vmlog_cacao.patch: Removed. It is no longer needed.
* contrib/vmlog/README: Updated for CACAO's --enable-vmlog.

17 years ago* configure.ac (--enable-vmlog): New configure option.
edwin [Sat, 21 Apr 2007 12:37:47 +0000 (12:37 +0000)]
* configure.ac (--enable-vmlog): New configure option.

* src/vm/jit/Makefile.am, src/vm/Makefile.am,
src/threads/native/Makefile.am (AM_CPPFLAGS): Added -I for vmlog
includes.

17 years ago* src/vm/jit/replace.c, src/vm/jit/intrp/asmpart.c,
edwin [Sat, 21 Apr 2007 10:55:30 +0000 (10:55 +0000)]
* src/vm/jit/replace.c, src/vm/jit/intrp/asmpart.c,
src/vm/jit/codegen-common.c, src/vm/builtin.c, src/vm/exceptions.c,
src/vm/vm.c, src/threads/native/lock.c (ENABLE_VMLOG): Applied the
vmlog patch and wrapped all inserted code with
#if defined(ENABLE_VMLOG).

17 years ago* src/toolbox/list.h (list_t): Added size.
twisti [Fri, 20 Apr 2007 13:51:41 +0000 (13:51 +0000)]
* src/toolbox/list.h (list_t): Added size.

* src/toolbox/list.c (list_create): Initialize size.
(list_create_dump): Likewise.
(list_add_first): Increase size.
(list_add_last_unsynced): Likewise.
(list_add_before): Likewise.
(list_remove_unsynced): Decrease size.

17 years ago* src/toolbox/list.h (listnode): Renamed to listnode_t.
twisti [Fri, 20 Apr 2007 13:28:27 +0000 (13:28 +0000)]
* src/toolbox/list.h (listnode): Renamed to listnode_t.
(list): Renamed to list_t.

* src/toolbox/list.c,
src/vm/jit/codegen-common.c,
src/vm/jit/codegen-common.h,
src/vm/jit/emit-common.c,
src/vm/jit/optimizing/profile.c,
src/vm/jit/optimizing/recompile.c,
src/vm/jit/optimizing/recompile.h,
src/vm/properties.c,
src/vmcore/class.c,
src/vmcore/class.h,
src/vmcore/suck.c,
src/vmcore/suck.h: Likewise.

17 years ago* src/vm/vm.c: Changed header order to prevent a warning.
twisti [Fri, 20 Apr 2007 13:09:36 +0000 (13:09 +0000)]
* src/vm/vm.c: Changed header order to prevent a warning.

17 years ago* src/native/vm/cldc1.1/com_sun_cldchi_jvm_JVM.c (loadLibrary): Fixed
twisti [Fri, 20 Apr 2007 13:06:45 +0000 (13:06 +0000)]
* src/native/vm/cldc1.1/com_sun_cldchi_jvm_JVM.c (loadLibrary): Fixed
string-internal warnings.
* src/native/vm/cldc1.1/java_lang_System.c (getProperty0): Likewise.

17 years ago* src/vm/vm.c (version): Print libjvm.so path.
twisti [Fri, 20 Apr 2007 12:53:45 +0000 (12:53 +0000)]
* src/vm/vm.c (version): Print libjvm.so path.

17 years ago* src/vm/vm.c (vm_create): Print unknown -verbose option.
twisti [Fri, 20 Apr 2007 12:48:55 +0000 (12:48 +0000)]
* src/vm/vm.c (vm_create): Print unknown -verbose option.

17 years ago* src/vm/jit/codegen-common.c (codegen_finish_native_call): #ifdef lrt
twisti [Fri, 20 Apr 2007 12:40:05 +0000 (12:40 +0000)]
* src/vm/jit/codegen-common.c (codegen_finish_native_call): #ifdef lrt
and plrt. Don't set lrt, we don't need it.

17 years ago* src/threads/threads-common.h (native/jni.h): Added.
twisti [Fri, 20 Apr 2007 11:21:38 +0000 (11:21 +0000)]
* src/threads/threads-common.h (native/jni.h): Added.

17 years ago* src/vm/signal.c (signal_thread): Check return value of sig*
twisti [Thu, 19 Apr 2007 21:31:47 +0000 (21:31 +0000)]
* src/vm/signal.c (signal_thread): Check return value of sig*
functions.