cacao.git
17 years ago* src/vm/jit/emit-common.c: Added emit_branch statistics.
tbfg [Thu, 14 Jun 2007 12:10:49 +0000 (12:10 +0000)]
* src/vm/jit/emit-common.c: Added emit_branch statistics.
* src/vmcore/statistics.c: Likewise.
* src/vmcore/statistics.h: Added count_emit_branch,
count_emit_branch_8bit, count_emit_branch_16bit,
count_emit_branch_32bit, count_emit_branch_64bit.

17 years agosrc/vm/jit/m68k/disass.c: Changed bfd_mach_mcf_isa_b_float_emac to
tbfg [Thu, 14 Jun 2007 12:07:03 +0000 (12:07 +0000)]
src/vm/jit/m68k/disass.c: Changed bfd_mach_mcf_isa_b_float_emac to
bfd_mach_mcfv4e as needed for newer binutils.

17 years ago* src/vm/jit/x86_64/asmpart.S (asm_vm_call_method): Rewritten for new
twisti [Thu, 14 Jun 2007 11:12:11 +0000 (11:12 +0000)]
* src/vm/jit/x86_64/asmpart.S (asm_vm_call_method): Rewritten for new
argument passing.

* src/vm/jit/x86_64/md-abi.c (md_param_alloc): Set pd->index.

* src/vm/vm.c: Added __X86_64__ ifdef.
* src/vm/vm.h: Likewise.
* src/native/jni.c: Likewise.
* src/vm/jit/asmpart.h: Likewise.

17 years ago* src/vm/vm.c (vm_array_from_objectarray): For TYPE_ADR param can be
twisti [Thu, 14 Jun 2007 11:06:48 +0000 (11:06 +0000)]
* src/vm/vm.c (vm_array_from_objectarray): For TYPE_ADR param can be
NULL, that's ok (jboss is a testcase for that).

17 years ago* src/vm/vm.c (vm_call_method_long_vmarg): Removed vm_abort.
twisti [Thu, 14 Jun 2007 10:20:02 +0000 (10:20 +0000)]
* src/vm/vm.c (vm_call_method_long_vmarg): Removed vm_abort.

17 years ago* src/vm/vm.c (arch.h): Added.
twisti [Thu, 14 Jun 2007 09:44:12 +0000 (09:44 +0000)]
* src/vm/vm.c (arch.h): Added.
(vm/jit/abi-asm.h): Likewise.
(vm_array_store_int): Use ARG_CNT define.
(vm_array_store_dbl): Likewise.
(vm_array_store_flt): Likewise.
(vm_array_store_dbl): Likewise.
(vm_array_store_adr) [HAS_ADDRESS_REGISTER_FILE]: Changed offset.

17 years ago* src/vm/vm.c: Fixed typos.
twisti [Thu, 14 Jun 2007 09:35:31 +0000 (09:35 +0000)]
* src/vm/vm.c: Fixed typos.

17 years ago* src/vm/jit/mips/asmpart.S (asm_vm_call_method) [!WORDS_BIGENDIAN]:
twisti [Thu, 14 Jun 2007 00:38:53 +0000 (00:38 +0000)]
* src/vm/jit/mips/asmpart.S (asm_vm_call_method) [!WORDS_BIGENDIAN]:
Fixed bug (use lw instead of ld), better code in the stack copy loop.

17 years ago* src/vm/jit/mips/asmpart.S (asm_vm_call_method): Rewritten for new
twisti [Wed, 13 Jun 2007 22:27:17 +0000 (22:27 +0000)]
* src/vm/jit/mips/asmpart.S (asm_vm_call_method): Rewritten for new
argument passing.

* src/vm/jit/mips/md-abi.c (stdarg.h): Added.
(mm/memory.h): Likewise.
(md_param_alloc): Set pd->index.

* src/vm/jit/asmpart.h (stdint.h): Added new function prototypes.

* src/vm/vm.c (md-abi.h): Added.
(vm_array_store_int): New function.
(vm_array_store_lng): Likewise.
(vm_array_store_flt): Likewise.
(vm_array_store_dbl): Likewise.
(vm_array_store_adr): Likewise.
(vm_array_from_valist): Likewise.
(vm_array_from_jvalue): Likewise.
(vm_array_from_objectarray): Likewise.
(vm_call_method_valist): New version added.
(vm_call_method_jvalue): Likewise.
(vm_call_array): New function.
(vm_call_int_array): Likewise.
(vm_call_method_int_valist): New version added.
(vm_call_method_int_jvalue): Likewise.
(vm_call_method_long_valist): Likewise.
(vm_call_method_long_jvalue): Likewise.
(vm_call_long_array): New function.
(vm_call_method_float_vmarg): Added vm_abort.
(vm_call_method_double_vmarg): Likwise.

* src/vm/vm.h (stdarg.h): Added.
(vmcore/class.h): Likewise.
(vmcore/method.h): Likewise.
(vm_array_from_objectarray): Likewise.
(vm_call_array): Likewise.
(vm_call_int_array): Likewise.
(vm_call_long_array): Likewise.

* src/native/jni.c (_Jv_jni_invokeNative): Added new version.

* src/vmcore/descriptor.h (stdint.h): Added.
(paramdesc): Added index field (this is temporarily).

17 years ago* src/vm/jit/tools/genoffsets.c (vmcore/class.h): Removed.
twisti [Wed, 13 Jun 2007 21:54:27 +0000 (21:54 +0000)]
* src/vm/jit/tools/genoffsets.c (vmcore/class.h): Removed.
(vmcore/linker.h): Likewise.
(vmcore/method.h): Likewise.

17 years ago* tests/regression/native/testarguments.java,
twisti [Wed, 13 Jun 2007 18:31:19 +0000 (18:31 +0000)]
* tests/regression/native/testarguments.java,
tests/regression/native/testarguments.c,
tests/regression/native/testarguments.output: Added address test.

17 years ago* src/vm/jit/tools/genoffsets.c (main): Removed some obsolete stuff.
twisti [Wed, 13 Jun 2007 17:37:55 +0000 (17:37 +0000)]
* src/vm/jit/tools/genoffsets.c (main): Removed some obsolete stuff.
* src/vm/jit/m68k/md.c (md_init): Removed offobjvftbl check.

17 years ago* src/native/jni.c (_Jv_jni_vmargs_from_objectarray): Removed.
twisti [Wed, 13 Jun 2007 14:26:41 +0000 (14:26 +0000)]
* src/native/jni.c (_Jv_jni_vmargs_from_objectarray): Removed.
(_Jv_jni_invokeNative): Use vm_vmargs_from_objectarray.

* src/vm/vm.c (stdint.h): Added.
(native/include/java_lang_Byte.h)
(native/include/java_lang_Character.h)
(native/include/java_lang_Short.h)
(native/include/java_lang_Integer.h)
(native/include/java_lang_Boolean.h)
(native/include/java_lang_Long.h)
(native/include/java_lang_Float.h)
(native/include/java_lang_Double.h): Likewise.
(vm_vmargs_from_objectarray): New function.

* src/vm/vm.h (vm_vmargs_from_objectarray): Added.

17 years ago* src/native/jni.c (stdint.h): Added.
twisti [Wed, 13 Jun 2007 14:08:24 +0000 (14:08 +0000)]
* src/native/jni.c (stdint.h): Added.
(_Jv_jni_vmargs_from_objectarray): Use stdint-types, use global class
variables.

17 years ago* src/vm/jits/390/codegen.h (N_BRC_BACK_PATCH, N_LTEBR, N_LTDBR, N_LTXBR, DD_0, ...
pm [Tue, 12 Jun 2007 15:50:35 +0000 (15:50 +0000)]
* src/vm/jits/390/codegen.h (N_BRC_BACK_PATCH, N_LTEBR, N_LTDBR, N_LTXBR, DD_0, ..., DD_3): added, (M_CVTFI, M_CVTDI) changed to round to nearest.
* src/vm/jits/390/codegen.c (codegen_emit): In ICMD_F2I and ICMD_D2I correct handling of corner cases, ICMD_LALOAD fix.
* src/vm/jit/s390/md.c (md_dump_context): Include information on java method in dump.
* src/vm/jits/390/tests/dacapo.status: Noted dacapo eclipse results.

17 years ago* src/native/vm/gnu/java_lang_reflect_Constructor.c (constructNative):
twisti [Tue, 12 Jun 2007 12:32:18 +0000 (12:32 +0000)]
* src/native/vm/gnu/java_lang_reflect_Constructor.c (constructNative):
Added asserts for declaringClass and slot.
* src/native/vm/gnu/java_lang_reflect_Method.c (invokeNative): Likewise.

17 years ago* src/vm/vm.c (opts): Added OPT_EA, OPT_DA.
twisti [Tue, 12 Jun 2007 09:08:12 +0000 (09:08 +0000)]
* src/vm/vm.c (opts): Added OPT_EA, OPT_DA.
(usage): Print help for OPT_EA, OPT_DA.
(vm_create): Ignore OPT_EA, OPT_DA.

17 years ago* src/vm/jit/s390/emit.c (emit_load_s1_notzero, emit_load_s2_notzero, emit_load_s1_bu...
pm [Mon, 11 Jun 2007 15:22:09 +0000 (15:22 +0000)]
* src/vm/jit/s390/emit.c (emit_load_s1_notzero, emit_load_s2_notzero, emit_load_s1_but, emit_load_s2_but): Correctly handle float regissters.
* src/vm/jit/s390/tests/dacapo.status: Include dacapo lusearch results.

17 years ago* src/native/vm/java_lang_reflect_Method.c: New file.
twisti [Mon, 11 Jun 2007 15:11:01 +0000 (15:11 +0000)]
* src/native/vm/java_lang_reflect_Method.c: New file.
* src/native/vm/java_lang_reflect_Method.h: Likewise.

* src/native/vm/Makefile.am [ENABLE_JAVASE]
(JAVA_LANG_REFLECT_METHOD_SOURCES): Added
(libnativevm_la_SOURCES): Added JAVA_LANG_REFLECT_METHOD_SOURCES.

* src/native/vm/gnu/java_lang_reflect_Method.c
(native/vm/java_lang_reflect_Method.h): Added.
(invokeNative): Use _Jv_java_lang_reflect_Method_invoke.

17 years ago* src/vmcore/method.c (method_returntype_get): New function.
twisti [Mon, 11 Jun 2007 14:44:58 +0000 (14:44 +0000)]
* src/vmcore/method.c (method_returntype_get): New function.
* src/vmcore/method.h (method_returntype_get): Added.

* src/native/vm/gnu/java_lang_reflect_Method.c (getReturnType): Use
method_returntype_get.

17 years ago* src/vm/resolve.c (resolve_class_from_name): Call
twisti [Mon, 11 Jun 2007 08:12:14 +0000 (08:12 +0000)]
* src/vm/resolve.c (resolve_class_from_name): Call
exceptions_classnotfoundexception_to_noclassdeffounderror in exception
case.

* src/vm/exceptions.c (vmcore/method.h): Added.
(exceptions_throw_utf_throwable): Added object-initialize code.
(exceptions_throw_utf_exception): Likewise.
(exceptions_throw_noclassdeffounderror_cause): New function.
(classnotfoundexception_to_noclassdeffounderror): Renamed to
exceptions_classnotfoundexception_to_noclassdeffounderror.
(exceptions_print_stacktrace): Don't use exceptionptr directly.

* src/vm/exceptions.h (exceptions_throw_noclassdeffounderror_cause):
Added.
(classnotfoundexception_to_noclassdeffounderror): Renamed to
exceptions_classnotfoundexception_to_noclassdeffounderror.

* src/vm/vm.c (opts): Added XX:.
(vm_create): Likewise.
(vm_run): Call exceptions_throw_noclassdeffounderror_cause when
main-class is not found.

* src/native/vm/java_lang_Class.c (forName): Don't convert exception.

* src/native/vm/gnu/java_lang_VMClassLoader.c (getPrimitiveClass): Use
primitive_class_get_by_char.
(loadClass): Don't convert exception.

* src/native/native.c (native_new_and_init_string): Use
class_findmethod instead of class_resolveclassmethod.
(native_new_and_init_throwable): Removed.
(native_new_and_init_exception): Likewise.

* src/native/native.h (native_new_and_init_throwable): Removed.
(native_new_and_init_exception): Likewise.

* src/vmcore/class.c (class_array_of): Smaller code changes.

* src/vmcore/loader.c (vmcore/primitive.h): Added.
(load_class_from_classloader): Don't convert exception.
(load_class_bootstrap): Throw ClassNotFoundException instead of
NoClassDefFoundError.
(load_newly_created_array): Likewise, check if primitive-array type is
valid.

* src/vmcore/utf8.c (utf_initCause): Added.
(utf_java_lang_Throwable__java_lang_Throwable): Likewise.
(utf8_init): Initialize new variables.

* src/vmcore/utf8.h (utf_initCause): Added.
(utf_java_lang_Throwable__java_lang_Throwable): Likewise.

* src/cacaoh/dummy.c (exceptions_throw_classnotfoundexception): New
function.
(classnotfoundexception_to_noclassdeffounderror): Removed.

* src/vmcore/options.c (options_xx): New function.
* src/vmcore/options.h (options_xx): Added.

17 years ago* src/vmcore/primitive.c (primitive_class_get_by_char): New function.
twisti [Mon, 11 Jun 2007 07:59:36 +0000 (07:59 +0000)]
* src/vmcore/primitive.c (primitive_class_get_by_char): New function.
* src/vmcore/primitive.h (primitive_class_get_by_char): Added.

17 years ago* src/vm/global.h (PRIMITIVETYPE_*): Removed.
twisti [Sun, 10 Jun 2007 20:00:40 +0000 (20:00 +0000)]
* src/vm/global.h (PRIMITIVETYPE_*): Removed.
(ARRAYTYPE_*): Likewise.

* src/vm/jit/verify/typecheck-typeinferer.c (vmcore/primitive.h): Added.
* src/vm/jit/verify/typecheck.c: Likewise.
* src/vm/jit/verify/typecheck-stackbased.c: Likewise.
* src/vm/jit/verify/typeinfo.c: Likewise.
* src/vm/builtin.c: Likewise.
* src/native/jni.c: Likewise.
* src/native/vm/gnu/java_lang_VMClassLoader.c: Likewise.
* src/native/vm/gnu/java_lang_reflect_Field.c: Likewise.
* src/vmcore/descriptor.c: Likewise.

* src/vm/string.c (vmcore/primitive.h): Added.
(stringtable_update): Use new primitive functions.

* src/vm/resolve.c: Likewise.
(resolve_class_from_typedesc): Use new primitive functions.

* src/vm/vm.c (vmcore/primitive.h): Added.
(vm_create): Call primitive_init.

* src/native/vm/java_lang_Class.c (vmcore/primitive.h): Added.
(isPrimitive): Use primitive_class_is_primitive.
(getDeclaringClass): Likewise.
(getDeclaredClasses): Likewise.
(getComponentType): Use primitive_class_get_by_type.

* src/vmcore/class.c (class_is_primitive): Removed.
(class_primitive_get): Removed.
* src/vmcore/class.c: Likewise.

* src/vmcore/primitive.c: New file.
* src/vmcore/primitive.h: Likewise.

* src/vmcore/Makefile.am (libvmcore_la_SOURCES): Added primitive.[ch].

* src/vmcore/linker.c (vmcore/primitive.h): Added.
(primitivetype_table): Removed.
(linker_init): Removed link_primitivetype_table call.
(link_primitivetype_table): Removed.

* src/vmcore/linker.h (primitivetypeinfo): Removed.
(primitivetype_table): Removed.

* src/vm/jit/verify/typecheck-builtins.inc: Removed Contact, Authors
from header.

17 years ago* src/vm/vm.c (vm_vmargs_from_valist): Use TYPE_-defines instead of
twisti [Sun, 10 Jun 2007 19:31:28 +0000 (19:31 +0000)]
* src/vm/vm.c (vm_vmargs_from_valist): Use TYPE_-defines instead of
PRIMITIVETYPE_ ones.
(vm_vmargs_from_jvalue): Likewise.

17 years ago* src/native/jni.c (_Jv_jni_vmargs_from_objectarray): Indent.
twisti [Sun, 10 Jun 2007 19:30:25 +0000 (19:30 +0000)]
* src/native/jni.c (_Jv_jni_vmargs_from_objectarray): Indent.

17 years ago* m4/classpath.m4 (AC_CHECK_WITH_CLASSPATH_INCLUDEDIR): Check for
twisti [Fri, 8 Jun 2007 20:42:54 +0000 (20:42 +0000)]
* m4/classpath.m4 (AC_CHECK_WITH_CLASSPATH_INCLUDEDIR): Check for
jni_md.h too.

17 years ago* configure.ac (AC_CHECK_FUNCS): Added lseek.
twisti [Fri, 8 Jun 2007 20:04:34 +0000 (20:04 +0000)]
* configure.ac (AC_CHECK_FUNCS): Added lseek.

17 years ago* src/vmcore/class.c (class_define): New function.
twisti [Thu, 7 Jun 2007 23:30:45 +0000 (23:30 +0000)]
* src/vmcore/class.c (class_define): New function.
* src/vmcore/class.h (class_define): Added.

* src/native/vm/java_lang_ClassLoader.c (defineClass): Use
class_define.

17 years ago* src/vmcore/utf8.c (utf_java_lang_Exception__V): Added.
twisti [Thu, 7 Jun 2007 22:41:54 +0000 (22:41 +0000)]
* src/vmcore/utf8.c (utf_java_lang_Exception__V): Added.
(utf8_init): Initialize utf_java_lang_Exception__V.
* src/vmcore/utf8.h (utf_java_lang_Exception__V): Added.

* src/vm/exceptions.c (exceptions_throw_utf_exception): New function.
(exceptions_throw_privilegedactionexception): Use
exceptions_throw_utf_exception.

* src/native/native.c (native_new_and_init_exception): New function.
* src/native/native.h (native_new_and_init_exception): Added.

17 years ago* src/vmcore/utf8.c (utf_java_security_PrivilegedActionException):
twisti [Thu, 7 Jun 2007 22:20:37 +0000 (22:20 +0000)]
* src/vmcore/utf8.c (utf_java_security_PrivilegedActionException):
Added.
(utf8_init): Initialize utf_java_security_PrivilegedActionException.

* src/vmcore/utf8.h (utf_java_security_PrivilegedActionException):
Added.

* src/vm/exceptions.c (exceptions_throw_privilegedactionexception):
New function.

* src/vm/exceptions.h (exceptions_throw_privilegedactionexception):
Added.

17 years ago* src/vm/jit/s390/emit.c (emit_verbosecall_enter): Fix passing of float argument...
pm [Thu, 7 Jun 2007 22:02:16 +0000 (22:02 +0000)]
* src/vm/jit/s390/emit.c (emit_verbosecall_enter): Fix passing of float argument 2 to builtin_verbosecall_enter.
* src/vm/builtin.c (builtin_print_argument): Fix malfunctioning conversion from s8 to float on s390.

17 years ago* src/native/jni.c (_Jv_JNI_FatalError): Changed error message.
twisti [Thu, 7 Jun 2007 21:52:21 +0000 (21:52 +0000)]
* src/native/jni.c (_Jv_JNI_FatalError): Changed error message.

17 years ago* src/vm/builtin.c (builtin_nanotime): New function.
twisti [Thu, 7 Jun 2007 19:24:35 +0000 (19:24 +0000)]
* src/vm/builtin.c (builtin_nanotime): New function.
(builtin_currenttimemillis): Use builtin_nanotime.

* src/vm/builtin.h (builtin_nanotime): Added.

17 years ago* configure.ac (AC_CHECK_FUNCS): Added open, strerror.
twisti [Thu, 7 Jun 2007 19:22:31 +0000 (19:22 +0000)]
* configure.ac (AC_CHECK_FUNCS): Added open, strerror.

17 years ago* src/vmcore/class.c (class_primitive_get): New function.
twisti [Thu, 7 Jun 2007 17:43:29 +0000 (17:43 +0000)]
* src/vmcore/class.c (class_primitive_get): New function.
* src/vmcore/class.h (class_primitive_get): Added.

* src/vmcore/linker.c (primitivetype_table): Changed layout.
(link_primitivetype_table): Store UTF-8 name in table.

* src/vmcore/linker.h (primitivetypeinfo): Changed layout, added
cname, changed name to UTF-8.

17 years ago* configure.ac (AC_CHECK_HEADERS): Check for sys/select.h, sys/stat.h,
twisti [Thu, 7 Jun 2007 16:21:11 +0000 (16:21 +0000)]
* configure.ac (AC_CHECK_HEADERS): Check for sys/select.h, sys/stat.h,
sys/types.h.
(AC_CHECK_FUNCS): Check for fstat, ioctl, select.

17 years ago* src/vm/jit/m68k/linux/md-abi.c: Additional defines for address registers.
tbfg [Thu, 7 Jun 2007 11:23:52 +0000 (11:23 +0000)]
* src/vm/jit/m68k/linux/md-abi.c: Additional defines for address registers.

17 years ago* src/native/vm/gnu/java_lang_reflect_Constructor.c (methods): Install
twisti [Thu, 7 Jun 2007 09:04:51 +0000 (09:04 +0000)]
* src/native/vm/gnu/java_lang_reflect_Constructor.c (methods): Install
_Jv_- functions directly.
(getModifiersInternal): Removed.
(getParameterTypes): Likewise.
(getExceptionTypes): Likewise.
(constructNative): Call _Jv_java_lang_reflect_Constructor_newInstance.
(getSignature): Removed.

* src/native/vm/Makefile.am [ENABLE_JAVASE]
(JAVA_LANG_REFLECT_CONSTRUCTOR_SOURCES): Added.
(libnativevm_la_SOURCES): Added JAVA_LANG_REFLECT_CONSTRUCTOR_SOURCES.

* src/native/vm/java_lang_reflect_Constructor.c: New file.
* src/native/vm/java_lang_reflect_Constructor.h: Likewise.

17 years ago* src/vm/jit/code.h (codeinfo) [ENABLE_REPLACEMENT, HAS_ADDRESS_REGISTER_FILE]:
michi [Thu, 7 Jun 2007 08:51:54 +0000 (08:51 +0000)]
* src/vm/jit/code.h (codeinfo) [ENABLE_REPLACEMENT, HAS_ADDRESS_REGISTER_FILE]:
Added savedadrcount.

* src/vm/jit/replace.c [HAS_ADDRESS_REGISTER_FILE]: Added support for address
registers.

* src/vm/jit/replace.h [HAS_ADDRESS_REGISTER_FILE]: Likewise.

17 years ago* src/vmcore/class.c (class_is_primitive): New function.
twisti [Wed, 6 Jun 2007 17:23:42 +0000 (17:23 +0000)]
* src/vmcore/class.c (class_is_primitive): New function.
* src/vmcore/class.h (class_is_primitive): Added.

* src/native/vm/java_lang_Class.c (isPrimitive): Use
class_is_primitive.
(getDeclaringClass): Likewise.
(getDeclaredClasses): Likewise.

17 years ago* NEWS: Fixed 0.98 release date.
twisti [Wed, 6 Jun 2007 17:19:17 +0000 (17:19 +0000)]
* NEWS: Fixed 0.98 release date.

17 years ago* configure.ac (AC_INIT): Changed version to 0.98+svn.
twisti [Wed, 6 Jun 2007 11:31:28 +0000 (11:31 +0000)]
* configure.ac (AC_INIT): Changed version to 0.98+svn.
(OPT_CFLAGS): Changed to -O0.

17 years ago* ChangeLog: Updated.
twisti [Wed, 6 Jun 2007 09:26:00 +0000 (09:26 +0000)]
* ChangeLog: Updated.

17 years ago* configure.ac (AC_INIT): Changed version to 0.98.
twisti [Wed, 6 Jun 2007 09:24:22 +0000 (09:24 +0000)]
* configure.ac (AC_INIT): Changed version to 0.98.

17 years ago* src/native/vm/gnu/java_lang_VMString.c
twisti [Tue, 5 Jun 2007 23:46:59 +0000 (23:46 +0000)]
* src/native/vm/gnu/java_lang_VMString.c
(native/vm/java_lang_String.h): Added.
(intern): Call _Jv_java_lang_String_intern.

* src/native/vm/java_lang_String.c: New file.
* src/native/vm/java_lang_String.h: Likewise.

* src/native/vm/Makefile.am (libnativevm_la_SOURCES): Added
java_lang_String.[ch].

17 years ago* src/native/native.c (native_init): Check nativevm_init return value.
twisti [Tue, 5 Jun 2007 22:11:12 +0000 (22:11 +0000)]
* src/native/native.c (native_init): Check nativevm_init return value.

* src/native/vm/nativevm.c (nativevm_init): Changed signature.
* src/native/vm/nativevm.h (nativevm_init): Likewise.

17 years ago* src/native/vm/gnu/Makefile.am (libnativevmcore_la_SOURCES): Removed
twisti [Tue, 5 Jun 2007 20:58:11 +0000 (20:58 +0000)]
* src/native/vm/gnu/Makefile.am (libnativevmcore_la_SOURCES): Removed
sun_misc_Unsafe.c.

* src/native/vm/Makefile.am [ENABLE_JAVASE] (SUN_MISC_UNSAFE_SOURCES):
Added.
(libnativevm_la_SOURCES): Added SUN_MISC_UNSAFE_SOURCES.

* src/native/vm/gnu/sun_misc_Unsafe.c: Removed.
* src/native/vm/sun_misc_Unsafe.c: Added.

--HG--
rename : src/native/vm/gnu/sun_misc_Unsafe.c => src/native/vm/sun_misc_Unsafe.c

17 years ago* src/vm/jit/codegen-common.c [__ARM__] (md-abi.h): Removed.
twisti [Tue, 5 Jun 2007 12:53:30 +0000 (12:53 +0000)]
* src/vm/jit/codegen-common.c [__ARM__] (md-abi.h): Removed.
(codegen_reg_of_var) [__ARM__]: Removed split-code.

17 years ago* src/vm/jit/mips/md-abi.c (md_param_alloc) [SIZEOF_VOID_P == 8]: Use
twisti [Tue, 5 Jun 2007 10:19:09 +0000 (10:19 +0000)]
* src/vm/jit/mips/md-abi.c (md_param_alloc) [SIZEOF_VOID_P == 8]: Use
reguse instead of i.

17 years ago* src/vm/jit/mips/md-abi.c (md_param_alloc_native)
twisti [Tue, 5 Jun 2007 10:14:29 +0000 (10:14 +0000)]
* src/vm/jit/mips/md-abi.c (md_param_alloc_native)
[SIZEOF_VOID_P == 8]: Fixed compilation.

17 years ago* src/vm/jit/mips/md-abi.c (md_param_alloc) [SIZEOF_VOID_P == 4]: Use
twisti [Tue, 5 Jun 2007 10:06:18 +0000 (10:06 +0000)]
* src/vm/jit/mips/md-abi.c (md_param_alloc) [SIZEOF_VOID_P == 4]: Use
internally a different calling convention. It's the same as on n64
with register skipping and, but with long alignment (as on ARM).
(md_param_alloc_native) [SIZEOF_VOID_P == 4]: Use the o32 ABI.

* src/vm/jit/mips/codegen.c (codegen_emit) [SIZEOF_VOID_P == 4]:
Changes for new internal calling conventions.
(codegen_emit_stub_native) [SIZEOF_VOID_P == 4]: Likewise.

* src/vm/jit/mips/asmpart.S (asm_vm_call_method) [SIZEOF_VOID_P == 4]:
Adjusted reserved stack-space to 4*4.

17 years ago* src/vm/jit/mips/codegen.c (codegen_emit): Use FLTMOVE and DBLMOVE to
twisti [Tue, 5 Jun 2007 09:00:30 +0000 (09:00 +0000)]
* src/vm/jit/mips/codegen.c (codegen_emit): Use FLTMOVE and DBLMOVE to
save some moves.

17 years ago* src/vm/jit/mips/codegen.c (codegen_emit): Small code-layout change.
twisti [Tue, 5 Jun 2007 07:56:35 +0000 (07:56 +0000)]
* src/vm/jit/mips/codegen.c (codegen_emit): Small code-layout change.

17 years ago* src/vm/vm.c: Set Id keyword.
twisti [Tue, 5 Jun 2007 07:44:38 +0000 (07:44 +0000)]
* src/vm/vm.c: Set Id keyword.

17 years ago* src/vm/vm.c (vmcore/statistics.h): Added.
twisti [Tue, 5 Jun 2007 07:42:57 +0000 (07:42 +0000)]
* src/vm/vm.c (vmcore/statistics.h): Added.

17 years ago* src/vmcore/statistics.c (count_calls_java_to_native): Added.
twisti [Tue, 5 Jun 2007 07:40:49 +0000 (07:40 +0000)]
* src/vmcore/statistics.c (count_calls_java_to_native): Added.
(count_calls_native_to_java): Likewise.
(count_native_function_calls): Removed.
(nativeinvokation): Likewise.
(print_stats): Print new variables.

* src/vmcore/statistics.h (count_calls_java_to_native): Added.
(count_calls_native_to_java): Likewise.
(nativeinvokation): Removed.

* src/vm/jit/codegen-common.c (codegen_start_native_call)
[ENABLE_STATISTICS]: Increase count_calls_java_to_native.

* src/vm/vm.c (vm_call_method_vmarg) [ENABLE_STATISTICS]: Increase
count_calls_native_to_java.
(vm_call_method_int_vmarg): Likewise.
(vm_call_method_long_vmarg): Likewise.
(vm_call_method_float_vmarg): Likewise.
(vm_call_method_double_vmarg): Likewise.

17 years ago* src/vm/signal.c (unistd.h): Removed.
twisti [Mon, 4 Jun 2007 13:12:56 +0000 (13:12 +0000)]
* src/vm/signal.c (unistd.h): Removed.
(sys/mman.h): Likewise.
(signal_init): Moved mmap of page 0x0 and the hardware-exceptions
check into exceptions_init.

* src/vm/exceptions.c (unistd.h): Added.
(sys/mman.h): Likewise.
(exceptions_init): See above.

17 years ago* src/vm/signal.c (signal_init): Use if-vm_abort instead of assert.
twisti [Mon, 4 Jun 2007 12:59:04 +0000 (12:59 +0000)]
* src/vm/signal.c (signal_init): Use if-vm_abort instead of assert.
* src/vm/exceptions.h: Changed hardware-exception comment accordingly.

17 years ago* src/threads/threads-common.c (threads_thread_start_internal):
twisti [Sun, 3 Jun 2007 18:42:09 +0000 (18:42 +0000)]
* src/threads/threads-common.c (threads_thread_start_internal):
Changed order of initialization stuff, so we can leave the join-mutex
very early.
(threads_thread_start): Likewise.

* src/threads/native/threads.c (threads_mutex_join_lock): New
function.
(threads_mutex_join_unlock): Likewise.
(threads_attach_current_thread): Changed order of initialization
stuff, so we can leave the join-mutex very early.
(threads_detach_thread): Send the signal inside the join-mutex.
(threads_join_all_threads): Use join-mutex functions.

* src/threads/threads-common.h (threads_mutex_join_lock): Added.
(threads_mutex_join_unlock): Likewise.

17 years ago* configure.ac: Fix broken regex.h test.
pm [Sun, 3 Jun 2007 18:24:44 +0000 (18:24 +0000)]
* configure.ac: Fix broken regex.h test.

17 years ago* contrib/vmlog/vmlogfilter.c: Added a tool that filters a vmlog log file the same...
pm [Sat, 2 Jun 2007 17:47:30 +0000 (17:47 +0000)]
* contrib/vmlog/vmlogfilter.c: Added a tool that filters a vmlog log file the same way as -XXfi and -XXfx do.

* contrib/vmlog/vmlog.c,
contrib/vmlog/vmlog.h (vmlog_thread_log_append): Made not-static.

* contrib/vmlog/Makefile.am,
configure.ac: Conditional building of vmlogfilter if ENABLE_VMLOG is set and regex.h present.

17 years ago* src/vm/signal.c: Added ifdefs to fix compiling with disabled threads.
ajordan [Fri, 1 Jun 2007 19:34:56 +0000 (19:34 +0000)]
* src/vm/signal.c: Added ifdefs to fix compiling with disabled threads.

17 years ago* src/vm/jit/sparc64/codegen.c (codegen_emit_stub_native): Fixed the way
ajordan [Fri, 1 Jun 2007 00:45:04 +0000 (00:45 +0000)]
* src/vm/jit/sparc64/codegen.c (codegen_emit_stub_native): Fixed the way
float arguments are preserved over codegen_start_native_call.
* src/vm/jit/sparc64/md-abi.c (codegen_start_native_call): Likewise.

* src/vm/jit/sparc64/machine-instr.h (compare_and_swap): Changed inline
assembly, so it survives gcc optimization.

* src/vm/jit/sparc64/asmpart.S (asm_patcher_wrapper): Saving and restoring
float return register.
* src/vm/jit/sparc64/md-asm.h: Likewise.

17 years ago* m4/ac_pthreads_implementation.m4: Reverted rev7996.
twisti [Fri, 1 Jun 2007 00:29:51 +0000 (00:29 +0000)]
* m4/ac_pthreads_implementation.m4: Reverted rev7996.
* m4/threads.m4: Likewise.

* src/threads/threads-common.c [__LINUX__]
(threads_pthreads_implementation_nptl): Added.
(threads_preinit) [__LINUX__]: Check which thread-implementation we
are using.

* src/threads/threads-common.h [__LINUX__]
(threads_pthreads_implementation_nptl): Added.

* src/vm/signal.c (signal_init) [__LINUX__]: Check for
threads_pthreads_implementation_nptl.

* src/vm/vm.c (vm_create) [__LINUX__]: Likewise.

17 years ago* src/vm/jit/mips/irix/md-os.c (vm/jit/mips/codegen.h): Added.
twisti [Thu, 31 May 2007 23:26:23 +0000 (23:26 +0000)]
* src/vm/jit/mips/irix/md-os.c (vm/jit/mips/codegen.h): Added.
(md_signal_handler_sigsegv): Updated to new exception-handling.
(thread_restartcriticalsection): Renamed to
md_critical_section_restart.

17 years ago* m4/ac_pthreads_implementation.m4: New file.
twisti [Thu, 31 May 2007 23:05:51 +0000 (23:05 +0000)]
* m4/ac_pthreads_implementation.m4: New file.

* m4/threads.m4 (AC_CHECK_ENABLE_THREADS): Call
AC_CHECK_PTHREADS_IMPLEMENTATION for posix and linux.

* configure.ac (AC_CHECK_HEADERS): Added stdlib.h.
(AC_CHECK_FUNCS): Added confstr, strstr.

* src/vm/signal.c (signal_init) [!PTHREADS_IS_LINUXTHREADS]: Only
block the signals if we are not on LinuxThreads.
(signal_thread): Set state accordingly.

* src/vm/vm.c (vm_create) [!PTHREADS_IS_LINUXTHREADS]: Only start
signal-thread if we are not on LinuxThreads.

17 years ago* src/vm/signal.c: Reverted rev7978.
twisti [Thu, 31 May 2007 22:45:19 +0000 (22:45 +0000)]
* src/vm/signal.c: Reverted rev7978.

17 years ago* src/vm/vm.c (vm_create): Added comment.
twisti [Thu, 31 May 2007 16:10:58 +0000 (16:10 +0000)]
* src/vm/vm.c (vm_create): Added comment.

17 years ago* src/vm/jit/powerpc64/emit.c (emit_branch): Removed debug output.
twisti [Wed, 30 May 2007 22:32:43 +0000 (22:32 +0000)]
* src/vm/jit/powerpc64/emit.c (emit_branch): Removed debug output.

17 years ago* NEWS: Added some 0.98 release notes.
twisti [Wed, 30 May 2007 22:01:38 +0000 (22:01 +0000)]
* NEWS: Added some 0.98 release notes.

17 years ago* ChangeLog: Updated.
twisti [Wed, 30 May 2007 21:59:29 +0000 (21:59 +0000)]
* ChangeLog: Updated.
* ChangeLog-2006: New file.

17 years ago* src/vm/jit/powerpc/darwin/md-os.c (thread_restartcriticalsection):
twisti [Wed, 30 May 2007 21:05:20 +0000 (21:05 +0000)]
* src/vm/jit/powerpc/darwin/md-os.c (thread_restartcriticalsection):
Renamed to md_critical_section_restart.

17 years ago* src/vm/jit/powerpc/asmpart.S [ENABLE_REPLACEMENT] (L_replace_me)
twisti [Wed, 30 May 2007 21:04:42 +0000 (21:04 +0000)]
* src/vm/jit/powerpc/asmpart.S [ENABLE_REPLACEMENT] (L_replace_me)
(L_replace_build_execution_state, L_replace_free_safestack): Only if
replacement is enabled, otherwise we get a linker error.

17 years ago* src/vm/jit/powerpc/darwin/md-abi.c,
twisti [Wed, 30 May 2007 20:53:56 +0000 (20:53 +0000)]
* src/vm/jit/powerpc/darwin/md-abi.c,
src/vm/jit/powerpc/darwin/md-abi.h: Removed Contact, Authors, Changes
from header.

17 years ago* src/vm/signal.c (signal_thread) [!__DARWIN__]: Don't do the
twisti [Wed, 30 May 2007 20:51:50 +0000 (20:51 +0000)]
* src/vm/signal.c (signal_thread) [!__DARWIN__]: Don't do the
GC_signum stuff on Darwin (should also be done on Solaris, but let's
wait how the exact-GC is doing).

17 years ago* src/vm/builtin.c (math.h): Removed because we don't need it as we
twisti [Wed, 30 May 2007 20:45:43 +0000 (20:45 +0000)]
* src/vm/builtin.c (math.h): Removed because we don't need it as we
include fdlibm.h and it does not work on some OSs, like Darwin.

17 years ago* src/mm/boehm-gc/pthread_stop_world.c (GC_signum1, GC_signum2): No it
twisti [Wed, 30 May 2007 20:40:23 +0000 (20:40 +0000)]
* src/mm/boehm-gc/pthread_stop_world.c (GC_signum1, GC_signum2): No it
did not work, reverted rev7981.

17 years ago* src/threads/native/threads.c (threads_impl_preinit): Initialize
twisti [Wed, 30 May 2007 20:30:00 +0000 (20:30 +0000)]
* src/threads/native/threads.c (threads_impl_preinit): Initialize
mutex_threads_list.
(threads_impl_table_init): Removed.
(threads_impl_table_init, threads_list_unlock): Fixed debug message.

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

17 years ago* src/vm/resolve.c (resolve_subtype_check): Don't free the memory
twisti [Wed, 30 May 2007 20:04:42 +0000 (20:04 +0000)]
* src/vm/resolve.c (resolve_subtype_check): Don't free the memory
before it's used.

17 years ago* src/vm/jit/powerpc64/codegen.c (codegen_emit_stub_native): Fixed
twisti [Wed, 30 May 2007 20:01:49 +0000 (20:01 +0000)]
* src/vm/jit/powerpc64/codegen.c (codegen_emit_stub_native): Fixed
typo.

* src/vm/jit/powerpc64/emit.c [!NDEBUG] (emit_verbosecall_enter)
(emit_verbosecall_exit): Only compile conditionally.

17 years ago* src/mm/boehm-gc/pthread_stop_world.c (cacao_suspendhandler):
twisti [Wed, 30 May 2007 19:43:36 +0000 (19:43 +0000)]
* src/mm/boehm-gc/pthread_stop_world.c (cacao_suspendhandler):
Commented.
(GC_suspend_handler): Commented cacao_suspendhandler call.
(GC_signum1, GC_signum2): Define for all configurations (hope that
works).

* src/threads/native/threads.c: Commented all critical-sections code,
as it does not work anyway and it does not compile everywhere.

17 years ago* src/vm/jit/powerpc64/md.c (md_get_method_patch_address): Use
twisti [Wed, 30 May 2007 16:01:09 +0000 (16:01 +0000)]
* src/vm/jit/powerpc64/md.c (md_get_method_patch_address): Use
vm_abort and fixed warning.
(md_codegen_get_pv_from_pc): Likewise.

17 years ago* src/vm/jit/powerpc64/codegen.c (codegen_emit): Fixed --disable-debug
twisti [Wed, 30 May 2007 15:52:00 +0000 (15:52 +0000)]
* src/vm/jit/powerpc64/codegen.c (codegen_emit): Fixed --disable-debug
build.

17 years ago* src/vm/signal.c (mm/boehm-gc/include/gc.h): Added.
twisti [Wed, 30 May 2007 14:09:10 +0000 (14:09 +0000)]
* src/vm/signal.c (mm/boehm-gc/include/gc.h): Added.
(GC_suspend_handler): Defined.
(GC_restart_handler): Likewise.
(signal_thread): Add the Boehm-GC signals to the mask and call the
appropriate Boehm-function. This is a workaround for the
Boehm-LinuxThreads bug.

17 years ago* src/vm/signal.c (signal_init): Changed signature.
twisti [Tue, 29 May 2007 12:34:20 +0000 (12:34 +0000)]
* src/vm/signal.c (signal_init): Changed signature.
* src/vm/signallocal.h (signal_init): Likewise.

* src/vm/vm.c (vm_create): Call signal_init right after gc_init and
check return value.

17 years ago* src/vm/access.c (string.h): Added.
twisti [Tue, 29 May 2007 12:22:55 +0000 (12:22 +0000)]
* src/vm/access.c (string.h): Added.
(mm/memory.h): Likewise.
(vmcore/field.h): Likewise.
(vmcore/method.h): Likewise.
(access_check_member): Removed.
(access_check_field): New function.
(access_check_method): Likewise.

* src/vm/access.h (vmcore/field.h): Added.
(vmcore/method.h): Likewise.
(access_check_member): Removed.
(access_check_field): New function.
(access_check_method): Likewise.

* src/native/vm/gnu/java_lang_reflect_Method.c (invokeNative): Call
access_check_method instead of access_check_member.

* src/native/vm/gnu/java_lang_reflect_Constructor.c (constructNative):
Likewise.

* src/native/vm/gnu/java_lang_reflect_Field.c
(cacao_get_field_address): Call access_check_field instead of
access_check_member.

17 years ago* src/vm/jit/show.c (vm/vm.h) add missing include,
pm [Tue, 29 May 2007 11:44:02 +0000 (11:44 +0000)]
* src/vm/jit/show.c (vm/vm.h) add missing include,
(_no_threads_filterverbosecallctr) fix type: u2 instead of u4

17 years ago* src/vm/jit/powerpc64/codegen.c (codegen_emit): Fixed warnings, some
twisti [Tue, 29 May 2007 11:30:20 +0000 (11:30 +0000)]
* src/vm/jit/powerpc64/codegen.c (codegen_emit): Fixed warnings, some
indent.

17 years ago* src/vm/exceptions.c (exceptions_throw_illegalaccessexception):
twisti [Tue, 29 May 2007 09:03:56 +0000 (09:03 +0000)]
* src/vm/exceptions.c (exceptions_throw_illegalaccessexception):
Changed signature.
* src/vm/exceptions.h: Likewise.

* src/vm/resolve.c (resolve_class_from_name): Make utf8-string out of
exception message.
(resolve_subtype_check): Likewise.
(resolve_field_verifier_checks): Likewise.
(resolve_method_verifier_checks): Likewise.

17 years ago* src/vm/jit/sparc64/codegen.h: Removed asserts for stores with sethi.
ajordan [Mon, 28 May 2007 00:05:04 +0000 (00:05 +0000)]
* src/vm/jit/sparc64/codegen.h: Removed asserts for stores with sethi.

* src/vm/jit/sparc64/codegen.c: Added code to fill with nops when a patcher is right at the
end of a basic block.

* src/vm/jit/sparc64/asmpart.S (asm_vm_call_method_end): Returning 0 when an exception occurs.

* src/vm/jit/sparc64/md.c (md_get_method_patch_address): Improved handling of mptr loads when
a sethi is involved.

17 years ago* contrib/vmlog/vmlog.c: Use autoconf define WORDS_BIGENDIAN to determine endianess.
pm [Sat, 26 May 2007 15:26:06 +0000 (15:26 +0000)]
* contrib/vmlog/vmlog.c: Use autoconf define WORDS_BIGENDIAN to determine endianess.

17 years ago* src/threads/threads-common.c (threads_thread_start_internal)
twisti [Fri, 25 May 2007 15:23:56 +0000 (15:23 +0000)]
* src/threads/threads-common.c (threads_thread_start_internal)
[WITH_CLASSPATH_CLDC1_1]: Set name to NULL, but this needs a fix.
(threads_thread_print_info) [ENABLE_JAVAME_CLDC1_1]: Set name to
utf_null.

17 years ago* src/vm/jit/optimizing/ifconv.c (vm/vm.h): Added.
twisti [Fri, 25 May 2007 15:05:57 +0000 (15:05 +0000)]
* src/vm/jit/optimizing/ifconv.c (vm/vm.h): Added.
(ifconv_static): Fixed warning, use vm_abort.

17 years ago* src/vm/jit/powerpc/md.c (md_get_method_patch_address): Fixed
twisti [Fri, 25 May 2007 15:05:04 +0000 (15:05 +0000)]
* src/vm/jit/powerpc/md.c (md_get_method_patch_address): Fixed
warning, use vm_abort.

17 years ago* src/vm/string.c (javastring_new_from_utf_buffer): Made static.
twisti [Fri, 25 May 2007 15:03:46 +0000 (15:03 +0000)]
* src/vm/string.c (javastring_new_from_utf_buffer): Made static.
* src/vm/stringlocal.h (javastring_new_from_utf_buffer): Removed.

17 years ago* src/vm/jit/show.h (show_filters_init, show_filters_apply, show_filters_test_verbose...
pm [Fri, 25 May 2007 12:41:03 +0000 (12:41 +0000)]
* src/vm/jit/show.h (show_filters_init, show_filters_apply, show_filters_test_verbosecall_enter, show_filters_test_verbosecall_exit): Added.
* src/vm/jit/show.c: Likewise.
* src/vm/jit/jit.c (jit_compile_intern): Honour filters.
* src/vm/jit/codegen-common.c (codegen_add_patch_ref, codegen_generate_stub_native): Honour PATCHER_LONGBRANCHES_NOPS if defined, honour filters.
* src/vm/builtin.c (builtin_trace_exception, builtin_verbosecall_enter, builtin_verbosecall_exit): Honour filters.
* src/vm/signal.c (signal_init): Register SIGILL handler on s390.
* src/vm/vm.c: Handle -XXfi, -XXfe, -XXfm commandline options.
* src/vm/signallocal.h (md_signal_handler_sigill): Forward declare on s390.
* src/threads/none/threads.h (_no_threads_filterverbosecallctr, FILTERVERBOSECALLCTR): Added.
* src/threads/native/threads.h (struct threadobject): Added filterverbosecallctr.
* src/threads/native/threads.c (threads_impl_thread_new): Initialize filterverbosecallctr.
* src/threads/critical.c (critical_comparator): On s390, clear bit 32 of pointer when comparing.
* src/vmcore/options.h (opt_filter_verbosecall_include, opt_filter_verbosecall_exclude, opt_filter_show_method): Added.
* src/vmcore/options.c: Likewise.
* src/vmcore/method.h (struct methodinfo): Added filtermatches.
* configure.ac: If no NDEBUG and regex.h header is present, define ENABLE_DEBUG_FILTER.
* src/vm/jit/s390/emit.c,
src/vm/jit/s390/md.c,
src/vm/jit/s390/codegen.c,
src/vm/jit/s390/codegen.h,
src/vm/jit/s390/tests/dacapo.status,
src/vm/jit/s390/patcher.c: Changed a lot.

17 years ago* src/vmcore/linker.c (link_class_intern) [__ARM_EABI__]: Fixed field
michi [Thu, 24 May 2007 13:25:41 +0000 (13:25 +0000)]
* src/vmcore/linker.c (link_class_intern) [__ARM_EABI__]: Fixed field
alignment bug. Double and Long fields are 8-byte aligned with EABI.

17 years ago* src/vm/jit/i386/linux/md-os.c (md_signal_handler_sigsegv): Fixed
twisti [Thu, 24 May 2007 10:23:42 +0000 (10:23 +0000)]
* src/vm/jit/i386/linux/md-os.c (md_signal_handler_sigsegv): Fixed
warning.

17 years ago* src/threads/threads-common.c (mm/memory.h): Added.
twisti [Thu, 24 May 2007 10:21:16 +0000 (10:21 +0000)]
* src/threads/threads-common.c (mm/memory.h): Added.
(toolbox/list.h): Likewise.
(threads_table): Removed.
(list_threads, list_threads_free): Added.
(threads_preinit): Initialize lists.
(threads_table_init): Removed.
(threads_table_add): Likewise.
(threads_table_remove): Likewise.
(threads_table_get): Likewise.
(threads_table_get_threads): Likewise.
(threads_table_get_non_daemons): Likewise.
(threads_table_first): Likewise.
(threads_table_next): Likewise.
(threads_table_dump): Likewise.
(threads_list_first): New function.
(threads_list_next): Likewise.
(threads_list_get_non_daemons): Likewise.
(threads_thread_new): Likewise.
(threads_thread_free): Likewise.
(threads_thread_print_info): Added state-assert, print thread index.
(threads_thread_state_runnable): New function.
(threads_thread_state_waiting): Likewise.
(threads_thread_state_timed_waiting): Likewise.
(threads_thread_state_terminated): Likewise.
(threads_dump): Use threads-list functions.

* src/threads/threads-common.h: Likewise.
(threads_table_entry_t): Removed.
(threads_table_t): Likewise.

* src/threads/native/threads.c (mutex_threads_table): Renamed to
mutex_threads_list.
(threads_cast_sendsignals): Use threads-list functions.
(threads_table_lock): Renamed to threads_list_lock.
(threads_table_unlock): Renamed to threads_list_unlock.
(threads_startup_thread): Use threads-state functions.
(threads_detach_thread): Likewise.
(threads_wait_with_timeout): Likewise.
(threads_join_all_threads): Use threads-list functions.

* src/threads/native/threads.h (threadobject): Added linkage.

17 years ago* src/vm/jit/sparc64/Makefile.am: Added missing emit.h.
ajordan [Wed, 23 May 2007 23:56:59 +0000 (23:56 +0000)]
* src/vm/jit/sparc64/Makefile.am: Added missing emit.h.