Merged revisions 8056-8122 via svnmerge from
svn+ssh://michi@c1.complang.tuwien.ac.at/ahome/cacao/svn/cacao/trunk
........
r8058 | twisti | 2007-06-10 21:30:25 +0200 (Sun, 10 Jun 2007) | 2 lines
* src/native/jni.c (_Jv_jni_vmargs_from_objectarray): Indent.
........
r8059 | twisti | 2007-06-10 21:31:28 +0200 (Sun, 10 Jun 2007) | 4 lines
* src/vm/vm.c (vm_vmargs_from_valist): Use TYPE_-defines instead of
PRIMITIVETYPE_ ones.
(vm_vmargs_from_jvalue): Likewise.
........
r8060 | twisti | 2007-06-10 22:00:40 +0200 (Sun, 10 Jun 2007) | 48 lines
* 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.
........
r8061 | twisti | 2007-06-11 09:59:36 +0200 (Mon, 11 Jun 2007) | 3 lines
* src/vmcore/primitive.c (primitive_class_get_by_char): New function.
* src/vmcore/primitive.h (primitive_class_get_by_char): Added.
........
r8062 | twisti | 2007-06-11 10:12:14 +0200 (Mon, 11 Jun 2007) | 59 lines
* 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.
........
r8063 | twisti | 2007-06-11 16:44:58 +0200 (Mon, 11 Jun 2007) | 6 lines
* 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.
........
r8064 | twisti | 2007-06-11 17:11:01 +0200 (Mon, 11 Jun 2007) | 11 lines
* 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.
........
r8065 | pm | 2007-06-11 17:22:09 +0200 (Mon, 11 Jun 2007) | 3 lines
* 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.
........
r8066 | twisti | 2007-06-12 11:08:12 +0200 (Tue, 12 Jun 2007) | 4 lines
* 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.
........
r8067 | twisti | 2007-06-12 14:32:18 +0200 (Tue, 12 Jun 2007) | 4 lines
* 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.
........
r8068 | pm | 2007-06-12 17:50:35 +0200 (Tue, 12 Jun 2007) | 5 lines
* 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.
........
r8069 | twisti | 2007-06-13 16:08:24 +0200 (Wed, 13 Jun 2007) | 4 lines
* src/native/jni.c (stdint.h): Added.
(_Jv_jni_vmargs_from_objectarray): Use stdint-types, use global class
variables.
........
r8070 | twisti | 2007-06-13 16:26:41 +0200 (Wed, 13 Jun 2007) | 16 lines
* 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.
........
r8071 | twisti | 2007-06-13 19:37:55 +0200 (Wed, 13 Jun 2007) | 3 lines
* src/vm/jit/tools/genoffsets.c (main): Removed some obsolete stuff.
* src/vm/jit/m68k/md.c (md_init): Removed offobjvftbl check.
........
r8072 | twisti | 2007-06-13 20:31:19 +0200 (Wed, 13 Jun 2007) | 4 lines
* tests/regression/native/testarguments.java,
tests/regression/native/testarguments.c,
tests/regression/native/testarguments.output: Added address test.
........
r8073 | twisti | 2007-06-13 23:54:27 +0200 (Wed, 13 Jun 2007) | 4 lines
* src/vm/jit/tools/genoffsets.c (vmcore/class.h): Removed.
(vmcore/linker.h): Likewise.
(vmcore/method.h): Likewise.
........
r8074 | twisti | 2007-06-14 00:27:17 +0200 (Thu, 14 Jun 2007) | 43 lines
* 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).
........
r8075 | twisti | 2007-06-14 02:38:53 +0200 (Thu, 14 Jun 2007) | 3 lines
* 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.
........
r8076 | twisti | 2007-06-14 11:35:31 +0200 (Thu, 14 Jun 2007) | 2 lines
* src/vm/vm.c: Fixed typos.
........
r8077 | twisti | 2007-06-14 11:44:12 +0200 (Thu, 14 Jun 2007) | 8 lines
* 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.
........
r8078 | twisti | 2007-06-14 12:20:02 +0200 (Thu, 14 Jun 2007) | 2 lines
* src/vm/vm.c (vm_call_method_long_vmarg): Removed vm_abort.
........
r8079 | twisti | 2007-06-14 13:06:48 +0200 (Thu, 14 Jun 2007) | 3 lines
* src/vm/vm.c (vm_array_from_objectarray): For TYPE_ADR param can be
NULL, that's ok (jboss is a testcase for that).
........
r8080 | twisti | 2007-06-14 13:12:11 +0200 (Thu, 14 Jun 2007) | 10 lines
* 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.
........
r8081 | tbfg | 2007-06-14 14:07:03 +0200 (Thu, 14 Jun 2007) | 4 lines
src/vm/jit/m68k/disass.c: Changed bfd_mach_mcf_isa_b_float_emac to
bfd_mach_mcfv4e as needed for newer binutils.
........
r8082 | tbfg | 2007-06-14 14:10:49 +0200 (Thu, 14 Jun 2007) | 6 lines
* 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.
........
r8085 | tbfg | 2007-06-14 17:12:54 +0200 (Thu, 14 Jun 2007) | 2 lines
* src/vm/jit/emit-common.c: Fixed warning related to STATISTICS.
........
r8086 | twisti | 2007-06-14 17:31:54 +0200 (Thu, 14 Jun 2007) | 3 lines
* src/vmcore/loader.c: Removed commented
exceptions_throw_noclassdeffounderror calls.
........
r8087 | twisti | 2007-06-14 18:01:12 +0200 (Thu, 14 Jun 2007) | 6 lines
* src/vm/exceptions.c (exceptions_get_exception)
(exceptions_set_exception, exceptions_clear_exception)
(exceptions_get_and_clear_exception): Moved these low leve function to
the top of the file.
* src/vm/exceptions.h: Likewise.
........
r8088 | twisti | 2007-06-14 18:05:42 +0200 (Thu, 14 Jun 2007) | 2 lines
* src/native/vm/java_lang_Class.c (forName): Removed unused variables.
........
r8089 | twisti | 2007-06-14 18:06:31 +0200 (Thu, 14 Jun 2007) | 2 lines
* src/native/vm/java_lang_Class.c: Added Id keyword.
........
r8090 | twisti | 2007-06-14 18:07:37 +0200 (Thu, 14 Jun 2007) | 3 lines
* src/vm/exceptions.c: Don't use exceptionptr directly anymore, access
it only with functions.
........
r8091 | twisti | 2007-06-14 18:10:33 +0200 (Thu, 14 Jun 2007) | 3 lines
* src/threads/native/threads.c: Don't use exceptionptr directly
anymore.
........
r8092 | twisti | 2007-06-14 18:12:35 +0200 (Thu, 14 Jun 2007) | 3 lines
* src/native/native.c (native_findfunction): Use
exceptions_throw_unsatisfiedlinkerror.
........
r8093 | twisti | 2007-06-14 18:51:44 +0200 (Thu, 14 Jun 2007) | 5 lines
* src/vm/jit/emit-common.c (emit_bccz) [STATISTICS]: Is called
ENABLE_STATISTICS.
(emit_label_bccz): Likewise.
(emit_label): Likewise.
........
r8094 | ajordan | 2007-06-16 03:15:41 +0200 (Sat, 16 Jun 2007) | 15 lines
* src/vmcore/statistics.h: Added more fine grained spill statistics.
* src/vmcore/statistics.c: Likewise.
* src/vm/jit/jit.h: New defines for spill statistics. Old ones are deprecated,
won't increase the counters.
* src/vm/jit/codegen-common.c (codegen_increase): Defined SPARC64 for
2-instr-patcher-stub-call workaround.
(codegen_add_patch_ref): Likewise.
(codegen_reg_of_var): Removed obsolete spill counting.
* src/vm/jit/sparc64/emit.c: Changed for new spill statistics.
* src/vm/jit/sparc64/linux/md-os.c (md_critical_section_restart): Fixed.
........
r8095 | ajordan | 2007-06-16 21:56:19 +0200 (Sat, 16 Jun 2007) | 6 lines
* src/vm/jit/sparc64/codegen.c (codegen_emit): Improved integer argument passing
by swapping variable allocation instead of copying.
* src/vm/jit/sparc64/md-abi.h: Turned %i0 into saved reg.
* src/vm/jit/sparc64/md-abi.c: Likewise.
........
r8096 | pm | 2007-06-17 15:45:58 +0200 (Sun, 17 Jun 2007) | 8 lines
* src/vm/jit/s390/asmpart.S
src/vm/jit/s390/codegen.h,
src/vm/jit/s390/codegen.c,
src/vm/jit/s390/emit.c,
src/vm/jit/s390/md.c,
src/vm/jit/s390/patcher.c,
src/vm/jit/s390/tests/dacapo.status: Optimized loads from data segment: the procedure vector now always points 4092 bytes before the data segment, so a lot of loads have a positive displacement. Removed dead code.
........
r8097 | pm | 2007-06-17 16:50:16 +0200 (Sun, 17 Jun 2007) | 3 lines
* src/vm/jit/s390/codegen.c (codegen_emit): More data segment load optimalisations.
* src/vm/jit/s390/md.c (md_get_method_patch_address): Adapt to changes in codegen_emit.
........
r8099 | tbfg | 2007-06-18 20:26:58 +0200 (Mon, 18 Jun 2007) | 20 lines
* src/vm/jit/powerpc64/linux/md-abi.c (md_param_alloc): Set index.
* src/vm/jit/powerpc64/asmpart.S (asm_vm_call_method): New parameter
format, do not call asm_jit_compile any more.
* src/vm/jit/asmpart.h: Enable new parameter format function
prototypes.
* src/vm/vm.h: Likewise.
* src/vm/vm.c (vm_array_store_int): Although ppc64 is big endian
do not big endianize the new parameter format.
(vm_array_store_flt): Likewise.
(vm_array_store_adr): Likewise.
(vm_vmargs_from_valist): ppc64 like alpha uses doubles everywhere.
(vm_vmargs_from_jvalue): When HAS_ADDRESS_REGISTER_FILE is defined
address register arguments are between float and memuse.
* src/native/jni.c: Enable new parameter function calling.
........
r8100 | twisti | 2007-06-18 22:18:14 +0200 (Mon, 18 Jun 2007) | 7 lines
* src/vm/exceptions.c (exceptions_throw_utf_throwable): Call
(Ljava/lang/Throwable;)V initializer and resolve the method with
class_resolveclassmethod to get possible exceptions.
(exceptions_throw_utf_cause): New function.
(exceptions_throw_noclassdeffounderror_cause): Use
exceptions_throw_utf_cause.
........
r8101 | twisti | 2007-06-19 20:07:59 +0200 (Tue, 19 Jun 2007) | 4 lines
* src/cacaoh/dummy.c [ENABLE_THREADS] (pthread.h): Removed.
(threads/threads-common.h): Added.
[ENABLE_THREADS] (threads_current_threadobject_key): Added #ifdef.
........
r8102 | twisti | 2007-06-19 20:09:16 +0200 (Tue, 19 Jun 2007) | 2 lines
* src/cacaoh/dummy.c: Added Id keyword.
........
r8103 | twisti | 2007-06-19 21:43:00 +0200 (Tue, 19 Jun 2007) | 21 lines
* src/native/vm/nativevm.c (nativevm_init)
[ENABLE_JAVASE && WITH_CLASSPATH_GNU]: Call
_Jv_java_util_concurrent_atomic_AtomicLong_init.
* src/native/vm/Makefile.am [ENABLE_JAVASE]
(JAVA_UTIL_CONCURRENT_ATOMIC_ATOMICLONG_SOURCES): Added.
(libnativevm_la_SOURCES): Added
JAVA_UTIL_CONCURRENT_ATOMIC_ATOMICLONG_SOURCES.
* src/native/vm/java_util_concurrent_atomic_AtomicLong.c: New file.
* src/native/vm/java_util_concurrent_atomic_AtomicLong.h: Likewise.
* src/native/vm/gnu/Makefile.am (libnativevmcore_la_SOURCES): Added
java_util_concurrent_atomic_AtomicLong.c.
* src/native/vm/gnu/java_util_concurrent_atomic_AtomicLong.c: New
file.
* src/native/include/Makefile.am (JAVASE_HEADER_FILES): Added
java_util_concurrent_atomic_AtomicLong.h.
........
r8104 | twisti | 2007-06-19 23:15:00 +0200 (Tue, 19 Jun 2007) | 5 lines
* src/cacaoh/dummy.c (stdint.h): Added.
(vm/types.h): Removed and replaced all old types with stdint ones.
(threads/threads-common.h): Removed.
[ENABLE_THREADS] (threads_current_threadobject_key): Removed.
........
r8105 | twisti | 2007-06-19 23:47:51 +0200 (Tue, 19 Jun 2007) | 3 lines
* src/cacaoh/headers.c (stdint.h): Added and use stdint-types.
(vm/types.h): Removed.
........
r8106 | twisti | 2007-06-20 00:50:17 +0200 (Wed, 20 Jun 2007) | 11 lines
* src/vm/vm.c (vm_call_float_array): New function.
(vm_call_method_float_valist): Likewise.
(vm_call_method_float_jvalue): Likewise.
(vm_call_double_array): Likewise.
(vm_call_method_double_valist): Likewise.
(vm_call_method_double_jvalue): Likewise.
* src/vm/vm.h: Defined new functions.
* src/vm/jit/asmpart.h: Likewise.
* src/native/jni.c: Use new functions.
........
r8107 | twisti | 2007-06-20 13:11:59 +0200 (Wed, 20 Jun 2007) | 3 lines
* src/vm/vm.c (vm_array_store_int) [SIZEOF_VOID_P == 4]: Only do the
integer shift on 32-bit architectures.
........
r8108 | ajordan | 2007-06-20 14:05:26 +0200 (Wed, 20 Jun 2007) | 11 lines
* src/vm/jit/sparc64/md-abi.c (md_param_alloc): Added pd->index setting.
* src/vm/jit/sparc64/asmpart.S (asm_vm_call_method): Get parameters from
new array.
* src/vm/jit/asmpart.h: Enable new parameter passing for SPARC64.
* src/vm/vm.h: Likewise.
* src/vm/vm.c: Likewise.
(vm_array_store_flt): For SPARC, shift float arguments on stack to low word too.
........
r8109 | twisti | 2007-06-20 14:22:56 +0200 (Wed, 20 Jun 2007) | 3 lines
* src/native/vm/nativevm.h [ENABLE_JAVASE && WITH_CLASSPATH_GNU]:
Added _Jv_java_util_concurrent_atomic_AtomicLong_init.
........
r8110 | twisti | 2007-06-20 14:24:32 +0200 (Wed, 20 Jun 2007) | 3 lines
* src/cacaoh/cacaoh.c (HEAP_MAXSIZE, HEAP_STARTSIZE): Removed.
(main): Removed heapmaxsize, heapstartsize.
........
r8111 | twisti | 2007-06-20 15:51:38 +0200 (Wed, 20 Jun 2007) | 10 lines
* src/native/vm/gnu/gnu_java_lang_management_VMClassLoadingMXBeanImpl.c,
src/native/vm/gnu/gnu_java_lang_management_VMRuntimeMXBeanImpl.c,
src/native/vm/gnu/gnu_java_lang_management_VMThreadMXBeanImpl.c,
src/native/vm/gnu/java_lang_VMObject.c,
src/native/vm/gnu/java_lang_VMRuntime.c,
src/native/vm/gnu/java_lang_VMThread.c,
src/native/vm/gnu/java_lang_reflect_Field.c,
src/native/vm/sun_misc_Unsafe.c: Use stdint-types because of conflicts
with generated header files.
........
r8112 | twisti | 2007-06-20 19:54:36 +0200 (Wed, 20 Jun 2007) | 28 lines
* src/vm/vm.c (XXusage): Removed -verbose:memory.
(vm_create): Likewise.
* src/mm/memory.c (memory_thread): Rewritten to use new variables.
* src/vmcore/options.c (errno.h): Added.
(stdint.h): Likewise
(stdio.h): Likewise.
(stdlib.h): Likewise.
(opt_verbosememory): Removed.
(opt_ProfileGCMemoryUsage): Added.
(opt_ProfileMemoryUsage): Likewise.
(opt_ProfileMemoryUsageGNUPlot): Likewise.
(options_XX): Likewise.
(options_xx): Implemented.
* src/vmcore/options.h (stdint.h): Added.
(option_t): Likewise.
(opt_ProfileGCMemoryUsage): Likewise.
(opt_ProfileMemoryUsage): Likewise.
(opt_ProfileMemoryUsageGNUPlot): Likewise.
(options_xx): Changed signature.
* src/vmcore/statistics.c (statistics_print_gc_memory_usage):
Rewritten to use new variables and GNU Plot output.
* configure.ac (AC_CHECK_FUNCS): Added atoi, atol, strchr, strncmp.
........
r8113 | twisti | 2007-06-20 20:05:39 +0200 (Wed, 20 Jun 2007) | 5 lines
* src/vmcore/statistics.c (statistics_print_gc_memory_usage): Call
fflush.
* configure.ac (AC_CHECK_FUNCS): Added fflush, fopen, fprintf.
........
r8114 | twisti | 2007-06-20 20:57:41 +0200 (Wed, 20 Jun 2007) | 3 lines
* src/threads/threads-common.c (threads_preinit): Added another
linuxthreads check.
........
r8115 | michi | 2007-06-20 21:14:05 +0200 (Wed, 20 Jun 2007) | 41 lines
* src/vm/vm.c (vm_array_store_int, vm_array_store_adr, vm_array_store_lng,
vm_array_store_flt, vm_array_store_dbl): Uses pd->index for inmemory arguments.
* src/vm/jit/allocator/simplereg.c: The regoff value is a real offset
(multiplied by the stackslot size) for inmemory variables now.
* src/vm/jit/arm/md-abi.c (md_param_alloc): Set pd->regoff as described above.
* src/vm/jit/arm/emit.c: Adapted to above changes.
* src/vm/jit/arm/codegen.c: Adapted to above changes.
* src/vm/jit/powerpc/linux/md-abi.c,
* src/vm/jit/powerpc/netbsd/md-abi.c,
* src/vm/jit/powerpc/emit.c,
* src/vm/jit/powerpc/darwin/md-abi.c,
* src/vm/jit/powerpc/codegen.c,
* src/vm/jit/sparc64/emit.c,
* src/vm/jit/sparc64/md-abi.h,
* src/vm/jit/sparc64/codegen.c,
* src/vm/jit/sparc64/md-abi.c,
* src/vm/jit/alpha/emit.c,
* src/vm/jit/alpha/codegen.c,
* src/vm/jit/alpha/md-abi.c,
* src/vm/jit/s390/emit.c,
* src/vm/jit/s390/codegen.c,
* src/vm/jit/s390/md-abi.c,
* src/vm/jit/mips/emit.c,
* src/vm/jit/mips/codegen.c,
* src/vm/jit/mips/md-abi.c,
* src/vm/jit/m68k/emit.c,
* src/vm/jit/m68k/linux/md-abi.c,
* src/vm/jit/m68k/codegen.c,
* src/vm/jit/powerpc64/linux/md-abi.c,
* src/vm/jit/powerpc64/emit.c,
* src/vm/jit/powerpc64/codegen.c,
* src/vm/jit/i386/emit.c,
* src/vm/jit/i386/codegen.c,
* src/vm/jit/i386/md-abi.c,
* src/vm/jit/x86_64/emit.c,
* src/vm/jit/x86_64/codegen.c,
* src/vm/jit/x86_64/md-abi.c: Likewise.
........
r8116 | michi | 2007-06-20 22:30:56 +0200 (Wed, 20 Jun 2007) | 5 lines
* src/vm/jit/arm/codegen.c (codegen_emit, codegen_emit_stub_native):
Changed cd->stackframesize from wordcount to bytecount.
* src/vm/jit/arm/emit.c (emit_verbosecall_enter): Adapted to above change.
........
r8117 | pm | 2007-06-20 23:20:53 +0200 (Wed, 20 Jun 2007) | 3 lines
* src/vm/jit/s390/codegen.h,
src/vm/jit/s390/codegen.c (codegen_emit): Support another hercules bug in F2D.
........
r8119 | twisti | 2007-06-21 00:05:10 +0200 (Thu, 21 Jun 2007) | 3 lines
* src/vmcore/statistics.c (statistics_print_gc_memory_usage):
Different print-format for different pointer-sizes.
........
r8120 | twisti | 2007-06-21 00:11:24 +0200 (Thu, 21 Jun 2007) | 13 lines
* src/vmcore/options.c (opt_verboseexception): Removed.
(opt_TraceExceptions): Added.
(options_xx): Handle OPT_TraceExceptions.
* src/vmcore/options.h (opt_verboseexception): Removed.
(opt_TraceExceptions): Added.
* src/vm/exceptions.c (exceptions_handle_exception): Replaced
opt_verboseexception with opt_TraceExceptions.
* src/vm/vm.c (XXusage): Removed opt_verboseexception.
(vm_create): Likewise.
........
r8121 | michi | 2007-06-21 01:32:34 +0200 (Thu, 21 Jun 2007) | 7 lines
* src/vmcore/options.c [ENABLE_REPLACEMENT] (opt_TraceReplacement): Added.
(options_xx) [ENABLE_REPLACEMENT]: Handle OPT_TraceReplacement.
* src/vmcore/options.h [ENABLE_REPLACEMENT] (opt_TraceReplacement): Added.
* src/vm/jit/replace.c: Use opt_TraceReplacement mentioned above.
........
--HG--
branch : exact-gc
118 files changed: