Merged revisions 7940-8026 via svnmerge from
svn+ssh://michi@c1.complang.tuwien.ac.at/ahome/cacao/svn/cacao/trunk
........
r7941 | twisti | 2007-05-23 13:59:51 +0200 (Wed, 23 May 2007) | 6 lines
* src/vm/exceptions.c (new_exception_int): Removed.
* src/vm/exceptions.h (new_exception_int): Likewise.
* src/native/native.c (native_new_and_init_int): Likewise.
* src/native/native.h (native_new_and_init_int): Likewise.
........
r7942 | twisti | 2007-05-23 14:40:31 +0200 (Wed, 23 May 2007) | 24 lines
* src/vm/exceptions.c (threads/lock-common.h): Added.
[ENABLE_THREADS] (threads/native/threads.h): Removed.
[!ENABLE_THREADS] (threads/none/threads.h): Likewise.
(threads/threads-common.h): Added.
(new_exception_message): Removed.
(exceptions_throw_classcircularityerror): Use
exceptions_throw_utf_utf.
(exceptions_throw_classformaterror): Likewise.
(classnotfoundexception_to_noclassdeffounderror): Fixed warning.
(exceptions_throw_incompatibleclasschangeerror): Use
exceptions_throw_utf_utf.
(exceptions_throw_internalerror): Likewise.
(exceptions_throw_unsupportedclassversionerror): Likewise.
(exceptions_throw_verifyerror): Likewise.
(exceptions_throw_verifyerror_for_stack): Likewise.
(exceptions_new_arithmeticexception): Likewise.
(exceptions_new_classcastexception): Use exceptions_new_class_utf.
(exceptions_print_exception): Fixed warnings.
* src/vmcore/utf8.c (utf_division_by_zero): Added.
(utf8_init): Likewise.
* src/vmcore/utf8.h (utf_division_by_zero): Likewise.
........
r7943 | twisti | 2007-05-23 15:09:28 +0200 (Wed, 23 May 2007) | 4 lines
* src/vmcore/linker.c (linker_compute_subclasses): We don't ship the
critical-section stuff with this release, since it's broken on some
architectures because of boehm.
........
r7944 | tbfg | 2007-05-23 16:15:00 +0200 (Wed, 23 May 2007) | 3 lines
* src/vm/jit/powerpc64/emit.c (MCODECHECK): Increase values to fix canary corruption.
* src/vm/jit/powerpc64/codegen.c (MCODECHECK): Increase values to fix canary corruption.
........
r7945 | twisti | 2007-05-23 17:25:18 +0200 (Wed, 23 May 2007) | 5 lines
* src/vm/jit/powerpc64/codegen.c (codegen_emit): ICMD_INSTANCEOF:
Removed unused supervftbl.
* src/vm/jit/emit-common.h [__POWERPC64__] (emit_bnan): Enabled.
........
r7946 | twisti | 2007-05-23 17:43:53 +0200 (Wed, 23 May 2007) | 2 lines
* configure.ac (OPT_CFLAGS): Changed to -O2.
........
r7947 | twisti | 2007-05-23 17:57:41 +0200 (Wed, 23 May 2007) | 4 lines
* src/vm/jit/x86_64/md.c (md_get_method_patch_address): Fixed warning.
* src/vm/jit/x86_64/linux/md-os.c (md_signal_handler_sigsegv):
Likewise.
........
r7948 | twisti | 2007-05-23 18:00:13 +0200 (Wed, 23 May 2007) | 3 lines
* src/vm/exceptions.c (exceptions_new_hardware_exception): Fixed
warning.
........
r7949 | twisti | 2007-05-23 19:46:27 +0200 (Wed, 23 May 2007) | 2 lines
* src/vm/jit/jit.c (jit_compile_intern): Fixed typo.
........
r7950 | twisti | 2007-05-23 19:51:04 +0200 (Wed, 23 May 2007) | 2 lines
* src/vm/vm.c (vm_create): Use vm_abort for profile_start_thread.
........
r7951 | twisti | 2007-05-23 19:51:43 +0200 (Wed, 23 May 2007) | 3 lines
* src/vm/jit/optimizing/profile.c (profile_thread): Replaced table-
with list-functions.
........
r7952 | twisti | 2007-05-23 19:53:13 +0200 (Wed, 23 May 2007) | 2 lines
* src/vm/jit/optimizing/profile.c: Set Id keyword.
........
r7953 | twisti | 2007-05-23 19:56:59 +0200 (Wed, 23 May 2007) | 3 lines
* src/native/vm/gnu/java_lang_VMClassLoader.c (getPrimitiveClass):
Return NULL in error case.
........
r7954 | twisti | 2007-05-23 19:58:18 +0200 (Wed, 23 May 2007) | 3 lines
* src/threads/native/lock.c: Set Id keyword.
* src/threads/native/lock.h: Likewise.
........
r7955 | twisti | 2007-05-23 20:05:26 +0200 (Wed, 23 May 2007) | 8 lines
* src/vm/jit/arm/linux/md-os.c,
src/vm/jit/alpha/linux/md-os.c,
src/vm/jit/i386/linux/md-os.c,
src/vm/jit/powerpc/linux/md-os.c,
src/vm/jit/powerpc64/linux/md-os.c,
src/vm/jit/x86_64/linux/md-os.c (md_critical_section_restart): Removed
debug output.
........
r7956 | twisti | 2007-05-23 20:08:42 +0200 (Wed, 23 May 2007) | 3 lines
* src/vmcore/statistics.c (statistics_print_memory_usage): Smaller
output changes.
........
r7957 | twisti | 2007-05-23 20:28:01 +0200 (Wed, 23 May 2007) | 2 lines
* src/vm/jit/mips/Makefile.am (DIST_SUBDIRS): Added uclinux.
........
r7958 | twisti | 2007-05-23 21:11:10 +0200 (Wed, 23 May 2007) | 3 lines
* src/vm/jit/powerpc64/linux/md-os.c (md_critical_section_restart):
Fixed typo.
........
r7959 | twisti | 2007-05-23 21:37:26 +0200 (Wed, 23 May 2007) | 5 lines
* src/threads/threads-common.h (THREAD_STATE_NEW)
(THREAD_STATE_RUNNABLE, THREAD_STATE_BLOCKED, THREAD_STATE_WAITING)
(THREAD_STATE_TIMED_WAITING, THREAD_STATE_TERMINATED): Start states
with 1, so we can catch unset states.
........
r7960 | twisti | 2007-05-24 00:04:49 +0200 (Thu, 24 May 2007) | 2 lines
* configure.ac (AM_INIT_AUTOMAKE): Added dist-bzip2.
........
r7961 | ajordan | 2007-05-24 00:54:38 +0200 (Thu, 24 May 2007) | 4 lines
* src/vm/jit/sparc64/Makefile.am:
md-asm.h was not properly added to noinst_HEADERS.
........
r7962 | ajordan | 2007-05-24 01:56:59 +0200 (Thu, 24 May 2007) | 3 lines
* src/vm/jit/sparc64/Makefile.am: Added missing emit.h.
........
r7963 | twisti | 2007-05-24 12:21:16 +0200 (Thu, 24 May 2007) | 42 lines
* 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.
........
r7964 | twisti | 2007-05-24 12:23:42 +0200 (Thu, 24 May 2007) | 3 lines
* src/vm/jit/i386/linux/md-os.c (md_signal_handler_sigsegv): Fixed
warning.
........
r7965 | michi | 2007-05-24 15:25:41 +0200 (Thu, 24 May 2007) | 3 lines
* src/vmcore/linker.c (link_class_intern) [__ARM_EABI__]: Fixed field
alignment bug. Double and Long fields are 8-byte aligned with EABI.
........
r7966 | pm | 2007-05-25 14:41:03 +0200 (Fri, 25 May 2007) | 24 lines
* 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.
........
r7967 | twisti | 2007-05-25 17:03:46 +0200 (Fri, 25 May 2007) | 3 lines
* src/vm/string.c (javastring_new_from_utf_buffer): Made static.
* src/vm/stringlocal.h (javastring_new_from_utf_buffer): Removed.
........
r7968 | twisti | 2007-05-25 17:05:04 +0200 (Fri, 25 May 2007) | 3 lines
* src/vm/jit/powerpc/md.c (md_get_method_patch_address): Fixed
warning, use vm_abort.
........
r7969 | twisti | 2007-05-25 17:05:57 +0200 (Fri, 25 May 2007) | 3 lines
* src/vm/jit/optimizing/ifconv.c (vm/vm.h): Added.
(ifconv_static): Fixed warning, use vm_abort.
........
r7970 | twisti | 2007-05-25 17:23:56 +0200 (Fri, 25 May 2007) | 5 lines
* 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.
........
r7971 | pm | 2007-05-26 17:26:06 +0200 (Sat, 26 May 2007) | 2 lines
* contrib/vmlog/vmlog.c: Use autoconf define WORDS_BIGENDIAN to determine endianess.
........
r7972 | ajordan | 2007-05-28 02:05:04 +0200 (Mon, 28 May 2007) | 11 lines
* 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.
........
r7973 | twisti | 2007-05-29 11:03:56 +0200 (Tue, 29 May 2007) | 10 lines
* 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.
........
r7974 | twisti | 2007-05-29 13:30:20 +0200 (Tue, 29 May 2007) | 3 lines
* src/vm/jit/powerpc64/codegen.c (codegen_emit): Fixed warnings, some
indent.
........
r7975 | pm | 2007-05-29 13:44:02 +0200 (Tue, 29 May 2007) | 3 lines
* src/vm/jit/show.c (vm/vm.h) add missing include,
(_no_threads_filterverbosecallctr) fix type: u2 instead of u4
........
r7976 | twisti | 2007-05-29 14:22:55 +0200 (Tue, 29 May 2007) | 24 lines
* 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.
........
r7977 | twisti | 2007-05-29 14:34:20 +0200 (Tue, 29 May 2007) | 6 lines
* 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.
........
r7978 | twisti | 2007-05-30 16:09:10 +0200 (Wed, 30 May 2007) | 7 lines
* 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.
........
r7979 | twisti | 2007-05-30 17:52:00 +0200 (Wed, 30 May 2007) | 3 lines
* src/vm/jit/powerpc64/codegen.c (codegen_emit): Fixed --disable-debug
build.
........
r7980 | twisti | 2007-05-30 18:01:09 +0200 (Wed, 30 May 2007) | 4 lines
* src/vm/jit/powerpc64/md.c (md_get_method_patch_address): Use
vm_abort and fixed warning.
(md_codegen_get_pv_from_pc): Likewise.
........
r7981 | twisti | 2007-05-30 21:43:36 +0200 (Wed, 30 May 2007) | 9 lines
* 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.
........
r7982 | twisti | 2007-05-30 22:01:49 +0200 (Wed, 30 May 2007) | 6 lines
* 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.
........
r7983 | twisti | 2007-05-30 22:04:42 +0200 (Wed, 30 May 2007) | 3 lines
* src/vm/resolve.c (resolve_subtype_check): Don't free the memory
before it's used.
........
r7984 | twisti | 2007-05-30 22:30:00 +0200 (Wed, 30 May 2007) | 7 lines
* 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.
........
r7985 | twisti | 2007-05-30 22:40:23 +0200 (Wed, 30 May 2007) | 3 lines
* src/mm/boehm-gc/pthread_stop_world.c (GC_signum1, GC_signum2): No it
did not work, reverted rev7981.
........
r7986 | twisti | 2007-05-30 22:45:43 +0200 (Wed, 30 May 2007) | 3 lines
* 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.
........
r7987 | twisti | 2007-05-30 22:51:50 +0200 (Wed, 30 May 2007) | 4 lines
* 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).
........
r7988 | twisti | 2007-05-30 22:53:56 +0200 (Wed, 30 May 2007) | 4 lines
* src/vm/jit/powerpc/darwin/md-abi.c,
src/vm/jit/powerpc/darwin/md-abi.h: Removed Contact, Authors, Changes
from header.
........
r7989 | twisti | 2007-05-30 23:04:42 +0200 (Wed, 30 May 2007) | 4 lines
* 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.
........
r7990 | twisti | 2007-05-30 23:05:20 +0200 (Wed, 30 May 2007) | 3 lines
* src/vm/jit/powerpc/darwin/md-os.c (thread_restartcriticalsection):
Renamed to md_critical_section_restart.
........
r7991 | twisti | 2007-05-30 23:59:29 +0200 (Wed, 30 May 2007) | 3 lines
* ChangeLog: Updated.
* ChangeLog-2006: New file.
........
r7992 | twisti | 2007-05-31 00:01:38 +0200 (Thu, 31 May 2007) | 2 lines
* NEWS: Added some 0.98 release notes.
........
r7993 | twisti | 2007-05-31 00:32:43 +0200 (Thu, 31 May 2007) | 2 lines
* src/vm/jit/powerpc64/emit.c (emit_branch): Removed debug output.
........
r7994 | twisti | 2007-05-31 18:10:58 +0200 (Thu, 31 May 2007) | 2 lines
* src/vm/vm.c (vm_create): Added comment.
........
r7995 | twisti | 2007-06-01 00:45:19 +0200 (Fri, 01 Jun 2007) | 2 lines
* src/vm/signal.c: Reverted rev7978.
........
r7996 | twisti | 2007-06-01 01:05:51 +0200 (Fri, 01 Jun 2007) | 15 lines
* 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.
........
r7997 | twisti | 2007-06-01 01:26:23 +0200 (Fri, 01 Jun 2007) | 5 lines
* 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.
........
r7998 | twisti | 2007-06-01 02:29:51 +0200 (Fri, 01 Jun 2007) | 16 lines
* 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.
........
r7999 | ajordan | 2007-06-01 02:45:04 +0200 (Fri, 01 Jun 2007) | 12 lines
* 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.
........
r8000 | ajordan | 2007-06-01 21:34:56 +0200 (Fri, 01 Jun 2007) | 2 lines
* src/vm/signal.c: Added ifdefs to fix compiling with disabled threads.
........
r8001 | pm | 2007-06-02 19:47:30 +0200 (Sat, 02 Jun 2007) | 9 lines
* 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.
........
r8002 | pm | 2007-06-03 20:24:44 +0200 (Sun, 03 Jun 2007) | 2 lines
* configure.ac: Fix broken regex.h test.
........
r8003 | twisti | 2007-06-03 20:42:09 +0200 (Sun, 03 Jun 2007) | 16 lines
* 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.
........
r8004 | twisti | 2007-06-04 14:59:04 +0200 (Mon, 04 Jun 2007) | 3 lines
* src/vm/signal.c (signal_init): Use if-vm_abort instead of assert.
* src/vm/exceptions.h: Changed hardware-exception comment accordingly.
........
r8005 | twisti | 2007-06-04 15:12:56 +0200 (Mon, 04 Jun 2007) | 9 lines
* 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.
........
r8006 | twisti | 2007-06-05 09:40:49 +0200 (Tue, 05 Jun 2007) | 20 lines
* 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.
........
r8007 | twisti | 2007-06-05 09:42:57 +0200 (Tue, 05 Jun 2007) | 2 lines
* src/vm/vm.c (vmcore/statistics.h): Added.
........
r8008 | twisti | 2007-06-05 09:44:38 +0200 (Tue, 05 Jun 2007) | 2 lines
* src/vm/vm.c: Set Id keyword.
........
r8009 | twisti | 2007-06-05 09:56:35 +0200 (Tue, 05 Jun 2007) | 2 lines
* src/vm/jit/mips/codegen.c (codegen_emit): Small code-layout change.
........
r8010 | twisti | 2007-06-05 11:00:30 +0200 (Tue, 05 Jun 2007) | 3 lines
* src/vm/jit/mips/codegen.c (codegen_emit): Use FLTMOVE and DBLMOVE to
save some moves.
........
r8011 | twisti | 2007-06-05 12:06:18 +0200 (Tue, 05 Jun 2007) | 12 lines
* 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.
........
r8012 | twisti | 2007-06-05 12:14:29 +0200 (Tue, 05 Jun 2007) | 3 lines
* src/vm/jit/mips/md-abi.c (md_param_alloc_native)
[SIZEOF_VOID_P == 8]: Fixed compilation.
........
r8013 | twisti | 2007-06-05 12:19:09 +0200 (Tue, 05 Jun 2007) | 3 lines
* src/vm/jit/mips/md-abi.c (md_param_alloc) [SIZEOF_VOID_P == 8]: Use
reguse instead of i.
........
r8014 | twisti | 2007-06-05 14:53:30 +0200 (Tue, 05 Jun 2007) | 3 lines
* src/vm/jit/codegen-common.c [__ARM__] (md-abi.h): Removed.
(codegen_reg_of_var) [__ARM__]: Removed split-code.
........
r8015 | twisti | 2007-06-05 22:58:11 +0200 (Tue, 05 Jun 2007) | 10 lines
* 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.
........
r8016 | twisti | 2007-06-06 00:11:12 +0200 (Wed, 06 Jun 2007) | 5 lines
* 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.
........
r8017 | twisti | 2007-06-06 01:46:59 +0200 (Wed, 06 Jun 2007) | 10 lines
* 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].
........
r8018 | twisti | 2007-06-06 11:24:22 +0200 (Wed, 06 Jun 2007) | 2 lines
* configure.ac (AC_INIT): Changed version to 0.98.
........
r8019 | twisti | 2007-06-06 11:26:00 +0200 (Wed, 06 Jun 2007) | 2 lines
* ChangeLog: Updated.
........
r8022 | twisti | 2007-06-06 13:31:28 +0200 (Wed, 06 Jun 2007) | 3 lines
* configure.ac (AC_INIT): Changed version to 0.98+svn.
(OPT_CFLAGS): Changed to -O0.
........
r8023 | twisti | 2007-06-06 19:19:17 +0200 (Wed, 06 Jun 2007) | 2 lines
* NEWS: Fixed 0.98 release date.
........
r8024 | twisti | 2007-06-06 19:23:42 +0200 (Wed, 06 Jun 2007) | 8 lines
* 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.
........
r8025 | michi | 2007-06-07 10:51:54 +0200 (Thu, 07 Jun 2007) | 8 lines
* 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.
........
r8026 | twisti | 2007-06-07 11:04:51 +0200 (Thu, 07 Jun 2007) | 15 lines
* 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.
........
--HG--
branch : exact-gc
87 files changed: