1 2007-06-06 09:24 twisti
3 * configure.ac (AC_INIT): Changed version to 0.98.
5 2007-06-05 23:46 twisti
7 * src/native/vm/gnu/java_lang_VMString.c
8 (native/vm/java_lang_String.h): Added.
9 (intern): Call _Jv_java_lang_String_intern.
11 * src/native/vm/java_lang_String.c: New file.
12 * src/native/vm/java_lang_String.h: Likewise.
14 * src/native/vm/Makefile.am (libnativevm_la_SOURCES): Added
15 java_lang_String.[ch].
17 2007-06-05 22:11 twisti
19 * src/native/native.c (native_init): Check nativevm_init return value.
21 * src/native/vm/nativevm.c (nativevm_init): Changed signature.
22 * src/native/vm/nativevm.h (nativevm_init): Likewise.
24 2007-06-05 20:58 twisti
26 * src/native/vm/gnu/Makefile.am (libnativevmcore_la_SOURCES): Removed
29 * src/native/vm/Makefile.am [ENABLE_JAVASE] (SUN_MISC_UNSAFE_SOURCES):
31 (libnativevm_la_SOURCES): Added SUN_MISC_UNSAFE_SOURCES.
33 * src/native/vm/gnu/sun_misc_Unsafe.c: Removed.
34 * src/native/vm/sun_misc_Unsafe.c: Added.
36 2007-06-05 12:53 twisti
38 * src/vm/jit/codegen-common.c [__ARM__] (md-abi.h): Removed.
39 (codegen_reg_of_var) [__ARM__]: Removed split-code.
41 2007-06-05 10:19 twisti
43 * src/vm/jit/mips/md-abi.c (md_param_alloc) [SIZEOF_VOID_P == 8]: Use
46 2007-06-05 10:14 twisti
48 * src/vm/jit/mips/md-abi.c (md_param_alloc_native)
49 [SIZEOF_VOID_P == 8]: Fixed compilation.
51 2007-06-05 10:06 twisti
53 * src/vm/jit/mips/md-abi.c (md_param_alloc) [SIZEOF_VOID_P == 4]: Use
54 internally a different calling convention. It's the same as on n64
55 with register skipping and, but with long alignment (as on ARM).
56 (md_param_alloc_native) [SIZEOF_VOID_P == 4]: Use the o32 ABI.
58 * src/vm/jit/mips/codegen.c (codegen_emit) [SIZEOF_VOID_P == 4]:
59 Changes for new internal calling conventions.
60 (codegen_emit_stub_native) [SIZEOF_VOID_P == 4]: Likewise.
62 * src/vm/jit/mips/asmpart.S (asm_vm_call_method) [SIZEOF_VOID_P == 4]:
63 Adjusted reserved stack-space to 4*4.
65 2007-06-05 09:00 twisti
67 * src/vm/jit/mips/codegen.c (codegen_emit): Use FLTMOVE and DBLMOVE to
70 2007-06-05 07:56 twisti
72 * src/vm/jit/mips/codegen.c (codegen_emit): Small code-layout change.
74 2007-06-05 07:44 twisti
76 * src/vm/vm.c: Set Id keyword.
78 2007-06-05 07:42 twisti
80 * src/vm/vm.c (vmcore/statistics.h): Added.
82 2007-06-05 07:40 twisti
84 * src/vmcore/statistics.c (count_calls_java_to_native): Added.
85 (count_calls_native_to_java): Likewise.
86 (count_native_function_calls): Removed.
87 (nativeinvokation): Likewise.
88 (print_stats): Print new variables.
90 * src/vmcore/statistics.h (count_calls_java_to_native): Added.
91 (count_calls_native_to_java): Likewise.
92 (nativeinvokation): Removed.
94 * src/vm/jit/codegen-common.c (codegen_start_native_call)
95 [ENABLE_STATISTICS]: Increase count_calls_java_to_native.
97 * src/vm/vm.c (vm_call_method_vmarg) [ENABLE_STATISTICS]: Increase
98 count_calls_native_to_java.
99 (vm_call_method_int_vmarg): Likewise.
100 (vm_call_method_long_vmarg): Likewise.
101 (vm_call_method_float_vmarg): Likewise.
102 (vm_call_method_double_vmarg): Likewise.
104 2007-06-04 13:12 twisti
106 * src/vm/signal.c (unistd.h): Removed.
107 (sys/mman.h): Likewise.
108 (signal_init): Moved mmap of page 0x0 and the hardware-exceptions
109 check into exceptions_init.
111 * src/vm/exceptions.c (unistd.h): Added.
112 (sys/mman.h): Likewise.
113 (exceptions_init): See above.
115 2007-06-04 12:59 twisti
117 * src/vm/signal.c (signal_init): Use if-vm_abort instead of assert.
118 * src/vm/exceptions.h: Changed hardware-exception comment accordingly.
120 2007-06-03 18:42 twisti
122 * src/threads/threads-common.c (threads_thread_start_internal):
123 Changed order of initialization stuff, so we can leave the join-mutex
125 (threads_thread_start): Likewise.
127 * src/threads/native/threads.c (threads_mutex_join_lock): New
129 (threads_mutex_join_unlock): Likewise.
130 (threads_attach_current_thread): Changed order of initialization
131 stuff, so we can leave the join-mutex very early.
132 (threads_detach_thread): Send the signal inside the join-mutex.
133 (threads_join_all_threads): Use join-mutex functions.
135 * src/threads/threads-common.h (threads_mutex_join_lock): Added.
136 (threads_mutex_join_unlock): Likewise.
140 * configure.ac: Fix broken regex.h test.
144 * contrib/vmlog/vmlogfilter.c: Added a tool that filters a vmlog log
145 file the same way as -XXfi and -XXfx do.
147 * contrib/vmlog/vmlog.c,
148 contrib/vmlog/vmlog.h (vmlog_thread_log_append): Made not-static.
150 * contrib/vmlog/Makefile.am,
151 configure.ac: Conditional building of vmlogfilter if ENABLE_VMLOG is
152 set and regex.h present.
154 2007-06-01 19:34 ajordan
156 * src/vm/signal.c: Added ifdefs to fix compiling with disabled
159 2007-06-01 00:45 ajordan
161 * src/vm/jit/sparc64/codegen.c (codegen_emit_stub_native): Fixed the
163 float arguments are preserved over codegen_start_native_call.
164 * src/vm/jit/sparc64/md-abi.c (codegen_start_native_call): Likewise.
166 * src/vm/jit/sparc64/machine-instr.h (compare_and_swap): Changed
168 assembly, so it survives gcc optimization.
170 * src/vm/jit/sparc64/asmpart.S (asm_patcher_wrapper): Saving and
172 float return register.
173 * src/vm/jit/sparc64/md-asm.h: Likewise.
175 2007-06-01 00:29 twisti
177 * m4/ac_pthreads_implementation.m4: Reverted rev7996.
178 * m4/threads.m4: Likewise.
180 * src/threads/threads-common.c [__LINUX__]
181 (threads_pthreads_implementation_nptl): Added.
182 (threads_preinit) [__LINUX__]: Check which thread-implementation we
185 * src/threads/threads-common.h [__LINUX__]
186 (threads_pthreads_implementation_nptl): Added.
188 * src/vm/signal.c (signal_init) [__LINUX__]: Check for
189 threads_pthreads_implementation_nptl.
191 * src/vm/vm.c (vm_create) [__LINUX__]: Likewise.
193 2007-05-31 23:26 twisti
195 * src/vm/jit/mips/irix/md-os.c (vm/jit/mips/codegen.h): Added.
196 (md_signal_handler_sigsegv): Updated to new exception-handling.
197 (thread_restartcriticalsection): Renamed to
198 md_critical_section_restart.
200 2007-05-31 23:05 twisti
202 * m4/ac_pthreads_implementation.m4: New file.
204 * m4/threads.m4 (AC_CHECK_ENABLE_THREADS): Call
205 AC_CHECK_PTHREADS_IMPLEMENTATION for posix and linux.
207 * configure.ac (AC_CHECK_HEADERS): Added stdlib.h.
208 (AC_CHECK_FUNCS): Added confstr, strstr.
210 * src/vm/signal.c (signal_init) [!PTHREADS_IS_LINUXTHREADS]: Only
211 block the signals if we are not on LinuxThreads.
212 (signal_thread): Set state accordingly.
214 * src/vm/vm.c (vm_create) [!PTHREADS_IS_LINUXTHREADS]: Only start
215 signal-thread if we are not on LinuxThreads.
217 2007-05-31 22:45 twisti
219 * src/vm/signal.c: Reverted rev7978.
221 2007-05-31 16:10 twisti
223 * src/vm/vm.c (vm_create): Added comment.
225 2007-05-30 22:32 twisti
227 * src/vm/jit/powerpc64/emit.c (emit_branch): Removed debug output.
229 2007-05-30 22:01 twisti
231 * NEWS: Added some 0.98 release notes.
233 2007-05-30 21:59 twisti
235 * ChangeLog: Updated.
236 * ChangeLog-2006: New file.
238 2007-05-30 21:05 twisti
240 * src/vm/jit/powerpc/darwin/md-os.c (thread_restartcriticalsection):
241 Renamed to md_critical_section_restart.
243 2007-05-30 21:04 twisti
245 * src/vm/jit/powerpc/asmpart.S [ENABLE_REPLACEMENT] (L_replace_me)
246 (L_replace_build_execution_state, L_replace_free_safestack): Only if
247 replacement is enabled, otherwise we get a linker error.
249 2007-05-30 20:53 twisti
251 * src/vm/jit/powerpc/darwin/md-abi.c,
252 src/vm/jit/powerpc/darwin/md-abi.h: Removed Contact, Authors, Changes
255 2007-05-30 20:51 twisti
257 * src/vm/signal.c (signal_thread) [!__DARWIN__]: Don't do the
258 GC_signum stuff on Darwin (should also be done on Solaris, but let's
259 wait how the exact-GC is doing).
261 2007-05-30 20:45 twisti
263 * src/vm/builtin.c (math.h): Removed because we don't need it as we
264 include fdlibm.h and it does not work on some OSs, like Darwin.
266 2007-05-30 20:40 twisti
268 * src/mm/boehm-gc/pthread_stop_world.c (GC_signum1, GC_signum2): No it
269 did not work, reverted rev7981.
271 2007-05-30 20:30 twisti
273 * src/threads/native/threads.c (threads_impl_preinit): Initialize
275 (threads_impl_table_init): Removed.
276 (threads_impl_table_init, threads_list_unlock): Fixed debug message.
278 * src/threads/threads-common.h (threads_impl_table_init): Removed.
280 2007-05-30 20:04 twisti
282 * src/vm/resolve.c (resolve_subtype_check): Don't free the memory
285 2007-05-30 20:01 twisti
287 * src/vm/jit/powerpc64/codegen.c (codegen_emit_stub_native): Fixed
290 * src/vm/jit/powerpc64/emit.c [!NDEBUG] (emit_verbosecall_enter)
291 (emit_verbosecall_exit): Only compile conditionally.
293 2007-05-30 19:43 twisti
295 * src/mm/boehm-gc/pthread_stop_world.c (cacao_suspendhandler):
297 (GC_suspend_handler): Commented cacao_suspendhandler call.
298 (GC_signum1, GC_signum2): Define for all configurations (hope that
301 * src/threads/native/threads.c: Commented all critical-sections code,
302 as it does not work anyway and it does not compile everywhere.
304 2007-05-30 16:01 twisti
306 * src/vm/jit/powerpc64/md.c (md_get_method_patch_address): Use
307 vm_abort and fixed warning.
308 (md_codegen_get_pv_from_pc): Likewise.
310 2007-05-30 15:52 twisti
312 * src/vm/jit/powerpc64/codegen.c (codegen_emit): Fixed --disable-debug
315 2007-05-30 14:09 twisti
317 * src/vm/signal.c (mm/boehm-gc/include/gc.h): Added.
318 (GC_suspend_handler): Defined.
319 (GC_restart_handler): Likewise.
320 (signal_thread): Add the Boehm-GC signals to the mask and call the
321 appropriate Boehm-function. This is a workaround for the
322 Boehm-LinuxThreads bug.
324 2007-05-29 12:34 twisti
326 * src/vm/signal.c (signal_init): Changed signature.
327 * src/vm/signallocal.h (signal_init): Likewise.
329 * src/vm/vm.c (vm_create): Call signal_init right after gc_init and
332 2007-05-29 12:22 twisti
334 * src/vm/access.c (string.h): Added.
335 (mm/memory.h): Likewise.
336 (vmcore/field.h): Likewise.
337 (vmcore/method.h): Likewise.
338 (access_check_member): Removed.
339 (access_check_field): New function.
340 (access_check_method): Likewise.
342 * src/vm/access.h (vmcore/field.h): Added.
343 (vmcore/method.h): Likewise.
344 (access_check_member): Removed.
345 (access_check_field): New function.
346 (access_check_method): Likewise.
348 * src/native/vm/gnu/java_lang_reflect_Method.c (invokeNative): Call
349 access_check_method instead of access_check_member.
351 * src/native/vm/gnu/java_lang_reflect_Constructor.c (constructNative):
354 * src/native/vm/gnu/java_lang_reflect_Field.c
355 (cacao_get_field_address): Call access_check_field instead of
360 * src/vm/jit/show.c (vm/vm.h) add missing include,
361 (_no_threads_filterverbosecallctr) fix type: u2 instead of u4
363 2007-05-29 11:30 twisti
365 * src/vm/jit/powerpc64/codegen.c (codegen_emit): Fixed warnings, some
368 2007-05-29 09:03 twisti
370 * src/vm/exceptions.c (exceptions_throw_illegalaccessexception):
372 * src/vm/exceptions.h: Likewise.
374 * src/vm/resolve.c (resolve_class_from_name): Make utf8-string out of
376 (resolve_subtype_check): Likewise.
377 (resolve_field_verifier_checks): Likewise.
378 (resolve_method_verifier_checks): Likewise.
380 2007-05-28 00:05 ajordan
382 * src/vm/jit/sparc64/codegen.h: Removed asserts for stores with sethi.
384 * src/vm/jit/sparc64/codegen.c: Added code to fill with nops when a
385 patcher is right at the
386 end of a basic block.
388 * src/vm/jit/sparc64/asmpart.S (asm_vm_call_method_end): Returning 0
389 when an exception occurs.
391 * src/vm/jit/sparc64/md.c (md_get_method_patch_address): Improved
392 handling of mptr loads when
397 * contrib/vmlog/vmlog.c: Use autoconf define WORDS_BIGENDIAN to
400 2007-05-25 15:23 twisti
402 * src/threads/threads-common.c (threads_thread_start_internal)
403 [WITH_CLASSPATH_CLDC1_1]: Set name to NULL, but this needs a fix.
404 (threads_thread_print_info) [ENABLE_JAVAME_CLDC1_1]: Set name to
407 2007-05-25 15:05 twisti
409 * src/vm/jit/optimizing/ifconv.c (vm/vm.h): Added.
410 (ifconv_static): Fixed warning, use vm_abort.
411 * src/vm/jit/powerpc/md.c (md_get_method_patch_address): Fixed
412 warning, use vm_abort.
414 2007-05-25 15:03 twisti
416 * src/vm/string.c (javastring_new_from_utf_buffer): Made static.
417 * src/vm/stringlocal.h (javastring_new_from_utf_buffer): Removed.
421 * src/vm/jit/show.h (show_filters_init, show_filters_apply,
422 show_filters_test_verbosecall_enter,
423 show_filters_test_verbosecall_exit): Added.
424 * src/vm/jit/show.c: Likewise.
425 * src/vm/jit/jit.c (jit_compile_intern): Honour filters.
426 * src/vm/jit/codegen-common.c (codegen_add_patch_ref,
427 codegen_generate_stub_native): Honour PATCHER_LONGBRANCHES_NOPS if
428 defined, honour filters.
429 * src/vm/builtin.c (builtin_trace_exception,
430 builtin_verbosecall_enter, builtin_verbosecall_exit): Honour filters.
431 * src/vm/signal.c (signal_init): Register SIGILL handler on s390.
432 * src/vm/vm.c: Handle -XXfi, -XXfe, -XXfm commandline options.
433 * src/vm/signallocal.h (md_signal_handler_sigill): Forward declare on
435 * src/threads/none/threads.h (_no_threads_filterverbosecallctr,
436 FILTERVERBOSECALLCTR): Added.
437 * src/threads/native/threads.h (struct threadobject): Added
438 filterverbosecallctr.
439 * src/threads/native/threads.c (threads_impl_thread_new): Initialize
440 filterverbosecallctr.
441 * src/threads/critical.c (critical_comparator): On s390, clear bit 32
442 of pointer when comparing.
443 * src/vmcore/options.h (opt_filter_verbosecall_include,
444 opt_filter_verbosecall_exclude, opt_filter_show_method): Added.
445 * src/vmcore/options.c: Likewise.
446 * src/vmcore/method.h (struct methodinfo): Added filtermatches.
447 * configure.ac: If no NDEBUG and regex.h header is present, define
449 * src/vm/jit/s390/emit.c,
450 src/vm/jit/s390/md.c,
451 src/vm/jit/s390/codegen.c,
452 src/vm/jit/s390/codegen.h,
453 src/vm/jit/s390/tests/dacapo.status,
454 src/vm/jit/s390/patcher.c: Changed a lot.
456 2007-05-24 13:25 michi
458 * src/vmcore/linker.c (link_class_intern) [__ARM_EABI__]: Fixed field
459 alignment bug. Double and Long fields are 8-byte aligned with EABI.
461 2007-05-24 10:23 twisti
463 * src/vm/jit/i386/linux/md-os.c (md_signal_handler_sigsegv): Fixed
466 2007-05-24 10:21 twisti
468 * src/threads/threads-common.c (mm/memory.h): Added.
469 (toolbox/list.h): Likewise.
470 (threads_table): Removed.
471 (list_threads, list_threads_free): Added.
472 (threads_preinit): Initialize lists.
473 (threads_table_init): Removed.
474 (threads_table_add): Likewise.
475 (threads_table_remove): Likewise.
476 (threads_table_get): Likewise.
477 (threads_table_get_threads): Likewise.
478 (threads_table_get_non_daemons): Likewise.
479 (threads_table_first): Likewise.
480 (threads_table_next): Likewise.
481 (threads_table_dump): Likewise.
482 (threads_list_first): New function.
483 (threads_list_next): Likewise.
484 (threads_list_get_non_daemons): Likewise.
485 (threads_thread_new): Likewise.
486 (threads_thread_free): Likewise.
487 (threads_thread_print_info): Added state-assert, print thread index.
488 (threads_thread_state_runnable): New function.
489 (threads_thread_state_waiting): Likewise.
490 (threads_thread_state_timed_waiting): Likewise.
491 (threads_thread_state_terminated): Likewise.
492 (threads_dump): Use threads-list functions.
494 * src/threads/threads-common.h: Likewise.
495 (threads_table_entry_t): Removed.
496 (threads_table_t): Likewise.
498 * src/threads/native/threads.c (mutex_threads_table): Renamed to
500 (threads_cast_sendsignals): Use threads-list functions.
501 (threads_table_lock): Renamed to threads_list_lock.
502 (threads_table_unlock): Renamed to threads_list_unlock.
503 (threads_startup_thread): Use threads-state functions.
504 (threads_detach_thread): Likewise.
505 (threads_wait_with_timeout): Likewise.
506 (threads_join_all_threads): Use threads-list functions.
508 * src/threads/native/threads.h (threadobject): Added linkage.
510 2007-05-23 23:56 ajordan
512 * src/vm/jit/sparc64/Makefile.am: Added missing emit.h.
514 2007-05-23 22:54 ajordan
516 * src/vm/jit/sparc64/Makefile.am:
517 md-asm.h was not properly added to noinst_HEADERS.
519 2007-05-23 22:04 twisti
521 * configure.ac (AM_INIT_AUTOMAKE): Added dist-bzip2.
523 2007-05-23 19:37 twisti
525 * src/threads/threads-common.h (THREAD_STATE_NEW)
526 (THREAD_STATE_RUNNABLE, THREAD_STATE_BLOCKED, THREAD_STATE_WAITING)
527 (THREAD_STATE_TIMED_WAITING, THREAD_STATE_TERMINATED): Start states
528 with 1, so we can catch unset states.
530 2007-05-23 19:11 twisti
532 * src/vm/jit/powerpc64/linux/md-os.c (md_critical_section_restart):
535 2007-05-23 18:28 twisti
537 * src/vm/jit/mips/Makefile.am (DIST_SUBDIRS): Added uclinux.
539 2007-05-23 18:08 twisti
541 * src/vmcore/statistics.c (statistics_print_memory_usage): Smaller
544 2007-05-23 18:05 twisti
546 * src/vm/jit/arm/linux/md-os.c,
547 src/vm/jit/alpha/linux/md-os.c,
548 src/vm/jit/i386/linux/md-os.c,
549 src/vm/jit/powerpc/linux/md-os.c,
550 src/vm/jit/powerpc64/linux/md-os.c,
551 src/vm/jit/x86_64/linux/md-os.c (md_critical_section_restart): Removed
554 2007-05-23 17:58 twisti
556 * src/threads/native/lock.c: Set Id keyword.
557 * src/threads/native/lock.h: Likewise.
559 2007-05-23 17:56 twisti
561 * src/native/vm/gnu/java_lang_VMClassLoader.c (getPrimitiveClass):
562 Return NULL in error case.
564 2007-05-23 17:53 twisti
566 * src/vm/jit/optimizing/profile.c: Set Id keyword.
568 2007-05-23 17:51 twisti
570 * src/vm/jit/optimizing/profile.c (profile_thread): Replaced table-
572 * src/vm/vm.c (vm_create): Use vm_abort for profile_start_thread.
574 2007-05-23 17:46 twisti
576 * src/vm/jit/jit.c (jit_compile_intern): Fixed typo.
578 2007-05-23 16:00 twisti
580 * src/vm/exceptions.c (exceptions_new_hardware_exception): Fixed
583 2007-05-23 15:57 twisti
585 * src/vm/jit/x86_64/md.c (md_get_method_patch_address): Fixed warning.
586 * src/vm/jit/x86_64/linux/md-os.c (md_signal_handler_sigsegv):
589 2007-05-23 15:43 twisti
591 * configure.ac (OPT_CFLAGS): Changed to -O2.
593 2007-05-23 15:25 twisti
595 * src/vm/jit/powerpc64/codegen.c (codegen_emit): ICMD_INSTANCEOF:
596 Removed unused supervftbl.
598 * src/vm/jit/emit-common.h [__POWERPC64__] (emit_bnan): Enabled.
600 2007-05-23 14:15 tbfg
602 * src/vm/jit/powerpc64/emit.c (MCODECHECK): Increase values to fix
604 * src/vm/jit/powerpc64/codegen.c (MCODECHECK): Increase values to fix
607 2007-05-23 13:09 twisti
609 * src/vmcore/linker.c (linker_compute_subclasses): We don't ship the
610 critical-section stuff with this release, since it's broken on some
611 architectures because of boehm.
613 2007-05-23 12:40 twisti
615 * src/vm/exceptions.c (threads/lock-common.h): Added.
616 [ENABLE_THREADS] (threads/native/threads.h): Removed.
617 [!ENABLE_THREADS] (threads/none/threads.h): Likewise.
618 (threads/threads-common.h): Added.
619 (new_exception_message): Removed.
620 (exceptions_throw_classcircularityerror): Use
621 exceptions_throw_utf_utf.
622 (exceptions_throw_classformaterror): Likewise.
623 (classnotfoundexception_to_noclassdeffounderror): Fixed warning.
624 (exceptions_throw_incompatibleclasschangeerror): Use
625 exceptions_throw_utf_utf.
626 (exceptions_throw_internalerror): Likewise.
627 (exceptions_throw_unsupportedclassversionerror): Likewise.
628 (exceptions_throw_verifyerror): Likewise.
629 (exceptions_throw_verifyerror_for_stack): Likewise.
630 (exceptions_new_arithmeticexception): Likewise.
631 (exceptions_new_classcastexception): Use exceptions_new_class_utf.
632 (exceptions_print_exception): Fixed warnings.
634 * src/vmcore/utf8.c (utf_division_by_zero): Added.
635 (utf8_init): Likewise.
637 * src/vmcore/utf8.h (utf_division_by_zero): Likewise.
639 2007-05-23 11:59 twisti
641 * src/vm/exceptions.c (new_exception_int): Removed.
642 * src/vm/exceptions.h (new_exception_int): Likewise.
644 * src/native/native.c (native_new_and_init_int): Likewise.
645 * src/native/native.h (native_new_and_init_int): Likewise.
647 2007-05-23 09:40 tbfg
649 * src/vm/jit/m68k/codegen.c (codegen_emit): Remove NOP after each
651 Add NOP generation at end of basci block when patcher is longer than
652 instruction to be patched.
654 * src/vm/jit/m68k/patcher.c (patcher_get_putfield): Implemented.
656 * src/vm/jit/m68k/codegen.h (COMPILERSTUB_CODESIZE): Correct value.
658 * src/vm/jit/codegen-common.c (codegen_increase): Enable NOP after
659 patcher generation at end of basic block.
661 2007-05-23 09:37 tbfg
663 * src/vm/jit/abi.h (abi_registers_address_name): Added.
664 (abi_registers_address_argument): Likewise.
665 (abi_registers_address_saved): Likewise.
666 (abi_registers_address_temporary): Likewise.
668 2007-05-22 11:18 twisti
670 * src/vm/jit/x86_64/md.c (md_get_method_patch_address): Replaced
671 assert with vm_abort.
673 2007-05-22 10:07 michi
675 * src/vm/jit/arm/codegen.c (codegen_emit_stub_native): Removed
676 obsolete SPLIT-stuff.
678 2007-05-22 07:21 michi
680 * src/vm/jit/arm/emit.c (emit_verbosecall_enter): Removed obsolete
683 2007-05-22 07:00 michi
685 * src/vm/jit/arm/md-abi.c (md_param_alloc): Align stack arguments as
687 * src/vm/jit/arm/asmpart.S (asm_vm_call_method): Use EABI internally.
689 2007-05-21 14:42 twisti
691 * src/vm/jit/arm/md-abi.c (md_param_alloc): Use EABI internally.
694 * src/vm/jit/arm/codegen.c (codegen_emit): Removed SPLIT-stuff.
695 * src/vm/jit/arm/emit.c (emit_store): Likewise.
697 2007-05-21 14:40 twisti
699 * src/vm/global.h (ALIGN_2): Added.
701 2007-05-21 11:45 michi
703 * src/vm/jit/arm/codegen.h (M_EORLE): Added.
705 * src/vm/jit/arm/codegen.c (codegen_emit): Fixed superindex overflow
706 for ICMD_INSTANCEOF and ICMD_CHECKCAST.
708 * src/vm/jit/arm/patcher.c (patcher_checkcast_instanceof_interface):
709 Adapted patcher to above changes.
711 2007-05-21 08:48 twisti
713 * src/native/include/Makefile.am (CLEANFILES): Simply clean an *.h
716 2007-05-21 08:27 twisti
718 * src/native/jni.c (_Jv_jni_CallLongMethodA): New function.
719 (_Jv_jni_CallFloatMethodA): Likewise.
720 (_Jv_jni_CallDoubleMethodA): Likewise.
721 (_Jv_JNI_CallStaticBooleanMethodA): Implemented.
722 (_Jv_JNI_CallStaticByteMethodA): Likewise.
723 (_Jv_JNI_CallStaticCharMethodA): Likewise.
724 (_Jv_JNI_CallStaticShortMethodA): Likewise.
725 (_Jv_JNI_CallStaticIntMethodA): Likewise.
726 (_Jv_JNI_CallStaticLongMethodA): Likewise.
727 (_Jv_JNI_CallStaticFloatMethodA): Likewise.
728 (_Jv_JNI_CallStaticDoubleMethodA): Likewise.
730 2007-05-18 15:05 twisti
732 * src/native/vm/cldc1.1/java_lang_Object.c (getClass): Fixed
735 2007-05-18 14:24 twisti
737 * src/vmcore/statistics.c (count_nstub_len): Renamed to
739 (statistics_print_memory_usage): Likewise.
741 * src/vmcore/statistics.h: Likewise.
743 * src/vm/jit/codegen-common.c (codegen_generate_stub_native):
744 Likewise, moved statistics-calculation after codegen_finish(), so
745 actually something is counted.
747 2007-05-18 14:22 twisti
749 * src/toolbox/list.c (list_create): Use LOCK_INIT_OBJECT_LOCK-macro.
751 2007-05-18 14:17 twisti
753 * src/threads/threads-common.c (threads_thread_get_state): Fixed
755 (threads_thread_is_alive): Likewise.
757 2007-05-18 13:45 twisti
759 * src/native/vm/cldc1.1/java_lang_String.c (methods): Removed
762 * src/native/vm/cldc1.1/java_lang_Throwable.c (fillInStackTrace):
765 2007-05-18 13:12 twisti
767 * src/native/native.c (native_tree_native_methods_comparator): Compare
768 classname, name and descriptor.
769 (native_method_register): Set all structure members.
770 (native_method_find): Changed argument-type to methodinfo.
771 (native_resolve_function): Likewise.
773 * src/native/native.h (native_methods_node_t): Added classname and
774 descriptor, renamed method to function.
776 * src/native/vm/gnu/java_lang_VMClass.c: Updated wrong signatures.
777 * src/native/vm/gnu/java_lang_VMObject.c: Likewise.
778 * src/native/vm/gnu/java_lang_VMThread.c: Likewise.
779 * src/native/vm/gnu/java_lang_reflect_Constructor.c: Likewise.
781 2007-05-16 09:01 twisti
783 * src/native/native.c (native_library_open): New function.
784 (native_hashtable_library_add): Renamed to native_library_add.
785 (native_hashtable_library_find): Renamed to native_library_find.
786 * src/native/native.h: Likewise.
788 * src/native/vm/java_lang_Runtime.c (loadLibrary): Use
791 2007-05-16 08:02 twisti
793 * src/native/native.c: Removed all native-includes.
794 (dummynativetable): Removed.
795 (mainhandle): Likewise.
796 (native_init): Don't dlopen libjvm, initialize the native-methods
798 (native_tree_native_methods_comparator): New function.
799 (native_method_symbol): Likewise.
800 (native_method_find): Likewise.
801 (native_resolve_function): Use native-methods tree for internal native
804 * src/native/native.h (native/jni.h): Added.
805 (NATIVE_METHODS_COUNT): Defined.
806 (native_methods_node_t): New structure.
807 (native_method_register): Added.
809 * src/native/vm/nativevm.c: New file.
810 * src/native/vm/nativevm.h: Likewise.
812 * src/native/vm/Makefile.am (libnativevm_la_SOURCES): Added
815 * src/native/vm/cldc1.1/com_sun_cldc_io_ResourceInputStream.c,
816 src/native/vm/cldc1.1/com_sun_cldc_io_j2me_socket_Protocol.c,
817 src/native/vm/cldc1.1/com_sun_cldchi_io_ConsoleOutputStream.c,
818 src/native/vm/cldc1.1/com_sun_cldchi_jvm_JVM.c,
819 src/native/vm/cldc1.1/java_lang_Class.c,
820 src/native/vm/cldc1.1/java_lang_Double.c,
821 src/native/vm/cldc1.1/java_lang_Float.c,
822 src/native/vm/cldc1.1/java_lang_Math.c,
823 src/native/vm/cldc1.1/java_lang_Object.c,
824 src/native/vm/cldc1.1/java_lang_Runtime.c,
825 src/native/vm/cldc1.1/java_lang_String.c,
826 src/native/vm/cldc1.1/java_lang_System.c,
827 src/native/vm/cldc1.1/java_lang_Thread.c,
828 src/native/vm/cldc1.1/java_lang_Throwable.c,
829 src/native/vm/gnu/gnu_classpath_VMStackWalker.c,
830 src/native/vm/gnu/gnu_classpath_VMSystemProperties.c,
831 src/native/vm/gnu/gnu_java_lang_management_VMClassLoadingMXBeanImpl.c,
832 src/native/vm/gnu/gnu_java_lang_management_VMMemoryMXBeanImpl.c,
833 src/native/vm/gnu/gnu_java_lang_management_VMRuntimeMXBeanImpl.c,
834 src/native/vm/gnu/gnu_java_lang_management_VMThreadMXBeanImpl.c,
835 src/native/vm/gnu/java_lang_VMClass.c,
836 src/native/vm/gnu/java_lang_VMClassLoader.c,
837 src/native/vm/gnu/java_lang_VMObject.c,
838 src/native/vm/gnu/java_lang_VMRuntime.c,
839 src/native/vm/gnu/java_lang_VMString.c,
840 src/native/vm/gnu/java_lang_VMSystem.c,
841 src/native/vm/gnu/java_lang_VMThread.c,
842 src/native/vm/gnu/java_lang_VMThrowable.c,
843 src/native/vm/gnu/java_lang_management_VMManagementFactory.c,
844 src/native/vm/gnu/java_lang_reflect_Constructor.c,
845 src/native/vm/gnu/java_lang_reflect_Field.c,
846 src/native/vm/gnu/java_lang_reflect_Method.c,
847 src/native/vm/gnu/java_lang_reflect_VMProxy.c,
848 src/native/vm/gnu/java_security_VMAccessController.c,
849 src/native/vm/gnu/sun_misc_Unsafe.c: Added methods table and init
850 function to register the native methods.
852 2007-05-15 10:32 tbfg
854 * src/vm/jit/powerpc64/patcher.c
855 (patcher_resolve_classref_to_classinfo): Patch back original code.
857 (patcher_resolve_classref_to_vftbl): Likewise.
858 (patcher_resolve_classref_to_flags): Likewise.
860 * src/vm/jit/powerpc64/asmpart.S (DARWIN): Removed all darwin
861 ifdefed code for readability. Needs to be ported carefully anyways.
863 (asm_vm_call_method): When handling arguments treat address type as
866 2007-05-15 09:55 christian
868 * src/vm/jit/codegen-common.c: (codegen_emit_phi_moves): Added.
870 codegen_insert_phi_moves from codegen.c)
872 * src/vm/jit/codegen-common.h: Function prototype for
873 codegen_emit_phi_moves
876 * src/vm/jit/optimizing/lsra.c: Adapted to new instruction format and
880 * src/vm/jit/optimizing/lsra.h: Likewise.
882 * src/vm/jit/optimizing/ssa.c: Likewise.
884 * src/vm/jit/optimizing/ssa.h: Likewise.
886 * src/vm/jit/optimizing/graph.c: Likewise.
888 * src/vm/jit/optimizing/graph.h: Likewise.
890 * src/vm/jit/optimizing/dominators.c: Likewise.
892 * src/vm/jit/optimizing/lifetimes.c: Likewise and changed lifetime
894 a worklist algorithmus.
896 * src/vm/jit/optimizing/lifetimes.h: Likewise.
898 * src/vm/jit/i386/codegen.c: (codegen_insert_phi_moves): Moved to
899 src/vm/jit/codegen-common.c codegen_emit_phi_moves
900 (codegen_emit): Necessary Adaptions for SSA.
902 * src/toolbox/worklist.c: (wl_reset): Added.
904 * src/toolbox/worklist.h: Function Prototype for wl_reset added.
906 * src/vm/jit/stack.c: Removed old SSA specific code.
908 2007-05-15 09:25 tbfg
910 * builtin.c (builtin_ldiv): Needed when DISABLE_GC.
912 2007-05-14 17:25 twisti
914 * src/native/native.c (native_class_getdeclaredannotations): Removed.
916 2007-05-14 14:11 twisti
918 * src/toolbox/list.c (list_add_first): Call list_add_first_unsynced.
919 (list_add_first_unsynced): New function.
920 * src/toolbox/list.h (list_add_first_unsynced): Added.
922 2007-05-14 13:29 twisti
924 * src/threads/threads-common.c (threads_create_thread): Renamed to
926 (threads_thread_free): New function.
927 (threads_preinit): Renamed threads_create_thread to
929 (threads_thread_start_internal): Likewise.
930 (threads_thread_start): Likewise.
932 * src/threads/threads-common.h (threads_create_thread): Renamed to
934 (threads_thread_free): Added.
935 (threads_init_threadobject): Renamed to threads_impl_thread_new.
936 (threads_impl_thread_free): Added.
938 * src/threads/native/threads.c (toolbox/avl.h): Removed.
939 (threadattr): Likewise.
940 (threads_init_threadobject): Renamed to threads_impl_thread_new.
941 (threads_impl_thread_free): New function.
942 (threads_init): Use local pthread_attr_t.
943 (threads_impl_thread_start): Use pthread_attr_setdetachstate (fixes
944 memory leak), check more return values of pthread-calls.
945 (threads_attach_current_thread): Renamed threads_create_thread to
947 (threads_detach_thread): Removed lock-record pools comment, call
950 2007-05-14 11:15 tbfg
952 * src/vm/jit/dseg.h (dseg_adddata): Removed warning due to typo.
954 * src/vm/jit/m68k/arch.h (SUPPORT_LONG) Defined.
955 (SUPPORT_LONG_ADD): Defined.
956 (SUPPORT_CONST_LOGICAL): Defined.
958 * src/vm/jit/m68k/codegen.c (ICMD_LADD): Implemented.
959 (ICMD_LADDCONST): Implemented.
960 (ICMD_LSUB): Implemented.
961 (ICMD_LSUBCONST): Implemented.
962 (ICMD_LNEG): Implemented.
964 * src/vm/jit/m68k/codegen.h (M_ISUBX): Added.
967 2007-05-11 22:33 twisti
969 * configure.ac (AC_CHECK_HEADERS): Added time.h.
970 (AC_CHECK_FUNCS): Added localtime, localtime_r, time.
972 * src/vmcore/statistics.c [HAVE_TIME_H] (time.h): Added.
973 (statistics_print_date): New function.
974 * src/vmcore/statistics.h (statistics_print_date): Added.
976 * src/mm/memory.c (memory_thread) [ENABLE_STATISTICS]: Call
977 statistics_print_date.
979 2007-05-11 21:18 twisti
981 * src/vmcore/statistics.c (statistics_print_memory_usage): Use
982 log_println instead of printf.
984 2007-05-11 20:35 twisti
986 * src/vm/jit/arm/codegen.c (codegen_emit): Use
987 CODEGEN_CRITICAL_SECTION_* macros.
989 * src/vm/jit/arm/linux/md-os.c (thread_restartcriticalsection):
990 Renamed to md_critical_section_restart.
992 2007-05-11 19:31 twisti
994 * src/threads/threads-common.c (threads_create_thread): Removed
995 lock_init_execution_env.
997 * src/threads/lock-common.h (lock_init_execution_env): Removed.
998 (lock_record_free_pools): Likewise.
1000 * src/threads/native/threads.h (threadobject): Removed ee.
1002 * src/threads/native/lock.c (vm/finalizer.h): Added.
1003 [ENABLE_GC_BOEHM] (mm/boehm-gc/include/gc.h): Likewise.
1004 (lock_global_pool): Removed.
1005 (lock_global_pool_lock): Likewise.
1006 (lock_init): Don't initialize lock_global_pool_lock.
1007 (lock_record_init): Removed.
1008 (lock_init_execution_env): Likewise.
1009 (lock_record_alloc_new_pool): Likewise.
1010 (lock_record_alloc_pool): Likewise.
1011 (lock_record_free_pools): Likewise.
1012 (lock_record_alloc): Likewise.
1013 (lock_record_recycle): Likewise.
1014 (lock_hashtable_get_lock_record): Renamed to lock_hashtable_get.
1015 (lock_record_new): New function.
1016 (lock_record_free): Likewise.
1017 (lock_hashtable_remove): Likewise.
1018 [ENABLE_GC_BOEHM] (lock_record_finalizer): Likewise.
1020 * src/threads/native/lock.h (lock_execution_env_t): Removed.
1021 (lock_record_pool_header_t): Likewise.
1022 (lock_record_pool_t): Likewise.
1023 (lock_record_t): Renamed obj to object, removed nextfree.
1024 [ENABLE_JVMTI] (lock_global_pool_lock, lock_global_pool): Removed.
1026 * src/vmcore/statistics.c (size_lock_record_pool): Renamed to
1028 (statistics_print_memory_usage): Likewise.
1029 * src/vmcore/statistics.h: Likewise.
1031 2007-05-11 18:58 tbfg
1033 * src/vm/jit/m68k/linux/md-abi.h (ADR_SAV_CNT): Increased by one
1035 (ADR_RES_CNT): Decreased by one (%fp).
1037 * src/vm/jit/m68k/linux/md-abi.c (nregdescadr): Declared %fp a
1040 * src/vm/jit/m68k/arch.h (SUPPORT_DIVISION): Defined.
1043 * src/vm/jit/m68k/asmpart.S (asm_handle_exception): Additional
1044 logic to restore %fp when unwinding the stack.
1046 2007-05-11 18:23 twisti
1048 * src/threads/native/threads.h (threadobject): Removed next and prev.
1050 2007-05-11 17:15 tbfg
1052 * src/vm/jit/m68k/codegen.c (codegen_emit): Fix stackframesize
1053 allocation in not synchronized methods which call a builtin returning
1054 a double. Merged with ENABLE_THREADS case.
1055 Added code to copy interface registers.
1057 * src/vm/jit/m68k/asmpart.S (asm_handle_exception):
1058 Save temporary registers, dunno if really needed, but its a
1061 2007-05-10 14:34 tbfg
1063 * src/vm/jit/m68k/emit.c (emit_verbosecall_enter): Make SOFTFLOAT
1065 (emit_verbosecall_exit): Likewise.
1067 * src/vm/jit/m68k/asmpart.S (asm_vm_call_method): Mark comment about
1070 * src/vm/jit/m68k/codegen.h (M_D2F): Fixed.
1073 2007-05-10 14:04 twisti
1075 * src/vmcore/options.c (opt_verbosethreads): Added.
1076 * src/vmcore/options.h (opt_verbosethreads): Likewise.
1078 * src/vm/vm.c (XXusage): Added -verbose:threads.
1079 (vm_create): Likewise.
1081 * src/threads/threads-common.c (threads_create_thread): Renamed
1082 variable thread to t.
1083 (threads_thread_print_info): New function.
1084 (threads_dump): Use threads_thread_print_info.
1086 * src/threads/threads-common.h (threads_thread_print_info): Added.
1088 * src/threads/native/threads.c (threads_init) [!NDEBUG]: Added
1089 -verbose:threads debug-output.
1090 (threads_startup_thread): Likewise.
1091 (threads_attach_current_thread): Likewise.
1092 (threads_detach_thread): Likewise.
1094 2007-05-10 13:27 twisti
1096 * src/threads/threads-common.c (threads_thread_start_internal): Set
1098 (threads_thread_start): Likewise.
1100 * src/threads/native/threads.c (threads_startup_thread): Don't set
1103 2007-05-10 12:50 tbfg
1105 * src/vm/jit/powerpc64/patcher.c (patcher_checkcast_interface):
1106 Fixed not flushing all bytes written.
1108 2007-05-09 16:37 tbfg
1110 * src/vm/jit/powerpc64/codegen.c (ICMD_CHECKCAST): Use
1111 branch_label_* instead of harcoded jump offsets.
1113 (ICMD_INSTANCEOF): Likewise.
1115 2007-05-09 16:05 twisti
1117 * src/lib/Makefile.am (VM_JAVA_FILES): Renamed vm/reference/ to gnu/.
1119 * src/lib/vm: Removed.
1120 * src/lib/gnu: Added.
1121 * src/lib/gnu/java: Likewise.
1122 * src/lib/gnu/gnu: Likewise.
1124 2007-05-09 08:52 tbfg
1126 * src/vm/jit/m68k/linux/md-abi.h (LA_SIZE_IN_POINTERS): Defined 0.
1127 (PA_SIZE_IN_POINTERS): Removed.
1129 (LA_LR_OFFSET): Removed.
1130 (LA_SIZE_ALIGNED): Removed.
1132 * src/vm/jit/m68k/emit.c (emit_verbosecall_enter): Removed
1133 linking instructions, save only used registers.
1135 (emit_verbosecall_exit): Likewise.
1137 * src/vm/jit/m68k/arch.h (SUPPORT_FLOAT): Depends on
1138 configure option ENABLE_SOFTFLOAT.
1140 * src/vm/jit/m68k/codegen.c (codegen_emit): Use M_FSTORE/M_FLOAT
1141 to save/restore float registers without converting any values.
1142 Fixed offset of IsSync.
1144 (codegen_emit_stub_native): Move floating point return values
1145 into floating point registers.
1147 * src/vm/jit/m68k/asmpart.S (asm_vm_call_method): Save/restore
1148 floating point registers.
1150 (asm_call_jit_compiler): Save/restore volatile floating point
1153 (asm_patcher_wrapper): Likewise.
1155 (asm_handle_exception): Use fmovemd instructions to restore
1156 floatng point registers without converting.
1158 * src/vm/jit/m68k/codegen.h (M_FSTORE): Added.
1161 2007-05-09 08:36 tbfg
1163 * src/vm/jit/powerpc64/linux/md-os.c (thread_restartcriticalsection):
1164 Renamed to md_critical_section_restart.
1166 * src/vm/jit/powerpc64/codegen.c (codegen_emit): Use
1167 CODEGEN_CRITICAL_SECTION_* macros.
1169 2007-05-08 13:03 twisti
1171 * src/configure.ac (AC_CHECK_HEADERS): Added string.h.
1172 (AC_CHECK_FUNCS): Added strdup.
1174 * src/src/vmcore/options.c [HAVE_STRING_H] (string.h): Added #ifdef.
1175 (options_get) HAVE_STRDUP]: Added.
1177 2007-05-07 21:34 twisti
1179 * src/vm/jit/alpha/codegen.c (codegen_emit): Use
1180 CODEGEN_CRITICAL_SECTION_* macros.
1182 * src/vm/jit/alpha/linux/md-os.c (thread_restartcriticalsection):
1183 Renamed to md_critical_section_restart.
1185 2007-05-07 21:29 twisti
1187 * src/threads/native/threads.c (mainthreadobj): Removed.
1188 * src/threads/native/threads.h (mainthreadobj): Likewise.
1190 * src/vm/jit/optimizing/profile.c (threads/native/threads.h):
1192 (profile_thread): Rewritten thread iteration.
1194 2007-05-07 15:07 ajordan
1196 * src/vm/jit/sparc64/codegen.c (codegen_emit): Adapted to critical
1198 * src/vm/jit/sparc64/linux/md-os.c: Likewise.
1200 2007-05-07 14:26 tbfg
1202 * src/vm/jit/m68k/codegen.c (ICMD_FNEG): Implemented.
1203 (ICMD_DNEG): Implemented.
1205 * src/vm/jit/m68k/asmpart.S (asm_call_jit_compiler):
1206 Store volatile floatregisters.
1207 (asm_patcher_wrapper): Likewise.
1208 (asm_handle_exception): Restore float registers.
1210 * src/vm/jit/m68k/codegen.h (M_FNEG): Added.
1213 2007-05-07 14:23 tbfg
1215 * tests/exception_restore_registers.java: New test, tests if
1216 variables get restored in case of exceptions.
1218 * tests/exception_restore_registers.output: New file, expected
1221 * tests/Makefile.am: Added exception_restore_registers target.
1223 2007-05-07 14:16 twisti
1225 * configure.ac (AC_CONFIG_FILES): Added
1226 src/vm/jit/mips/uclinux/Makefile.
1228 * src/vm/jit/mips/uclinux: New directory.
1229 * src/vm/jit/mips/uclinux/md-os.c: New file.
1230 * src/vm/jit/mips/uclinux/Makefile.am: Likewise.
1232 2007-05-07 14:13 twisti
1234 * src/vm/jit/mips/codegen.c (codegen_emit): Use
1235 CODEGEN_CRITICAL_SECTION_* macros.
1237 * src/vm/jit/mips/linux/md-os.c (thread_restartcriticalsection):
1238 Renamed to md_critical_section_restart.
1240 2007-05-07 13:45 twisti
1242 * configure.ac (AC_CHECK_HEADERS): Added sys/mman.h, sys/resource.h.
1243 (AC_CHECK_FUNCS): Added getrusage, mprotect.
1245 * src/vmcore/statistics.c [HAVE_SYS_TIME_H] (sys/time.h): Include
1247 [HAVE_SYS_RESOURCE_H] (sys/resource.h): Likewise.
1248 (getcputime) [!HAVE_GETRUSAGE]: Return 0.
1250 2007-05-07 13:31 twisti
1252 * src/native/vm/java_lang_Thread.h (threads/native/threads.h):
1255 2007-05-07 13:02 tbfg
1257 * src/vm/jit/m68k/arch.h (SUPPORT_FLOAT): Enabled.
1258 (SUPPORT_FLOAT_CMP): Enabled.
1259 (SUPPORT_DOUBLE): Enabled.
1260 (SUPPORT_DOUBLE_CMP): Enabled.
1262 * src/vm/jit/m68k/codegen.c (ICMD_FCMPL): Implemented.
1263 (ICMD_DCMPL): Likewise.
1264 (ICMD_FCMPG): Likewise.
1265 (ICMD_DCMPG): Likewise.
1266 (ICMD_FMUL): Likewise.
1267 (ICMD_DMUL): Likewise.
1268 (ICMD_FDIV): Likewise.
1269 (ICMD_DDIV): Likewise.
1270 (ICMD_FADD): Likewise.
1271 (ICMD_DADD): Likewise.
1272 (ICMD_FSUB): Likewise.
1273 (ICMD_DSUB): Likewise.
1274 (ICMD_F2D): Likewise.
1275 (ICMD_D2F): Likewise.
1276 (ICMD_BUILTIN): Handle float return values.
1277 (codegen_emit_stub_native): Handle float values.
1279 * src/vm/jit/m68k/codegen.h (M_FCMP): Added.
1295 2007-05-07 11:37 twisti
1297 * src/threads/threads-common.c (threads_dump): Typo.
1299 2007-05-07 11:35 twisti
1301 * src/threads/threads-common.c (threads_table_get): Made static and
1303 (threads_dump): Lock threads table.
1305 * src/threads/threads-common.h (threads_table_get): Removed.
1307 * src/threads/native/threads.c (threads_cast_stopworld): Lock threads
1309 (threads_cast_startworld): Likewise.
1311 2007-05-07 01:44 ajordan
1313 * src/vm/jit/sparc64/codegen.c (codegen_emit_stub_native): Fixed fp
1315 * src/vm/jit/sparc64/md-abi.h: Likewise.
1317 * src/vm/jit/sparc64/asmpart.S (asm_vm_call_method): Likewise, but
1318 the other way around.
1319 * src/vm/jit/sparc64/md-asm.h: Likewise.
1321 2007-05-06 22:20 tbfg
1323 * src/vm/jit/m68k/codegen.c (codegen_emit): Allocate 2 additional
1324 words in stackframe for long to double conversion.
1326 * src/vm/jit/m68k/asmpart.S (asm_handle_exception): Copy exception
1327 object into correct register.
1329 * src/vm/jit/m68k/codegen.h (M_FLD): Implemented.
1333 (M_FLTMOVE): Likewise.
1334 (M_INT2FLTMOVE): Likewise.
1335 (M_DBLMOVE): Likewise.
1338 2007-05-06 13:32 ajordan
1340 * src/vm/jit/sparc64/codegen.c: Implemented threads support.
1341 * src/vm/jit/sparc64/machine-instr.h: Likewise.
1342 * src/vm/jit/sparc64/linux/md-os.c: Likewise.
1344 2007-05-05 13:48 tbfg
1346 * src/vm/jit/m68k/emit.c (emit_patcher_stubs): Add thread
1348 (emit_exception_check_areg): Removed dead code.
1350 * src/vm/jit/m68k/codegen.c (codegen_emit): Add thread support.
1352 * src/vm/jit/m68k/asmpart.S (asm_patcher_wrapper): Likewise.
1354 2007-05-05 13:46 tbfg
1356 * linker.c (linker_compute_subclasses):
1357 threads_cast_[start|stop]world only available when using GC.
1361 * contrib/vmlog/Makefile.am (AM_CPPFLAGS): Add include directories
1363 * src/vm/Makefile.am: Likewise.
1365 2007-05-04 10:13 tbfg
1367 * linker.c (linker_compute_subclasses): Only call
1368 threads_cast_[start|stop]world when ENABLE_THREADS.
1370 2007-05-03 23:31 tbfg
1372 * src/vm/jit/m68k/md.c (md_stacktrace_get_returnaddress): Removed
1373 braindead address check and fixed the real bug.
1375 * src/vm/jit/m68k/asmpart.S (asm_vm_call_method): Added float
1377 (asm_call_jit_compiler): Fixed stack offset bug.
1379 2007-05-03 22:32 twisti
1381 * src/vm/jit/x86_64/codegen.c (codegen_emit): Use
1382 CODEGEN_CRITICAL_SECTION_* macros.
1384 * src/vm/jit/x86_64/linux/md-os.c (thread_restartcriticalsection):
1385 Renamed to md_critical_section_restart.
1387 2007-05-03 21:29 twisti
1389 * src/vm/jit/i386/codegen.c (codegen_emit): Use
1390 CODEGEN_CRITICAL_SECTION_* macros.
1392 * src/vm/jit/i386/linux/md-os.c (thread_restartcriticalsection):
1393 Renamed to md_critical_section_restart.
1395 2007-05-03 21:17 twisti
1397 * src/threads/critical.c (critical_compare): Renamed to
1398 critical_comparator.
1399 (critical_find): Removed.
1400 (critical_register_critical_section): Renamed to
1401 critical_section_register.
1402 (critical_find_restart_point): Call avl_find.
1403 (critical_register_asm_critical_sections): Call
1404 critical_section_register.
1406 * src/threads/critical.h (critical_section_node_t): Renamed members.
1407 (thread_restartcriticalsection): Renamed to
1408 md_critical_section_restart.
1410 * src/threads/native/threads.c (threads_cast_darwinstop): Call
1411 md_critical_section_restart.
1412 (threads_sigsuspend_handler): Likewise.
1414 * src/vmcore/linker.c (linker_compute_subclasses): Call
1415 threads_cast_{start,stop}world, removed LOCK_MONITOR_{ENTER,EXIT}.
1417 * src/cacaoh/dummy.c (threads_cast_stopworld): Added.
1418 (threads_cast_startworld): Likewise.
1420 * src/vm/jit/codegen-common.c (codegen_setup): Setup listcritical.
1421 (codegen_reset): Likewise.
1422 (codegen_critical_section_new): New function.
1423 (codegen_critical_section_start): Likewise.
1424 (codegen_critical_section_end): Likwise.
1425 (codegen_critical_section_finish): Likewise.
1426 (codegen_finish): Call codegen_critical_section_finish.
1427 (codegen_threadcritrestart): Removed.
1428 (codegen_threadcritstart): Likewise.
1429 (codegen_threadcritstop): Likewise.
1431 * src/vm/jit/codegen-common.h (codegen_critical_section_t): Renamed to
1432 critical_section_ref_t.
1433 (codegendata): Added listcritical, removed threadcrit,
1434 threadcritcurrent and threadcritcount.
1435 (CODEGEN_CRITICAL_SECTION_NEW, CODEGEN_CRITICAL_SECTION_START)
1436 (CODEGEN_CRITICAL_SECTION_END): Defined.
1438 * src/vm/jit/powerpc/codegen.c (codegen_emit): Use
1439 CODEGEN_CRITICAL_SECTION_* macros.
1441 * src/vm/jit/powerpc/linux/md-os.c (thread_restartcriticalsection):
1442 Renamed to md_critical_section_restart.
1444 2007-05-03 20:58 twisti
1446 * src/mm/boehm-gc/include/gc.h (GC_HAVE_BUILTIN_BACKTRACE): Commented,
1447 we don't need it and uClibc doesn't have it.
1449 2007-05-03 14:53 twisti
1451 * src/toolbox/avl.c (toolbox/logging.h): Added.
1452 (vm/global.h): Likewise.
1453 (vm/vm.h): Likewise.
1454 (avl_insert_intern): Use vm_abort instead of assert.
1455 (avl_insert): Removed debug code.
1456 (avl_dump): Use logging functions.
1458 2007-05-03 13:49 twisti
1460 * src/vm/jit/codegen-common.c (codegen_start_native_call)
1461 [ENABLE_JAVASE]: This has to be ENABLE_JNI.
1462 (codegen_finish_native_call): Likewise.
1464 2007-05-03 12:30 twisti
1466 * src/toolbox/avl.c (avl_insert_intern): Changed order of
1467 comparator-arguments.
1468 (avl_find): Likewise.
1470 * src/toolbox/avl.h (avl_comparator): Renamed arguments, to reflect
1473 * src/vm/jit/codegen-common.c (methodtree_comparator): Likewise.
1475 2007-05-03 08:29 twisti
1477 * src/toolbox/avl.h (avl_tree): Renamed to avl_tree_t.
1478 (avl_node): Renamed to avl_node_t.
1480 * src/toolbox/avl.c: Likewise.
1481 * src/threads/critical.c: Likewise.
1482 * src/vm/jit/codegen-common.c: Likewise.
1484 2007-05-03 08:16 twisti
1486 * contrib/check_dangerous_printf.pl: Removed this file in favor of
1489 2007-05-03 00:33 tbfg
1491 * src/vm/jit/m68k/codegen.c (ICMD_CALOAD): Fixed.
1493 * src/vm/jit/m68k/patcher.c (*): Removed patching back of
1494 old opcodes from patcher_wrapper, moved into each patcher.
1495 (patcher_patch_back): Added.
1497 2007-05-02 22:28 tbfg
1499 * src/vm/jit/m68k/codegen.c (ICMD_IDIVPOW2): Fixed.
1501 (ICMD_LASTORE): Use M_LST.
1502 (ICMD_DASTORE): Use M_LST.
1503 (ICMD_LALOAD): Use M_LLD.
1504 (ICMD_DALOAD): Use M_LLD.
1506 2007-05-02 20:46 twisti
1508 * src/native/vm/cldc1.1/java_lang_Float.c (native/native.h): Removed.
1509 (native/include/java_lang_Float.h): Added.
1511 2007-05-02 20:44 twisti
1513 * src/native/vm/cldc1.1/java_lang_Double.c
1514 (native/include/java_lang_Double.h): Added.
1515 (longBitsToDouble): Fixed return type.
1517 2007-05-02 20:40 twisti
1519 * src/threads/threads-common.c (threads_table_get_threads): New
1522 * src/threads/threads-common.h (threads_table_get_threads): Added.
1524 * src/threads/native/threads.c (threads_cast_sendsignals): Rewritten.
1525 (threads_cast_stopworld): Likewise.
1527 2007-05-02 20:36 tbfg
1529 * java_lang_Double.c (Java_java_lang_Double_doubleToLongBits): Added
1530 missing JNIEnv* argument to signature.
1532 2007-05-02 19:57 twisti
1534 * src/vmcore/class.c (class_load_attributes): Disable annotation
1535 loading for the release.
1537 2007-05-02 16:21 twisti
1539 * src/threads/threads-common.c (threads_preinit): Create and
1540 initialize the main-thread.
1541 (threads_table_init): Changed signature, insert main-thread and
1542 maintain a used list too.
1543 (threads_table_add): Use locking and maintain used list.
1544 (threads_table_remove): Likewise.
1545 (threads_table_get): New function.
1546 (threads_table_get_non_daemons): Likewise.
1547 (threads_table_first): Likewise.
1548 (threads_table_next): Likewise.
1549 [!NDEBUG] (threads_table_dump): Use log_* functions.
1550 (threads_dump): Use threads-table and functions.
1552 * src/threads/threads-common.h (threads_table_entry_t): Made a struct
1553 and renamed nextfree to next.
1554 (threads_table_get): Added
1555 (threads_table_get_non_daemons): Likewise.
1556 (threads_table_first): Likewise.
1557 (threads_table_next): Likewise.
1558 [!NDEBUG] (threads_table_dump): Likewise.
1559 (threads_impl_table_init): Likewise.
1560 (threads_table_lock): Likewise.
1561 (threads_table_unlock): Likewise.
1562 (threads_set_current_threadobject): Likewise.
1564 * src/threads/native/threads.c (threadlistlock): Removed.
1565 (threads_impl_preinit): Removed main-thread initialization code.
1566 (threads_impl_table_init): New function.
1567 (threads_table_lock): New function.
1568 (threads_table_unlock): Likewise.
1569 (threads_init): Get main-thread from threads-table and removed
1571 (threads_attach_current_thread): Likewise.
1572 (threads_detach_thread): Removed thread-list code.
1573 (threads_find_non_daemon_thread): Removed.
1574 (threads_join_all_threads): Use threads_table_get_non_daemons.
1576 2007-05-02 09:57 twisti
1578 * src/vm/jit/powerpc/linux/md-os.c (md_signal_handler_sigsegv): Added
1580 (md_signal_handler_sigtrap): Likewise.
1581 (md_signal_handler_sigusr2): Likewise.
1582 (thread_restartcriticalsection): Likewise.
1586 * src/vm/jit/s390/md.c (md_dump_context): Added. Fatal signals now
1587 print the context and a stacktrace.
1588 * src/vm/jit/s390/emit.h (emit_restore_pv): Added. Fixes bug where
1589 REG_PV recalculation uses dseg value to recalculate REG_PV.
1590 * src/vm/jit/s390/emit.c: Likewise.
1591 * src/vm/jit/s390/codegen.h (N_RI, N_RI2): Test immediate operand for
1593 * src/vm/jit/s390/codegen.c (codegen_emit): Use emit_restore_pv for
1594 REG_PV recalculation/
1595 * src/vm/jit/s390/disass.c (disass_pseudo_instr): Fix formating.
1596 * src/vm/jit/s390/tests/dacapo.status: Added.
1598 2007-05-01 17:35 ajordan
1600 * src/vm/jit/sparc64/codegen.h: Removed unused var_to_reg_int define.
1602 * src/vm/jit/sparc64/codegen.c: Fixed JIT float argument passing via
1605 * src/vm/jit/sparc64/asmpart.S (asm_vm_call): Fixed integer argument
1606 passing via stack args.
1610 * src/vm/jit/s390/codegen.h (gen_bound_check,
1611 gen_nullptr_check_intern, gen_bound_check, N_LONG_0): Remove because
1616 * src/vm/jit/s390/codegen.c (codegen_emit): Use new emit_label and
1617 emit_label_* functions.
1618 * src/vm/jit/s390/disass.c (disass_pseudo_instr): Nicer formatting
1619 for ill pseudo instruction.
1623 * src/vm/jit/emit-common.h (BRANCH_LABEL_6): Added.
1625 2007-05-01 13:00 tbfg
1627 * src/vm/jit/m68k/linux/md-os.c (md_signal_handler_sigill): Support
1628 EXCEPTION_HARDWARE_ARITHMETIC.
1630 * src/vm/jit/m68k/emit.c (emit_mov_imm_reg): Use corret opcode for
1633 * src/vm/jit/m68k/codegen.c (ICMD_IDIVPOW2): Implemented.
1634 (ICMD_IREMPOW2): Implemented.
1635 (ICMD_ISHLCONST): Fixed.
1636 (ICMD_ISHRCONST): Fixed.
1637 (ICMD_IUSHRCONST): Fixed.
1638 (ICMD_SALOAD): Signextension fix.
1639 (ICMD_LALOAD): Implemented.
1640 (ICMD_LASTORE): Fixed.
1641 (ICMD_IASTORE): Fixed.
1642 (ICMD_MULITANEWARRAY): Fixed.
1644 * src/vm/jit/m68k/codegen.h (M_IADDX): Added.
1648 2007-04-30 12:44 tbfg
1650 * src/vm/jit/m68k/asmpart.S (asm_handle_exception): Restore registers
1653 2007-04-30 11:58 twisti
1655 * src/vm/jit/inline/Makefile.am (AM_CPPFLAGS): Added
1656 -I$(top_builddir)/src.
1658 2007-04-30 10:53 tbfg
1660 * src/vm/jit/m68k/emit.c (emit_mov_imm_reg): Fixed.
1661 (emit_arithmetic_check): Implemented.
1663 * src/vm/jit/m68k/md.c (md_get_method_patch_address): Changed invoking
1665 (md_stacktrace_get_returnaddress): Fix for linking words on stack.
1667 * src/vm/jit/m68k/codegen.c (IUSHRCONST): Fix.
1668 (ICMD_IOR): Implemented.
1669 (ICMD_IORCONST): Likewise.
1670 (ICMD_IXOR): Likewise.
1671 (ICMD_IXORCONST): Likewise.
1672 (ICMD_INVOKEVIRTUAL): Changed invoking register.
1673 (ICMD_INVOKEINTERFACE): Likewise.
1675 * src/vm/jit/m68k/patcher.c (patcher_invokevirtual): Changed
1678 * src/vm/jit/m68k/asmpart.S (asm_vm_call_method_exception_handler):
1679 Proper stack restauration.
1680 (L_asm_call_jit_compiler_exception): Implemented.
1681 (asm_patcher_wrapper): Fixses.
1682 (L_asm_patcher_wrapper_exception): Implemented.
1684 * src/vm/jit/m68k/codegen.h (M_IXOR): Added.
1686 (M_IXOR_IMM): Added.
1688 * src/vm/jit/stacktrace.c (stacktrace_create_extern_stackframe):
1689 Comment and further m68k stuff.
1693 * src/vm/jit/s390/emit.c,
1694 src/vm/jit/s390/md-abi.h,
1695 src/vm/jit/s390/md.c,
1696 src/vm/jit/s390/emit.h,
1697 src/vm/jit/s390/codegen.c,
1698 src/vm/jit/s390/machine-instr.h,
1699 src/vm/jit/s390/codegen.h,
1700 src/vm/jit/s390/arch.h,
1701 src/vm/jit/s390/md-asm.h,
1702 src/vm/jit/s390/disass.c,
1703 src/vm/jit/s390/patcher.c,
1704 src/vm/jit/s390/asmpart.S,
1705 src/vm/jit/s390/md-abi.c: Adapted S390 port to changes from
1706 branches/twisti (hardware exceptions, emit_branch, abi_registers_*),
1707 jctest works again. Cleaned up almost all dead x86_64 code.
1709 2007-04-28 12:59 ajordan
1711 * src/vm/jit/sparc64/asmpart.S (asm_call_jit_compiler): Fixed stack
1712 alignement in first save.
1714 2007-04-27 08:43 tbfg
1716 * src/vm/jit/m68k/emit.c (emit_arrayindexoutofbounds_check): Fixed.
1717 * src/vm/jit/m68k/linux/md-os.c (md_signal_handler_sigill): AIOOB
1719 Editor boiler plate added.
1721 * src/vm/jit/m68k/linux/md-os.h: Editor boiler plate.
1723 * src/vm/jit/m68k/linux/md-abi.c: Likewise.
1725 * src/vm/jit/m68k/md.c: Likewise.
1727 * src/vm/jit/m68k/machine-instr.h: Likewise.
1729 * src/vm/jit/m68k/patcher.c: Editor boiler plate.
1730 (patcher_invokeinterface): Implemented.
1731 (patcher_get_putfield): Implemented.
1732 (patcher_resolve_class): Implemented.
1733 (patcher_get_putstatic): Implemented.
1735 * src/vm/jit/m68k/codegen.c: Editor boiler plate.
1736 (ICMD_GETSTATIC): Added patcher.
1737 (ICMD_AASTORE): Fixed.
1739 * src/vm/jit/m68k/asmpart.S: Editor boiler plate.
1740 (asm_vm_call_method_exception_handler): Fixed used register.
1741 Return values in %d0 and %a0 as gcc sometimes expects pointers
1744 2007-04-27 01:37 ajordan
1746 * src/vm/jit/sparc64/emit.c: Keeping stack 16-byte aligned when
1747 calling C/native functions from the stack. (Solaris requires this)
1748 * src/vm/jit/sparc64/codegen.c: Likewise.
1749 * src/vm/jit/sparc64/codegen.h: Likewise.
1751 * src/vm/jit/sparc64/md-abi.c: Removed zero sized abi_register_*
1752 arrays. (not allowed in ISO C)
1754 * src/vm/jit/sparc64/solaris/md-os.c: Preliminary hardware exception
1755 handling. (untested)
1757 2007-04-26 13:43 twisti
1759 * src/vm/jit/inline/inline.h (config.h): Added.
1760 (inline_inline): Likewise.
1762 * src/vm/jit/jit.c (threads/threads-common.h): Added.
1763 [ENABLE_INLINING] (vm/jit/inline/inline.h): Likewise.
1764 [ENABLE_THREADS] (threads/native/threads.h): Removed.
1766 2007-04-26 13:32 twisti
1768 * src/vm/vm.c [ENABLE_THREADS] (threads/native/threads.h): Removed.
1769 (threads/threads-common.h): Added.
1771 2007-04-26 13:07 twisti
1773 * src/native/vm/java_lang_Thread.c: Set Id keyword.
1775 2007-04-26 13:06 twisti
1777 * src/native/vm/java_lang_Thread.c (start): Renamed
1778 threads_start_javathread to threads_thread_start.
1780 2007-04-26 12:48 twisti
1782 * src/threads/threads-common.c (threads_thread_create_internal):
1783 Renamed to threads_thread_start_internal and start the thread.
1784 (threads_start_javathread): Renamed to threads_thread_start.
1785 * src/threads/threads-common.h: Likewise.
1787 * src/threads/native/threads.c (threads_start_thread): Renamed to
1788 threads_impl_thread_start.
1790 * src/mm/memory.c (thread_memory): Removed.
1791 (memory_start_thread): Call threads_thread_start_internal.
1793 * src/vm/finalizer.c (thread_finalizer): Removed.
1794 (finalizer_start_thread): Call threads_thread_start_internal.
1796 * src/vm/signal.c (thread_signal): Removed.
1797 (signal_start_thread): Call threads_thread_start_internal.
1799 * src/vm/jit/optimizing/profile.c (thread_profile): Removed.
1800 (profile_start_thread): Call threads_thread_start_internal.
1802 * src/vm/jit/optimizing/recompile.c (thread_recompile): Removed.
1803 (recompile_start_thread): Call threads_thread_start_internal.
1805 2007-04-26 11:14 twisti
1807 * src/threads/threads-common.c (threads/critical.h): Added.
1808 (threads/native/threads.h): Removed.
1809 (threads_table): Added.
1810 (threads_preinit): New function.
1811 (threads_table_init): Moved from implementation file.
1812 (threads_table_add): Likewise.
1813 (threads_table_remove): Likewise.
1814 (threads_table_dump): Likewise.
1816 * src/threads/threads-common.h (threads_table_entry_t)
1817 (threads_table_t): Added.
1818 (threads_preinit): Likewise.
1819 (threads_table_add): Likewise.
1820 (threads_table_remove): Likewise.
1821 (threads_impl_preinit): Likewise.
1822 (threads_init_threadobject): Likewise.
1824 * src/threads/native/threads.c (threads_table): Removed.
1825 (threads_preinit): Renamed to threads_impl_preinit.
1826 (threads_table_init): Removed.
1827 (threads_table_add): Likewise.
1828 (threads_table_remove): Likewise.
1829 (threads_table_dump): Likewise.
1831 * src/threads/native/threads.h (threads_table_entry_t)
1832 (threads_table_t): Removed.
1833 (threads_preinit): Likewise.
1835 2007-04-25 21:47 stefan
1837 * src/vm/jit/i386/darwin/md-os.c: added threads/threads-common.h,
1838 removed vm/jit/i386/md-abi.h
1840 2007-04-25 21:23 stefan
1842 * src/vm/jit/i386/darwin/md-os.c: attempt at porting the exception
1844 (see r7596 & r7648).
1846 2007-04-25 21:03 twisti
1848 * src/threads/lock-common.h (threads/threads-common.h): Removed that
1849 header again and added a comment about not including thread headers.
1851 * src/threads/threads-common.c (threads_start_javathread): Reverted.
1852 * src/threads/threads-common.h (threads_start_javathread): Likewise.
1854 2007-04-25 20:56 twisti
1856 * src/threads/threads-common.c (threads_dump) [!SIZEOF_VOID_P == 8]:
1859 2007-04-25 20:31 twisti
1861 * src/threads/threads-common.c (threads_start_javathread): Changed
1864 * src/threads/lock-common.h (threads/threads-common.h): Added.
1865 [ENABLE_THREADS]: Only define functions when threads are enabled.
1867 * src/threads/threads-common.h (native/include/java_lang_Thread.h):
1869 [ENABLE_THREADS]: Only define functions when threads are enabled.
1870 (threads_start_javathread): Changed signature.
1872 2007-04-25 20:07 twisti
1874 * src/vm/jit/mips/codegen.c: Changed lock includes.
1875 * src/vm/jit/mips/emit.c: Likewise.
1877 2007-04-25 20:03 twisti
1879 * src/vm/jit/arm/codegen.c: Changed lock include.
1880 * src/vm/jit/arm/emit.c: Likewise.
1882 2007-04-25 20:02 twisti
1884 * src/vm/jit/arm/emit.c (emit_load): Use switch-case instead of
1886 (emit_store): Likewise.
1887 (emit_copy): Likewise.
1889 2007-04-25 19:56 twisti
1891 * src/vm/jit/alpha/emit.c: Set Id keyword.
1893 2007-04-25 19:55 twisti
1895 * src/vm/jit/alpha/codegen.c: Changed lock include.
1896 * src/vm/jit/alpha/emit.c: Likewise.
1898 2007-04-25 19:54 twisti
1900 * src/vm/jit/alpha/codegen.c (codegen_emit_stub_native): Use
1901 md->params to save and restore argument registers.
1903 2007-04-25 19:47 twisti
1905 * src/vm/jit/i386/codegen.c: Changed lock include.
1906 * src/vm/jit/i386/emit.c: Likewise.
1908 2007-04-25 19:42 twisti
1910 * src/vm/jit/powerpc64/codegen.c: Changed lock includes.
1911 * src/vm/jit/powerpc64/emit.c: Likewise.
1913 2007-04-25 19:38 twisti
1915 * src/vm/jit/powerpc/emit.c: Set Id keyword.
1917 2007-04-25 19:37 twisti
1919 * src/vm/jit/powerpc/codegen.c: Fixed lock include.
1920 * src/vm/jit/powerpc/emit.c: Likewise.
1922 2007-04-25 19:36 twisti
1924 * src/vm/jit/powerpc/linux/md-abi.c (abi_registers_float_temporary):
1925 Fixed number of registers.
1927 2007-04-25 19:20 twisti
1929 * src/threads/lock-common.h: New file.
1931 * src/threads/native/lock.h: Removed function prototypes.
1932 * src/threads/none/lock.h (LOCK_INIT_OBJECT_LOCK): Added.
1936 src/native/native.c,
1937 src/native/vm/java_lang_Object.c,
1938 src/native/vm/java_lang_Thread.c,
1939 src/threads/Makefile.am,
1940 src/threads/native/threads.c,
1941 src/threads/threads-common.c,
1943 src/toolbox/hashtable.c,
1947 src/vm/initialize.c,
1948 src/vm/jit/inline/inline.c,
1950 src/vm/jit/optimizing/recompile.c,
1952 src/vm/jit/patcher.h,
1954 src/vm/jit/x86_64/codegen.c,
1955 src/vm/jit/x86_64/emit.c,
1958 src/vmcore/classcache.c,
1959 src/vmcore/linker.c,
1960 src/vmcore/loader.c,
1962 src/vmcore/utf8.c: Updated headers.
1964 2007-04-25 18:51 twisti
1966 * src/mm/memory.h: Updated copyright header.
1968 2007-04-25 18:33 twisti
1970 * src/threads/threads-common.c (threads_create_thread): Renamed to
1971 threads_thread_create_internal and a new function.
1972 (threads_start_javathread): Use threads_create_thread.
1974 * src/threads/threads-common.h (threads_create_thread): Changed
1976 (threads_thread_create_internal): Added.
1978 * src/threads/native/threads.c (threads_set_current_threadobject):
1980 (threads_init_threadobject): Likewise, use threads_create_thread.
1981 (threads_init): Cleanup.
1982 (threads_startup_thread): Likewise.
1983 (threads_attach_current_thread): Use threads_create_thread.
1985 * src/vm/jit/optimizing/profile.c (profile_start_thread): Replaced
1986 threads_create_thread with threads_thread_create_internal.
1987 * src/vm/jit/optimizing/recompile.c (recompile_start_thread):
1989 * src/vm/signal.c (signal_start_thread): Likewise.
1990 * src/vm/finalizer.c (finalizer_start_thread): Likewise.
1991 * src/mm/memory.c (memory_start_thread): Likewise.
1993 2007-04-25 16:39 stefan
1995 * src/vmcore/linker.c (linker_init): added missing
1996 lock_init_object_lock.
1998 2007-04-25 15:14 twisti
2000 * src/threads/native/threads.c (threads_preinit): We always need
2003 2007-04-25 15:12 twisti
2005 * src/native/native.c (native/include/java_lang_Object.h): Include
2007 [ENABLE_JAVAME_CLDC1_1]
2008 (native/include/com_sun_cldc_io_ResourceInputStream.h)
2009 (native/include/com_sun_cldc_io_j2me_socket_Protocol.h): Added.
2011 2007-04-25 14:24 twisti
2013 * contrib: Ignore TAGS.
2014 * contrib/vmlog: Likewise.
2016 2007-04-25 11:54 twisti
2018 * src/threads/native/threads.c (threads_init): Use variable t instead
2019 of mainthreadobj->object, makes code simpler.
2021 2007-04-25 11:47 twisti
2023 * src/threads/threads-common.c (threads_create_thread)
2024 [ENABLE_GC_BOEHM]: Use GCNEW_UNCOLLECTABLE.
2025 (threads_start_javathread) [ENABLE_GC_BOEHM]: Likewise.
2027 * src/threads/native/threads.c (threads_preinit) [ENABLE_GC_BOEHM]:
2029 (threads_init): Removed resizing-of-threadobject code, we don't need
2031 (threads_attach_current_thread) [ENABLE_GC_BOEHM]: Use
2032 GCNEW_UNCOLLECTABLE.
2033 (threads_detach_thread) [ENABLE_GC_BOEHM]: Use GCFREE.
2035 2007-04-24 14:29 twisti
2037 * src/threads/threads-common.c: Set Id keyword.
2038 * src/threads/threads-common.h: Likewise.
2040 2007-04-24 14:23 twisti
2042 * src/threads/threads-common.c (threads_dump): Also print integer
2043 thread id, so it's easier to compare with the ones from gdb.
2045 2007-04-24 10:20 tbfg
2047 * threads.m4: Fixed a typo
2049 2007-04-23 23:51 twisti
2051 * contrib/.cvsignore,
2053 doc/handbook/.cvsignore,
2056 src/cacao/.cvsignore,
2057 src/cacaoh/.cvsignore,
2058 src/fdlibm/.cvsignore,
2061 src/mm/boehm-gc/.cvsignore,
2062 src/mm/boehm-gc/doc/.cvsignore,
2063 src/mm/boehm-gc/include/.cvsignore,
2064 src/mm/cacao-gc/.cvsignore,
2065 src/native/.cvsignore,
2066 src/native/include/.cvsignore,
2067 src/native/jvmti/.cvsignore,
2068 src/native/tools/.cvsignore,
2069 src/native/vm/.cvsignore,
2070 src/native/vm/cldc1.1/.cvsignore,
2071 src/native/vm/gnu/.cvsignore,
2072 src/scripts/.cvsignore,
2073 src/threads/.cvsignore,
2074 src/threads/none/.cvsignore,
2075 src/threads/posix/.cvsignore,
2076 src/toolbox/.cvsignore,
2078 src/vm/jit/.cvsignore,
2079 src/vm/jit/allocator/.cvsignore,
2080 src/vm/jit/alpha/.cvsignore,
2081 src/vm/jit/alpha/freebsd/.cvsignore,
2082 src/vm/jit/alpha/linux/.cvsignore,
2083 src/vm/jit/arm/.cvsignore,
2084 src/vm/jit/arm/linux/.cvsignore,
2085 src/vm/jit/i386/.cvsignore,
2086 src/vm/jit/i386/cygwin/.cvsignore,
2087 src/vm/jit/i386/darwin/.cvsignore,
2088 src/vm/jit/i386/freebsd/.cvsignore,
2089 src/vm/jit/i386/linux/.cvsignore,
2090 src/vm/jit/inline/.cvsignore,
2091 src/vm/jit/intrp/.cvsignore,
2092 src/vm/jit/loop/.cvsignore,
2093 src/vm/jit/m68k/.cvsignore,
2094 src/vm/jit/m68k/linux/.cvsignore,
2095 src/vm/jit/mips/.cvsignore,
2096 src/vm/jit/mips/irix/.cvsignore,
2097 src/vm/jit/mips/linux/.cvsignore,
2098 src/vm/jit/optimizing/.cvsignore,
2099 src/vm/jit/parisc/.cvsignore,
2100 src/vm/jit/parisc/linux/.cvsignore,
2101 src/vm/jit/powerpc/.cvsignore,
2102 src/vm/jit/powerpc/darwin/.cvsignore,
2103 src/vm/jit/powerpc/linux/.cvsignore,
2104 src/vm/jit/powerpc/netbsd/.cvsignore,
2105 src/vm/jit/powerpc64/.cvsignore,
2106 src/vm/jit/powerpc64/linux/.cvsignore,
2107 src/vm/jit/s390/.cvsignore,
2108 src/vm/jit/schedule/.cvsignore,
2109 src/vm/jit/sparc64/.cvsignore,
2110 src/vm/jit/sparc64/linux/.cvsignore,
2111 src/vm/jit/sparc64/solaris/.cvsignore,
2112 src/vm/jit/tools/.cvsignore,
2113 src/vm/jit/verify/.cvsignore,
2114 src/vm/jit/x86_64/.cvsignore,
2115 src/vm/jit/x86_64/freebsd/.cvsignore,
2116 src/vm/jit/x86_64/linux/.cvsignore,
2117 src/vmcore/.cvsignore,
2119 tests/regression/.cvsignore,
2120 tests/regression/codepatching/.cvsignore,
2121 tests/regression/jasmin/.cvsignore,
2122 tests/regression/native/.cvsignore,
2123 tests/stack/.cvsignore: Removed.
2125 2007-04-23 23:39 twisti
2127 * .cvsignore: Removed.
2129 2007-04-23 23:03 twisti
2131 * configure.ac: Removed --enable-threads checks and call instead
2132 AC_CHECK_ENABLE_THREADS.
2133 * m4/threads.m4: New file.
2135 2007-04-23 20:04 twisti
2137 * configure.ac: Removed all classpath related checks and made
2139 * m4/classpath.m4: New file.
2141 2007-04-23 20:03 twisti
2143 * src/vm/builtin.h (md-abi.h): Added.
2145 2007-04-23 14:29 twisti
2147 * src/vm/signal.c (signal_thread): Don't check for an error on
2148 sigwait (revisit this patch with the exact-GC).
2150 2007-04-22 20:02 tbfg
2152 * src/vm/jit/m68k/linux/md-os.c (md_signal_handler_sigsegv):
2154 (md_signal_handler_sigill): More exceptions handled. Some fixes.
2156 * src/vm/jit/m68k/linux/md-os.h
2157 (M68K_EXCEPTION_HARDWARE_NULLPOINTER): Used instead of
2158 EXCEPTION_HARDWARE_NULLPOINTER, because a trap with value #0 will
2161 * src/vm/jit/m68k/emit.c (emit_load_[low|high]): Fixed assertion.
2162 (emit_arrayindexoutofbounds_check): Implemented.
2163 (emit_nullpointer_check): Implemented.
2164 (emit_exception_check_ireg): Renamed emit_exception_check.
2165 (emit_exception_check_areg): Disabled code.
2166 (emit_exception_check): Implemented.
2168 * src/vm/jit/m68k/codegen.c (ICMD_LALOAD): Implemented.
2169 (ICMD_FALOAD): Implemented.
2170 (ICMD_DALOAD): Implemented.
2171 (ICMD_LASTORE): Implemented.
2172 (ICMD_FASTORE): Implemented.
2173 (ICMD_DASTORE): Implemented.
2174 (ICMD_BUILTIN): Exception check enabled.
2175 (ICMD_MULTIANEWARRAY): Implemented.
2176 (codegen_emit_stub_native): Exception check implemented.
2178 * src/vm/jit/m68k/asmpart.S (asm_handle_nat_exception): Symbol
2179 exported and implemented.
2181 * src/vm/jit/stacktrace.c (stacktrace_create_extern_stackframe): More
2184 2007-04-22 15:55 ajordan
2186 * src/vm/jit/sparc64/arch.h: Properly activated all FP features
2187 SPARC64 supports in hardware.
2189 * src/vm/jit/sparc64/asmpart.S: Added functions to read/write the FP
2191 * src/vm/jit/sparc64/md.c: Added prototypes here.
2193 * src/vm/jit/sparc64/codegen.h: Added 'branch on FP condition codes'
2196 * src/vm/jit/sparc64/emit.c (emit_verbosecall_enter): Fixed FP
2199 * src/vm/jit/sparc64/codegen.c (codegen_emit): Fixed FP conversion
2200 functions to (a) use unique slots in the data segment (doh!),
2201 (b) catch the case where NaN is converted to an integer value. (JVMS
2202 and SPARC do not inherently agree here).
2204 2007-04-21 18:56 edwin
2206 * tests/regression/resolving/Makefile.am: Added "-classpath ." to
2208 options so the tests work with ecj out-of-the-box.
2210 2007-04-21 16:42 edwin
2212 * configure.ac: Generate vmlog Makefiles.
2213 * contrib/Makefile.am: Added vmlog to SUBDIRS.
2214 * contrib/vmlog/Makefile.am, contrib/vmlog/t/Makefile.am: New files.
2216 2007-04-21 16:26 edwin
2218 * contrib/vmlog/Makefile: Renamed to maintain.mk.
2220 2007-04-21 12:48 edwin
2222 * contrib/vmlog/vmlog_cacao.patch: Removed. It is no longer needed.
2223 * contrib/vmlog/README: Updated for CACAO's --enable-vmlog.
2225 2007-04-21 12:37 edwin
2227 * configure.ac (--enable-vmlog): New configure option.
2229 * src/vm/jit/Makefile.am, src/vm/Makefile.am,
2230 src/threads/native/Makefile.am (AM_CPPFLAGS): Added -I for vmlog
2233 2007-04-21 10:55 edwin
2235 * src/vm/jit/replace.c, src/vm/jit/intrp/asmpart.c,
2236 src/vm/jit/codegen-common.c, src/vm/builtin.c, src/vm/exceptions.c,
2237 src/vm/vm.c, src/threads/native/lock.c (ENABLE_VMLOG): Applied the
2238 vmlog patch and wrapped all inserted code with
2239 #if defined(ENABLE_VMLOG).
2241 2007-04-20 13:51 twisti
2243 * src/toolbox/list.h (list_t): Added size.
2245 * src/toolbox/list.c (list_create): Initialize size.
2246 (list_create_dump): Likewise.
2247 (list_add_first): Increase size.
2248 (list_add_last_unsynced): Likewise.
2249 (list_add_before): Likewise.
2250 (list_remove_unsynced): Decrease size.
2252 2007-04-20 13:28 twisti
2254 * src/toolbox/list.h (listnode): Renamed to listnode_t.
2255 (list): Renamed to list_t.
2257 * src/toolbox/list.c,
2258 src/vm/jit/codegen-common.c,
2259 src/vm/jit/codegen-common.h,
2260 src/vm/jit/emit-common.c,
2261 src/vm/jit/optimizing/profile.c,
2262 src/vm/jit/optimizing/recompile.c,
2263 src/vm/jit/optimizing/recompile.h,
2264 src/vm/properties.c,
2268 src/vmcore/suck.h: Likewise.
2270 2007-04-20 13:09 twisti
2272 * src/vm/vm.c: Changed header order to prevent a warning.
2274 2007-04-20 13:06 twisti
2276 * src/native/vm/cldc1.1/com_sun_cldchi_jvm_JVM.c (loadLibrary): Fixed
2277 string-internal warnings.
2278 * src/native/vm/cldc1.1/java_lang_System.c (getProperty0): Likewise.
2280 2007-04-20 12:53 twisti
2282 * src/vm/vm.c (version): Print libjvm.so path.
2284 2007-04-20 12:48 twisti
2286 * src/vm/vm.c (vm_create): Print unknown -verbose option.
2288 2007-04-20 12:40 twisti
2290 * src/vm/jit/codegen-common.c (codegen_finish_native_call): #ifdef lrt
2291 and plrt. Don't set lrt, we don't need it.
2293 2007-04-20 11:21 twisti
2295 * src/threads/threads-common.h (native/jni.h): Added.
2297 2007-04-19 21:31 twisti
2299 * src/vm/signal.c (signal_thread): Check return value of sig*
2302 2007-04-19 19:59 twisti
2304 * tests/regression/resolving/Makefile.am (check): Added missing
2307 2007-04-19 19:58 twisti
2309 * configure.ac (AC_INIT): Changed version to 0.98rc.
2311 2007-04-19 19:44 twisti
2313 * src/vm/exceptions.h: Added a comment about the hardware-exception
2314 assert in signal_init.
2316 2007-04-19 19:43 twisti
2318 * src/vm/signal.c (assert.h): Added.
2319 (vm/exceptions.h): Likewise.
2320 [ENABLE_STATISTICS] (vmcore/statistics.h): Likewise.
2321 (signal_init): Added hardware-exception assert.
2323 2007-04-19 19:41 twisti
2325 * src/cacaoh/dummy.c (exceptions_print_current_exception): Added
2327 (exceptions_throw_outofmemoryerror): Removed.
2328 (exceptions_throw_illegalaccessexception): Likewise.
2330 2007-04-19 19:39 twisti
2332 * src/vm/jit/powerpc/darwin/md-abi.h (REG_FA0, REG_FA1): Added.
2333 (REG_A0_A1_PACKED, REG_A2_A3_PACKED): Likewise.
2335 * src/vm/jit/powerpc/darwin/md-os.c [ENABLE_THREADS]
2336 (threads/native/threads.h): Added.
2337 (md_signal_handler_sigsegv): Changed for hardware-exceptions.
2338 (md_signal_handler_sigtrap): New function.
2340 * src/vm/jit/powerpc/darwin/md-abi.c (vm/descriptor.h): Changed to
2341 vmcore/descriptor.h.
2342 (regs): Renamed to abi_registers_integer_name.
2343 (abi_registers_integer_argument): Added.
2344 (abi_registers_integer_saved): Likewise.
2345 (abi_registers_integer_temporary): Likewise.
2346 (abi_registers_float_argument): Likewise.
2347 (abi_registers_float_saved): Likewise.
2348 (abi_registers_float_temporary): Likewise.
2349 (md_param_alloc): Use new register arrays.
2350 (md_param_alloc_native): New function.
2352 2007-04-19 15:01 tbfg
2354 * src/vm/jit/m68k/linux/md-abi.c (abi_registers_integer_saved): Fixed.
2355 (abi_registers_float_saved): Fixed.
2357 * src/vm/jit/m68k/emit.c (emit_classcast_check): Fixed.
2359 * src/vm/jit/m68k/codegen.c (codegen_emit): Temporary hacked
2360 a field for saved adr registers until real patch will be done.
2361 (ICMD_INSTANCEOF): Fixed.
2362 (ICMD_CHECKCAST): Fixed.
2363 (codegen_emit_stub_compiler): Removed useless code.
2365 * src/vm/jit/m68k/asmpart.S (L_asm_handle_exception_not_catched):
2368 * src/vm/jit/m68k/codegen.h (M_BLS): Added.
2370 2007-04-19 12:19 michi
2372 * src/vm/jit/arm/asmpart.S (asm_patcher_wrapper): Use long branch
2374 for exception handling here. This fixes a crash in the following
2376 regression testcase: jasmin/test_verify_fail_areturn_wrong_reftype.
2378 2007-04-19 09:19 twisti
2380 * src/threads/threads-common.c (threads_start_javathread)
2381 [ENABLE_JAVASE]: Check for daemon thread and set the flag.
2383 2007-04-19 09:18 twisti
2385 * src/threads/native/threads.c (threads_start_javathread): Removed.
2386 (threads_detach_thread): Added some comments.
2388 * src/threads/native/threads.h (threads_start_javathread): Removed.
2390 * src/threads/threads-common.c (assert.h): Added.
2391 [ENABLE_STATISTICS] (vmcore/options.h, vmcore/statistics.h): Added.
2392 (threads_start_javathread): Added.
2394 * src/threads/threads-common.h (vm/global.h): Added.
2395 (native/include/java_lang_Thread.h): Likewise.
2396 (threads_start_javathread): Likewise.
2398 2007-04-18 21:04 ajordan
2400 * src/vm/jit/sparc64/emit.c: Migrated to
2401 abi_registers_{integer,float}_argument.
2402 * src/vm/jit/sparc64/codegen.c: Likewise.
2403 * src/vm/jit/sparc64/md-abi.c: Likewise.
2405 2007-04-18 15:31 michi
2407 * src/vm/jit/powerpc64/linux/Makefile.am (AM_CPPFLAGS): Added
2408 -I$(top_builddir)/src.
2410 2007-04-18 14:49 tbfg
2412 * src/vm/jit/powerpc64/codegen.c (sign_ext): Removed from
2413 ICMD_INEG, ICMD_IDIV, ICMD_IREM, ICMD_IMUL, ICMD_IAND and ICMD_IOR
2414 to save the if runtime costs.
2416 (ICMD_IUSHR): Needs sign extension for 0 bit shift case.
2418 2007-04-18 14:11 twisti
2420 * src/threads/native/threads.c (mutex_join, cond_join): Added.
2421 (threads_init_threadobject): Don't initalize join-mutex and cond.
2422 (threads_preinit): Initialize mutex_join and cond_join.
2423 (threads_startup_thread): Added vm_abort.
2424 (threads_detach_thread): Don't reset thread id and use global mutex
2426 (threads_find_non_daemon_thread): Lock thread list.
2427 (threads_join_all_threads): Use global mutex and condition.
2429 * src/threads/native/threads.h (threadobject): Removed joinmutex and
2432 2007-04-18 09:59 twisti
2434 * src/native/vm/java_lang_ClassLoader.c [ENABLE_STATISTICS]
2435 (vmcore/statistics.h): Added.
2437 2007-04-17 23:18 twisti
2439 * src/vm/jit/emit-common.h (emit_copy): Changed signature.
2441 * src/vm/jit/alpha/codegen.c,
2442 src/vm/jit/alpha/emit.c,
2443 src/vm/jit/arm/codegen.c,
2444 src/vm/jit/arm/emit.c,
2445 src/vm/jit/i386/codegen.c,
2446 src/vm/jit/i386/emit.c,
2447 src/vm/jit/m68k/codegen.c,
2448 src/vm/jit/m68k/emit.c,
2449 src/vm/jit/mips/codegen.c,
2450 src/vm/jit/mips/emit.c,
2451 src/vm/jit/powerpc/codegen.c,
2452 src/vm/jit/powerpc/emit.c,
2453 src/vm/jit/powerpc64/codegen.c,
2454 src/vm/jit/powerpc64/emit.c,
2455 src/vm/jit/s390/codegen.c,
2456 src/vm/jit/s390/emit.c,
2457 src/vm/jit/sparc64/codegen.c,
2458 src/vm/jit/sparc64/emit.c,
2459 src/vm/jit/x86_64/codegen.c,
2460 src/vm/jit/x86_64/emit.c: Likewise.
2462 2007-04-17 22:55 twisti
2464 * src/vm/jit/m68k/emit.c: boilerplate added.
2466 2007-04-17 22:50 twisti
2468 * src/vm/jit/m68k/codegen.c: Boilerplate added.
2470 2007-04-17 22:06 twisti
2472 * src/vm/jit/alpha/codegen.c (codegen_emit): Fixed bug in
2473 float-argument passing.
2475 2007-04-17 21:37 twisti
2477 * tests/regression/resolving/Makefile.am (check): Use LD_LIBRARY_PATH
2480 2007-04-17 21:30 edwin
2482 * src/vm/jit/stack.c (stack_init_javalocals): Use "type" as variable
2484 (stack_analyse): Likewise.
2486 2007-04-17 21:25 edwin
2488 * src/vm/jit/stack.c (stack_analyse): Do not abuse poor "i" for types,
2489 use a separate variable for that.
2491 2007-04-17 21:11 edwin
2493 * src/vm/jit/stack.c (stack_reanalyse_block, stack_analyse): Renamed
2494 variable "j" to a more obvious "varindex".
2496 2007-04-17 21:01 edwin
2498 * src/vm/jit/verify/typecheck.c: More variable renaming for clarity.
2500 2007-04-17 20:59 twisti
2502 * src/vm/builtintable.inc (builtintable_function) [ENABLE_JIT]: We
2503 need the entries only for JIT.
2505 2007-04-17 20:54 twisti
2507 * tests/regression/jasmin/Makefile.am (check): Set LD_LIBRARY_PATH.
2509 2007-04-17 20:53 edwin
2511 * src/vm/jit/stack.c, src/vm/jit/verify/typecheck-common.c,
2512 src/vm/jit/verify/typeinfo.c, src/vm/jit/inline/inline.c,
2513 src/vm/jit/allocator/simplereg.c: Clarification: Renamed variables
2514 that are indices into jd->var to "varindex". Renamed variables that
2515 are bytecode variable indices to "javaindex".
2517 2007-04-17 20:37 edwin
2519 * src/vm/jit/stack.c, src/vm/jit/show.c, src/vm/jit/inline/inline.c,
2520 src/vm/jit/replace.c, src/vm/jit/jit.h: Fix and use the new macros
2521 for calculating javalocals values representing returnAddresses.
2523 2007-04-17 20:30 edwin
2525 * src/vm/jit/jit.h (basicblock): Document the javalocal array.
2526 (JAVALOCAL_FROM_RETADDR): New macro.
2527 (RETADDR_FROM_JAVALOCAL): Likewise.
2529 2007-04-17 20:25 twisti
2531 * src/threads/native/threads.c (threads_init): Fixed string-internal
2533 (threads_attach_current_thread): Likewise.
2535 2007-04-17 20:17 twisti
2537 * src/threads/threads-common.c (threads_print_stacktrace): Renamed to
2538 threads_thread_print_stacktrace.
2539 (threads_print_stacktrace): New function.
2540 (threads_dump): Use threads_thread_print_stacktrace.
2542 * src/threads/threads-common.h: Likewise.
2544 * src/vm/jit/codegen-common.c (codegen_get_pv_from_pc): Use new
2545 threads_print_stacktrace.
2547 2007-04-17 20:06 edwin
2549 * src/vm/jit/jit.h (jitdata): Cleaned up comments for local_map.
2551 2007-04-17 19:57 edwin
2553 * src/vm/jit/stack.c (stack_javalocals_store): Added an assert.
2555 2007-04-17 19:24 edwin
2557 * src/vm/jit/stack.c (stack_analyse): The javalocals array can have
2558 negative values != UNUSED (these values < UNUSED represent
2559 returnAddresses of local subroutines). Thus >= 0 must be used to
2560 check for normal indices.
2562 2007-04-17 18:47 edwin
2564 * src/vm/jit/parse.c (parse): Small cleanup of local variable
2568 2007-04-17 11:15 twisti
2570 * src/vm/jit/x86_64/codegen.c (codegen_emit_stub_native): Use simpler
2571 code to save and restore argument registers.
2573 2007-04-16 22:56 twisti
2575 * src/vm/jit/x86_64/codegen.c (codegen_emit): Made argument passing
2578 2007-04-16 22:24 twisti
2580 * src/vm/jit/codegen-common.c (codegen_setup): Removed maxstack stuff.
2581 * src/vm/jit/codegen-common.h (codegendata): Likewise.
2583 * src/vm/jit/inline/inline.c: Fixed includes.
2584 (inline_jit_compile): Removed maxstack stuff.
2585 (inline_transform): Removed basicblockindex.
2587 2007-04-16 21:09 twisti
2589 * src/vm/jit/Makefile.am (DIST_SUBDIRS): Added m68k.
2590 * src/mm/cacao-gc/Makefile.am (libgc_la_SOURCES): Removed heap.c.
2592 2007-04-16 21:07 twisti
2594 * src/vm/jit/powerpc64/linux/md-abi.c: Argument register changes
2596 * src/vm/jit/powerpc64/emit.c: Likewise.
2597 * src/vm/jit/powerpc64/codegen.c: Likewise.
2599 2007-04-16 15:57 twisti
2601 * src/native/jni.c (_Jv_JNI_DefineClass): Fixed string-internal
2603 (_Jv_JNI_NewStringUTF): Likewise.
2604 (_Jv_JNI_GetStringUTFChars): Likewise.
2606 2007-04-16 15:53 twisti
2608 * src/native/vm/java_lang_Class.c (forName): Fixed string-internal
2610 (getDeclaredFields): Likewise.
2611 (getDeclaredMethods): Likewise.
2612 (getEnclosingMethod): Likewise.
2613 (getClassSignature): Likewise.
2615 2007-04-16 15:49 twisti
2617 * src/native/vm/java_lang_ClassLoader.c (defineClass): Fixed
2618 string-internal warnings.
2620 * src/native/vm/java_lang_Runtime.c (loadLibrary): Likewise.
2622 * src/native/vm/gnu/java_lang_reflect_Field.c (getSignature):
2625 * src/native/vm/gnu/java_lang_reflect_Constructor.c (getSignature):
2628 * src/native/vm/gnu/java_lang_VMThrowable.c (getStackTrace): Likewise.
2630 2007-04-16 15:29 twisti
2632 * src/native/vm/gnu/java_lang_reflect_Method.c (getSignature): Fixed
2633 string-internal warnings.
2635 2007-04-16 15:26 twisti
2637 * src/native/vm/gnu/java_lang_VMRuntime.c (mapLibraryName): Fixed
2638 string-internal warnings.
2640 2007-04-16 15:23 twisti
2642 * src/native/vm/gnu/java_lang_VMClassLoader.c (loadClass): Fixed
2643 string-internal warnings.
2644 (nativeGetResources): Likewise.
2645 (findLoadedClass): Likewise.
2647 2007-04-16 14:29 twisti
2649 * src/vmcore/utf8.c (utf_get_number_of_u2s): Return 0 instead of NULL.
2651 2007-04-16 14:28 twisti
2653 * src/threads/threads-common.c (native/include/java_lang_String.h):
2655 (threads_create_thread): Fixed string-internal warnings.
2656 (threads_dump): Likewise.
2658 2007-04-16 14:11 twisti
2660 * src/vm/builtin.c (builtin_print_argument): Removed java_lang_String
2661 until we know what we do with strings internally (more patches to
2664 2007-04-15 21:49 twisti
2666 * src/vm/jit/reg.c (reg_setup): Removed arg{int,flt}regs stuff.
2667 * src/vm/jit/reg.h (registerdata): Removed arg{int,flt}regs.
2669 * src/vm/jit/stack.c (stack_analyse): regoff now contains the register
2670 number instead of an offset.
2672 * src/vm/jit/allocator/simplereg.c: Use
2673 abi_registers_{integer,float}_argument instead of arg{int,flt}regs.
2675 * src/vm/jit/alpha/codegen.c,
2676 src/vm/jit/alpha/emit.c,
2677 src/vm/jit/alpha/md-abi.c,
2678 src/vm/jit/arm/codegen.c,
2679 src/vm/jit/arm/emit.c,
2680 src/vm/jit/arm/md-abi.c,
2681 src/vm/jit/arm/md-abi.h,
2682 src/vm/jit/i386/codegen.c,
2683 src/vm/jit/i386/md-abi.c,
2684 src/vm/jit/mips/codegen.c,
2685 src/vm/jit/mips/emit.c,
2686 src/vm/jit/mips/md-abi.c,
2687 src/vm/jit/powerpc/codegen.c,
2688 src/vm/jit/powerpc/emit.c,
2689 src/vm/jit/powerpc/linux/md-abi.c,
2690 src/vm/jit/powerpc/linux/md-abi.h,
2691 src/vm/jit/x86_64/codegen.c,
2692 src/vm/jit/x86_64/emit.c,
2693 src/vm/jit/x86_64/md-abi.c: A lot of changes like the ones above.
2695 2007-04-15 21:13 twisti
2697 * src/vm/jit/mips/emit.c (emit_load): Bugfix: Added missing float
2699 (emit_store): Likewise.
2701 2007-04-15 12:17 michi
2703 * src/vm/jit/i386/md-abi.c (abi_registers_integer_argument): Fixed.
2705 2007-04-15 12:15 michi
2707 * src/vm/jit/i386/md-abi.c (abi_registers_integer_argument): Added.
2708 (abi_registers_integer_saved): Likewise.
2709 (abi_registers_integer_temporary): Likewise.
2711 2007-04-15 11:55 michi
2713 * src/vm/jit/i386/codegen.c (codegen_emit_stub_native): Fixed
2714 calculation of stackframesize.
2716 2007-04-15 11:37 twisti
2718 * tests/regression/resolving/Makefile.am: Added GNU header and fixed
2720 * tests/regression/resolving/classes1/Makefile.am: Likewise.
2721 * tests/regression/resolving/classes2/Makefile.am: Likewise.
2722 * tests/regression/resolving/classes3/Makefile.am: Likewise.
2724 2007-04-13 11:48 twisti
2726 * src/vm/jit/mips/codegen.c (codegen_emit): ICMD_LDIV, ICMD_LREM: Use
2727 REG_Ax_Ax_PACKED defines.
2729 2007-04-13 10:42 twisti
2731 * src/vm/jit/mips/md-abi.c (md_param_alloc): Code beautified.
2733 2007-04-13 10:12 twisti
2735 * src/cacao/cacao.c (main): Save the error message of the first
2736 lt_dlopenext and print it too when the second fails (thanks Dalibor).
2737 Although there's still a problem, when the first fails for some reason
2738 and the second picks up and old installed one silently.
2740 2007-04-12 19:49 twisti
2742 * src/vm/jit/stack.c (stack_analyse): Removed USEBUILTINTABLE, always
2743 check for automatic-builtins (compile this is not affected).
2745 * src/vm/jit/alpha/arch.h,
2746 src/vm/jit/arm/arch.h,
2747 src/vm/jit/i386/arch.h,
2748 src/vm/jit/m68k/arch.h,
2749 src/vm/jit/mips/arch.h,
2750 src/vm/jit/powerpc/arch.h,
2751 src/vm/jit/powerpc64/arch.h,
2752 src/vm/jit/s390/arch.h,
2753 src/vm/jit/sparc64/arch.h,
2754 src/vm/jit/x86_64/arch.h (USEBUILTINTABLE): Removed.
2756 2007-04-12 15:35 tbfg
2758 * src/vm/jit/powerpc64/emit.c (emit_patcher_stubs): Removed dead code.
2760 * src/vm/jit/powerpc64/codegen.c (ICMD_ISUB): Fixed evil bug.
2761 (ICMD_LSHR): Fixed a bug.
2762 (createnativestub): Use emit_patcher_stub.
2764 * src/vm/jit/powerpc64/patcher.c (patcher_resolve_native): Fixed.
2766 2007-04-12 14:47 twisti
2768 * src/vm/jit/codegen-common.c (codegen_createnativestub): Renamed to
2769 codegen_generate_stub_native and call codegen_finish.
2771 * src/vm/jit/codegen-common.h (codegen_createnativestub): Removed.
2772 (codegen_generate_stub_native): Added.
2773 * src/vm/jit_interface.h: Likewise.
2774 * src/cacaoh/dummy.c: Likewise.
2776 * src/vmcore/loader.c (load_newly_created_array): Renamed
2777 codegen_createnativestub to codegen_generate_stub_native and changed
2779 * src/vm/jit/jit.c (jit_compile_intern): Likewise.
2781 * src/vm/jit/arm/codegen.c,
2782 src/vm/jit/powerpc/codegen.c,
2783 src/vm/jit/sparc64/codegen.c,
2784 src/vm/jit/alpha/codegen.c,
2785 src/vm/jit/s390/codegen.c,
2786 src/vm/jit/mips/codegen.c,
2787 src/vm/jit/m68k/codegen.c,
2788 src/vm/jit/powerpc64/codegen.c,
2789 src/vm/jit/i386/codegen.c,
2790 src/vm/jit/x86_64/codegen.c (createnativestub): Renamed to
2791 codegen_emit_stub_native and changed signature, don't call
2794 2007-04-12 12:45 twisti
2796 * src/vm/jit/codegen-common.c (codegen_generate_stub_compiler): New
2799 * src/vm/jit/codegen-common.h (createcompilerstub): Removed.
2800 (codegen_generate_stub_compiler): Added.
2801 * src/vm/jit_interface.h: Likewise.
2802 * src/cacaoh/dummy.c: Likewise.
2804 * src/vmcore/linker.c (link_class_intern): Replaced createcompilerstub
2805 with codegen_generate_stub_compiler.
2807 * src/vm/jit/alpha/codegen.c,
2808 src/vm/jit/arm/codegen.c,
2809 src/vm/jit/i386/codegen.c,
2810 src/vm/jit/m68k/codegen.c,
2811 src/vm/jit/mips/codegen.c,
2812 src/vm/jit/powerpc/codegen.c,
2813 src/vm/jit/powerpc64/codegen.c,
2814 src/vm/jit/s390/codegen.c,
2815 src/vm/jit/sparc64/codegen.c,
2816 src/vm/jit/x86_64/codegen.c (COMPILERSTUB_DATASIZE)
2817 (COMPILERSTUB_SIZE): Removed.
2818 (createcompilerstub): Renamed to codegen_emit_stub_compiler and
2821 * src/vm/jit/alpha/codegen.h,
2822 src/vm/jit/arm/codegen.h,
2823 src/vm/jit/i386/codegen.h,
2824 src/vm/jit/m68k/codegen.h,
2825 src/vm/jit/mips/codegen.h,
2826 src/vm/jit/powerpc/codegen.h,
2827 src/vm/jit/powerpc64/codegen.h,
2828 src/vm/jit/s390/codegen.h,
2829 src/vm/jit/sparc64/codegen.h,
2830 src/vm/jit/x86_64/codegen.h (COMPILERSTUB_CODESIZE): Added.
2832 2007-04-12 11:56 twisti
2834 * src/vm/jit/arm/linux/md-os.c (mm/memory.h): Removed.
2835 [ENABLE_THREADS] (threads/native/threads.h): Added.
2837 2007-04-11 16:39 tbfg
2839 * src/vm/jit/powerpc64/arch.h (SUPPORT_LONG_SHIFT): Enabled.
2841 * src/vm/jit/powerpc64/codegen.c (ICMD_LSHLCONST): Implemented.
2842 (ICMD_LSHRCONST): Likewise.
2843 (ICMD_LUSHRCONST): Likewise.
2844 (ICMD_LSHL): Likewise.
2845 (ICMD_LSHR): Likewise.
2846 (ICMD_LUSHR): Likewise.
2847 (ICMD_IUSHR): Fixed.
2848 (ICMD_IUSHRCONST): Fixed.
2850 * src/vm/jit/powerpc64/codegen.h (M_SRL): Use 64bit opcode.
2852 (M_SRA_IMM): Likewise.
2853 (M_SRL_IMM): Likewise.
2854 (M_SSL_IMM): Likewise.
2856 (M_CLR_HIGH): Added.
2858 2007-04-11 08:21 twisti
2860 * src/toolbox/logging.c (log_finish): Also print a \n in the log-file.
2862 2007-04-11 08:11 twisti
2864 * src/vm/jit/codegen-common.c (codegen_generate): Added re-generating
2867 2007-04-10 21:37 twisti
2869 * src/vm/jit/mips/linux/md-os.c (md_signal_handler_sigsegv): We only
2870 need to check the cause for pre glibc-2.5.
2872 2007-04-10 21:24 twisti
2874 * src/vm/jit/mips/codegen.c (codegen_emit): Fixed ICMD_IF_Lxx
2875 instructions for 64-bit.
2877 2007-04-10 12:22 twisti
2879 * src/vm/jit/mips/linux/md-os.c (md_signal_handler_sigsegv): Set val
2884 * src/vm/jit/s390/emit.c,
2885 src/vm/jit/s390/md-abi.h,
2886 src/vm/jit/s390/codegen.c,
2887 src/vm/jit/s390/codegen.h,
2888 src/vm/jit/s390/arch.h,
2889 src/vm/jit/s390/asmpart.S,
2890 src/vm/jit/s390/tests/tests.java.pp: Changed very much.
2892 2007-04-09 21:17 twisti
2894 * src/vm/jit/alpha/emit.c (emit_copy): Check src-type, not dst-type.
2896 2007-04-09 17:23 twisti
2898 * src/vm/jit/alpha/asmpart.S: Use % instead of @ for progbits as ARM's
2899 assembler uses @ as comment character.
2900 * src/vm/jit/arm/asmpart.S: Likewise.
2901 * src/vm/jit/i386/asmpart.S: Likewise.
2902 * src/vm/jit/mips/asmpart.S: Likewise.
2903 * src/vm/jit/powerpc/asmpart.S: Likewise.
2904 * src/vm/jit/powerpc64/asmpart.S: Likewise.
2905 * src/vm/jit/s390/asmpart.S: Likewise.
2906 * src/vm/jit/sparc64/asmpart.S: Likewise.
2907 * src/vm/jit/x86_64/asmpart.S: Likewise.
2909 2007-04-09 11:51 twisti
2911 * src/vm/jit/mips/codegen.h (BRANCH_NOPS): Added long-branches case.
2913 * src/vm/jit/mips/emit.c (emit_load): Use switch-case instead of
2915 (emit_store): Likewise.
2916 (emit_copy): Likewise.
2917 (emit_branch): Implemented conditional long-branches.
2919 2007-04-08 21:14 twisti
2921 * src/native/vm/cldc1.1/java_lang_Object.c (notifyAll): Implemented.
2922 * src/native/vm/cldc1.1/java_lang_String.c (lastIndexOf__I): Likewise.
2924 2007-04-05 14:23 michi
2926 * src/vm/global.h (compiler_lock, compiler_unlock): Removed.
2927 * src/cacaoh/dummy.c (compiler_lock, compiler_unlock): Removed.
2928 * src/threads/native/threads.c (compiler_lock, compiler_unlock):
2931 * src/vmcore/linker.h (linker_classrenumber_lock): Added.
2932 * src/vmcore/linker.c (linker_classrenumber_lock): Added.
2933 (linker_compute_subclasses): Uses above lock object instead of
2936 * src/vm/jit/intrp/asmpart.c (intrp_asm_getclassvalues_atomic):
2939 2007-04-05 13:22 michi
2941 * src/vm/jit/codegen-common.c (codegen_get_pv_from_pc): Inserted
2943 compiler error with disabled threads.
2945 2007-04-05 12:06 twisti
2947 * src/vm/exceptions.c (exceptions_throw_nosuchmethoderror)
2948 [!ENABLE_JAVASE]: Throw an error.
2950 2007-04-05 11:57 twisti
2952 * src/threads/threads-common.c (threads_get_state): Renamed to
2953 threads_thread_get_state.
2954 (threads_thread_is_alive): New function.
2956 * src/threads/threads-common.h: Likewise.
2958 * src/native/vm/java_lang_Thread.c (isAlive): New function.
2959 (getState): Renamed threads_get_state to threads_thread_get_state.
2961 * src/native/vm/java_lang_Thread.h (isAlive): Added.
2963 * src/native/vm/cldc1.1/java_lang_Thread.c (isAlive): New function.
2965 2007-04-05 11:39 twisti
2967 * src/native/vm/java_lang_Thread.c [ENABLE_THREADS]
2968 (threads/native/threads.h): Removed.
2969 (threads/threads-common.h): Added.
2970 (vm/stringlocal.h): Likewise.
2972 (getState): Implemented.
2974 * src/threads/threads-common.c (vm/vm.h): Added.
2975 (threads_get_state): New function.
2976 (threads_dump): Print thread state.
2978 * src/threads/threads-common.h (THREAD_STATE_NEW)
2979 (THREAD_STATE_RUNNABLE, THREAD_STATE_BLOCKED, THREAD_STATE_WAITING)
2980 (THREAD_STATE_TIMED_WAITING, THREAD_STATE_TERMINATED): Defined.
2981 (threads_get_state): Added.
2983 * src/threads/native/threads.c (threads_init): Set thread-state.
2984 (threads_startup_thread): Likewise.
2985 (threads_attach_current_thread): Likewise.
2986 (threads_detach_thread): Likewise.
2987 (threads_wait_with_timeout): Likewise.
2989 * src/threads/native/threads.h (threadobject): Added state field.
2991 * src/native/native.c (dummynativetable) [ENABLE_JAVASE]: Added
2992 Java_java_lang_VMThread_getState.
2994 2007-04-05 00:14 twisti
2996 * src/threads/threads-common.c (threads_print_stacktrace): Removed
2997 !ENABLE_THREADS code, since this file is only compiled with
3000 2007-04-04 22:29 twisti
3002 * src/vm/jit/verify/typecheck-stackbased.c: Use block directly instead
3004 * src/vm/jit/verify/typecheck-stackbased-gen.inc: Newly generated.
3006 2007-04-04 22:14 twisti
3008 * src/vm/jit/parse.c (BYTECODEINDEX_TO_BASICBLOCK): Added.
3009 (parsedata_t): Removed instructionstart, added bytecodestart,
3010 basicblockstart, bytecodemap, instructionmap.
3011 (parse_setup): Allocate new arrays.
3012 (parse_bytecodeindex_to_basicblock): New function.
3013 (parse_mark_exception_boundaries): Pass parsedata_t.
3014 (parse_resolve_exception_table): Likewise.
3015 (parse): Completely rewritten so we are able to have basic block
3016 boundaries on IR instruction level. We now also resolve basic block
3017 pointers in this pass.
3019 * src/vm/jit/parse.h (MARK_BASICBLOCK): Pass parsedata_t.
3020 (BLOCK_OF): Removed.
3022 * src/vm/jit/jit.h (jitdata): Removed basicblockindex.
3024 * src/vm/jit/show.c (SHOW_TARGET): Print block instead of insindex.
3025 (show_icmd): Likewise.
3027 * src/vm/jit/stack.c (BRANCH_TARGET): Directly use block.
3028 (stack_analyse): Likewise.
3029 * src/vm/jit/verify/icmds.c: Likewise.
3030 * src/vm/jit/verify/typecheck-stackbased.c: Likewise.
3032 2007-04-04 14:16 twisti
3034 * src/native/vm/gnu/sun_misc_Unsafe.c: Header changes.
3036 * src/native/native.c [ENABLE_JAVASE]
3037 (native/include/sun_misc_Unsafe.h): Added.
3038 [ENABLE_JAVASE] (dummynativetable): Added
3039 Java_sun_misc_Unsafe_objectFieldOffset and
3040 Java_sun_misc_Unsafe_compareAndSwapInt.
3042 2007-04-03 22:29 twisti
3044 * src/vm/jit/alpha/asmpart.S: Replaced __GNU__ with __linux__ for
3046 * src/vm/jit/arm/asmpart.S: Likewise.
3047 * src/vm/jit/i386/asmpart.S: Likewise.
3048 * src/vm/jit/mips/asmpart.S: Likewise.
3049 * src/vm/jit/powerpc/asmpart.S: Likewise.
3050 * src/vm/jit/powerpc64/asmpart.S: Likewise.
3051 * src/vm/jit/s390/asmpart.S: Likewise.
3052 * src/vm/jit/sparc64/asmpart.S: Likewise.
3053 * src/vm/jit/x86_64/asmpart.S: Likewise.
3055 2007-04-03 21:30 twisti
3057 * src/vm/jit/i386/linux/md-os.c (threads/threads-common.h): Added.
3059 2007-04-03 18:02 twisti
3061 * src/vm/jit/mips/md-abi.h (REG_FA0, REG_FA1, REG_FA2): Defined.
3063 2007-04-03 16:06 twisti
3065 * src/threads/threads-common.c (threads_print_stacktrace): Pass
3066 stackframeinfo to stacktrace_create.
3068 * src/vm/jit/codegen-common.c (threads/native/threads.h): Removed.
3069 (threads/threads-common.h): Added.
3070 (codegen_get_pv_from_pc): Replaced stacktrace_dump_trace with
3071 threads_print_stacktrace.
3073 * src/vm/jit/stacktrace.h (stacktrace_print_trace_from_buffer): Added.
3075 2007-04-03 15:51 twisti
3077 * src/vm/jit/stacktrace.c (stacktrace_create): Changed signature.
3079 (stacktrace_fillInStackTrace): Pass stackframeinfo to
3081 (stacktrace_getClassContext): Likewise.
3082 (stacktrace_getCurrentClass): Likewise.
3083 (stacktrace_getStack): Likewise.
3084 (stacktrace_dump_trace): Removed.
3086 * src/vm/jit/stacktrace.h (threads/native/threads.h)
3087 (threads/none/threads.h): Removed.
3088 (stacktrace_create): Added.
3089 (stacktrace_dump_trace): Removed.
3091 * src/threads/native/threads.c (threads_dump): Removed.
3092 * src/threads/native/threads.h (threads_dump): Likewise.
3094 * src/threads/threads-common.c (vm/jit/stacktrace.h): Added.
3095 (threads_dump): Added.
3096 (threads_print_stacktrace): Likewise.
3098 * src/threads/threads-common.h (threads_dump): Added.
3099 (threads_print_stacktrace): Likewise.
3101 2007-04-03 15:29 twisti
3103 * src/vm/jit/replace.c (threads/threads-common.h): Added.
3105 * src/vm/jit/replace.h: Moved empty defines to the top of the file to
3106 see what's happening when !defined(ENABLE_REPLACEMENT).
3108 2007-04-03 15:22 twisti
3110 * src/vm/jit/x86_64/linux/md-os.c (md_signal_handler_sigfpe): Use
3111 exceptions_new_hardware_exception.
3112 * src/vm/exceptions.c (exceptions_fillinstacktrace)
3113 [ENABLE_JAVAME_CLDC1_1]: fillInStackTrace has another signature in
3116 2007-04-03 14:34 twisti
3118 * src/vm/jit/arm/emit.c (emit_exception_stubs): Removed.
3120 * src/vm/jit/arm/md.c (md_codegen_patch_branch): Likewise.
3121 (md_stacktrace_get_returnaddress): Removed debug code.
3123 2007-04-03 14:23 twisti
3125 * src/threads/native/threads.h (STACKFRAMEINFO): Return stackframeinfo
3126 instead of a pointer to it.
3127 * src/threads/none/threads.h (STACKFRAMEINFO): Likewise.
3129 * src/vm/jit/codegen-common.c (codegen_finish_native_call):
3130 STACKFRAMEINFO changes.
3132 * src/vm/jit/replace.c (replace_recover_source_state): Likewise.
3134 * src/vm/jit/stacktrace.c (stacktrace_create_stackframeinfo):
3136 (stacktrace_create_extern_stackframeinfo): Likewise.
3137 (stacktrace_create_native_stackframeinfo): Likewise.
3138 (stacktrace_remove_stackframeinfo): Likewise.
3140 2007-04-03 14:00 twisti
3142 * src/vm/jit/stacktrace.c (stacktrace_create_inline_stackframeinfo):
3144 (stacktrace_inline_arithmeticexception): Likewise.
3145 (stacktrace_inline_arrayindexoutofboundsexception): Likewise.
3146 (stacktrace_inline_arraystoreexception): Likewise.
3147 (stacktrace_inline_classcastexception): Likewise.
3148 (stacktrace_inline_nullpointerexception): Likewise.
3149 (stacktrace_inline_fillInStackTrace): Likewise.
3150 (stacktrace_hardware_arithmeticexception): Likewise.
3151 (stacktrace_hardware_nullpointerexception): Likewise.
3153 * src/vm/jit/stacktrace.h: Likewise.
3155 2007-04-03 13:48 twisti
3157 * configure.ac: Added armv4 architecture.
3159 2007-04-03 13:47 twisti
3161 * src/vm/jit/arm/linux/md-os.c (md_signal_handler_sigsegv): Use
3162 exceptions_new_hardware_exception.
3163 [ENABLE_THREADS] (md_signal_handler_sigusr2): New function.
3165 2007-04-03 13:14 twisti
3167 * src/vm/jit/i386/linux/md-os.c (md_signal_handler_sigfpe): Use
3168 exceptions_new_hardware_exception.
3170 2007-04-03 12:10 twisti
3172 * src/vm/jit/jit.h: Includes alpha-sorted.
3174 2007-04-03 11:56 twisti
3176 * src/vm/jit/replace.c (native/include/java_lang_String.h): Removed.
3177 (java_value_print): Don't cast to java_lang_String.
3179 2007-04-03 11:46 twisti
3181 * src/vm/jit/allocator/simplereg.c (simplereg_make_statistics): Fixed
3184 2007-04-03 11:37 twisti
3186 * src/vm/jit/x86_64/emit.c (emit_replacement_stubs): Removed unused
3189 2007-04-03 11:35 twisti
3191 * src/vmcore/statistics.c (statistics_print_memory_usage): Prevent
3192 compiler warning on 64-bit machines.
3194 2007-04-02 23:13 michi
3196 * src/vm/jit/replace.c: Added include to fix crash on x86_64.
3198 2007-04-02 21:24 twisti
3200 * src/vm/jit/alpha/linux/md-os.c [ENABLE_THREADS]
3201 (threads/native/threads.h): Added.
3202 [ENABLE_THREADS] (md_signal_handler_sigusr2): Added #ifdef.
3204 2007-04-02 20:58 twisti
3206 * src/vm/jit/alpha/md-abi.c (abi_registers_integer_argument): Added.
3207 (abi_registers_integer_saved): Likewise.
3208 (abi_registers_integer_temporary): Likewise.
3210 2007-04-02 20:04 michi
3212 * src/vm/jit/stacktrace.c (stacktrace_create): Returns NULL if there
3214 stacktrace available for the given thread. Fixed comments.
3216 2007-04-02 19:56 twisti
3218 * src/vm/jit/x86_64/md-abi.c (abi_registers_integer_argument): Added.
3219 (abi_registers_integer_saved): Likewise.
3220 (abi_registers_integer_temporary): Likewise.
3222 2007-04-02 19:45 twisti
3224 * src/vm/jit/parse.c (parse): JAVA_GOTO_W must be converted to a
3227 2007-04-02 18:56 twisti
3229 * src/vm/jit/jit.h (INS_FLAG_BASICBLOCK): Defined.
3230 (INS_FLAG_ID_SHIFT): Changed to 5.
3231 (INSTRUCTION_STARTS_BASICBLOCK): Added.
3233 * src/vm/jit/parse.c (parse): Changed basic block determination. Now
3234 basic blocks can start at IR instruction level. This is required for
3235 slow-fast path builtins.
3237 2007-04-02 16:09 twisti
3239 * src/vm/jit/stack.c (stack_reach_next_block): Reformatted comments.
3240 (stack_analyse): Likewise.
3242 2007-04-02 13:45 twisti
3244 * src/vm/jit/stack.c (stack_mark_reached): Added assert on b.
3245 (stack_mark_reached_from_outvars): Likewise.
3246 (stack_reach_next_block): Use NULL instead of !.
3247 (stack_analyse): Indent.
3249 2007-04-01 22:53 ajordan
3251 * src/vm/jit/sparc64/codegen.c: Implemented float argument passing
3253 * src/vm/jit/sparc64/codegen.h: Likewise.
3255 2007-04-01 16:18 stefan
3257 * src/vm/jit/powerpc/darwin/md-asm.h,
3258 src/vm/jit/i386/darwin/md-asm.h: added missing symbol
3259 asm_vm_call_method_end.
3261 2007-04-01 10:50 edwin
3263 * contrib/vmlog: Committed vmlog 0.0.5.
3264 * THIRDPARTY: Added copyright notice for vmlog.
3266 2007-03-30 11:41 twisti
3268 * src/vm/jit/parse.c (parse_realloc_instructions): Renamed ipc to
3270 (parse): Renamed ipc to icount, set method variables at the very end
3271 and use local variables before.
3273 * src/vm/jit/parse.h (INSTRUCTIONS_CHECK): Renamed ipc to icount.
3275 (OP_PREPARE_FLAGS): Likewise.
3277 2007-03-29 23:22 twisti
3279 * src/vm/jit/powerpc/linux/md-os.c (md_signal_handler_sigsegv): Fixed
3280 address check (thanks Michi).
3282 2007-03-29 23:01 ajordan
3284 * src/vm/jit/sparc64/codegen.c (codegen_emit): Fixed ICMD_IREMPOW2.
3285 Added ICMD_L2F and ICMD_L2D.
3286 Fixed constant creation in IF_L* compares.
3288 2007-03-29 21:56 michi
3290 * src/mm/nogc.c: Fixed merging conflict which was commited to that
3293 2007-03-29 21:37 ajordan
3295 * src/vm/jit/sparc64/md.c (md_get_pv_from_pc): Implemented sethi
3298 * src/vm/jit/sparc64/codegen.c (createnativestub): Fixed window/stack
3299 handling in case of exception.
3300 * src/vm/jit/sparc64/asmpart.S (asm_call_jit_compiler): Likewise.
3302 2007-03-29 11:04 twisti
3304 * src/vm/jit/powerpc/linux/md-os.c (md_signal_handler_sigsegv): Check
3305 for addr == NULL in NPE case.
3309 * src/vm/jit/s390/md-abi.h,
3310 src/vm/jit/s390/emit.c,
3311 src/vm/jit/s390/emit.h,
3312 src/vm/jit/s390/codegen.c,
3313 src/vm/jit/s390/codegen.h,
3314 src/vm/jit/s390/arch.h: Changed a lot.
3316 2007-03-28 22:59 twisti
3318 * src/vm/exceptions.h (exceptionptr): Removed.
3319 (_no_threads_exceptionptr): Likewise.
3321 2007-03-28 22:32 twisti
3325 2007-03-28 22:25 michi
3327 * AUTHORS: Added myself to the list of authors (finally).
3329 2007-03-28 21:05 twisti
3331 * Merged in twisti-branch.
3333 2007-03-28 20:50 twisti
3335 Initialized merge tracking via "svnmerge" with revisions "1-6085"
3337 file:///ahome/cacao/svn/cacao/branches/twisti
3339 2007-03-28 20:28 twisti
3341 Initialized merge tracking via "svnmerge" with revisions "1-6086"
3343 svn+ssh://c1.complang.tuwien.ac.at/ahome/cacao/svn/cacao/branches/twisti
3345 2007-03-28 20:22 twisti
3347 Initialized merge tracking via "svnmerge" with revisions "1-7592"
3349 svn+ssh://c1.complang.tuwien.ac.at/ahome/cacao/svn/cacao/branches/twisti
3351 2007-03-28 13:29 twisti
3353 * src/vm/exceptions.c (throw_exception_exit_intern): Removed.
3354 (throw_exception): Likewise.
3355 (throw_exception_exit): Likewise.
3356 (throw_main_exception): Likewise.
3357 (throw_main_exception_exit): Likewise.
3358 (throw_cacao_exception_exit): Likewise.
3359 (exceptions_print_stacktrace): New function.
3360 * src/vm/exceptions.h: Likewise.
3362 * src/vm/vm.c (vm_create): Use vm_abort or exceptions_print_stacktrace
3363 instead of throw_main_exception_exit.
3365 (vm_exit): Likewise.
3366 (vm_get_mainclass_from_jar): Likewise.
3368 * src/threads/native/threads.c (threads_init): Use return instead of
3369 throw_exception_exit.
3370 (threads_startup_thread): Use vm_abort.
3374 * src/vm/jit/s390/emit.c,
3375 src/vm/jit/s390/md-abi.h,
3376 src/vm/jit/s390/md.c,
3377 src/vm/jit/s390/emit.h,
3378 src/vm/jit/s390/codegen.c,
3379 src/vm/jit/s390/codegen.h,
3380 src/vm/jit/s390/tests/tests.java.pp,
3381 src/vm/jit/s390/patcher.c,
3382 src/vm/jit/s390/md-abi.c: Chaned a lot.
3384 2007-03-25 20:30 twisti
3386 Reverted patch 7268.
3388 * src/vm/jit/code.c: Reverted.
3389 * src/vm/jit/code.h: Likewise.
3390 * src/vm/jit/jit.c: Likewise.
3391 * src/vm/jit/jit.h: Likewise.
3392 * src/vmcore/loader.c: Likewise.
3393 * src/vmcore/method.h: Likewise.
3395 2007-03-25 18:55 twisti
3397 * src/native/native.c (native_get_parametertypes): Removed.
3398 (native_get_exceptiontypes): Likewise.
3399 * src/native/native.h: Likewise.
3401 * src/vmcore/method.c (vm/builtin.h): Added.
3402 (vm/resolve.h): Likewise.
3403 (method_get_parametertypearray): New function.
3404 (method_get_exceptionarray): Likewise.
3405 * src/vmcore/method.h (method_get_parametertypearray): Added.
3406 (method_get_exceptionarray): Likewise.
3408 * src/cacaoh/dummy.c (builtin_anewarray): Added.
3409 (resolve_class_from_typedesc): Likewise.
3411 * src/native/vm/gnu/java_lang_reflect_Method.c (getParameterTypes):
3412 Use method function.
3413 (getExceptionTypes): Likewise.
3414 * src/native/vm/gnu/java_lang_reflect_Constructor.c
3415 (getParameterTypes): Likewise.
3416 (getExceptionTypes): Likewise.
3418 2007-03-23 21:33 twisti
3420 * src/vm/builtin.c (builtin_isanysubclass): Removed.
3421 (builtin_instanceof): Replaced builtin_isanysubclass with
3422 class_isanysubclass.
3423 (builtin_descriptorscompatible): Likewise.
3425 * src/vm/builtin.h (builtin_isanysubclass): Removed.
3427 * src/vm/access.c (access_is_accessible_member): Replaced
3428 builtin_isanysubclass with class_isanysubclass.
3429 * src/native/vm/java_lang_Class.c (isAssignableFrom): Likewise.
3431 * src/vm/jit/asmpart.h (castinfo): Removed.
3433 * src/vmcore/class.c (vm/jit/asmpart.h): Added.
3434 (class_isanysubclass): New function.
3436 * src/vmcore/class.h (castinfo): Added.
3437 (class_isanysubclass): Likewise.
3439 * src/cacaoh/dummy.c (asm_getclassvalues_atomic): New function.
3440 (intrp_asm_getclassvalues_atomic): Likewise.
3442 2007-03-23 20:38 twisti
3444 * src/vm/builtin.c (builtin_isanysubclass_vftbl): Removed.
3445 (builtin_descriptorscompatible): Use builtin_isanysubclass instead of
3446 builtin_isanysubclass_vftbl.
3448 2007-03-23 19:10 twisti
3450 * src/vm/global.h (ACC_CLASS_PRIMITIVE): Defined.
3452 * src/vm/builtin.c (builtin_isanysubclass): Check for primitive
3455 * src/vmcore/linker.c (link_primitivetype_table): Set primitive flag.
3457 2007-03-23 18:51 twisti
3459 * src/vmcore/classcache.c (classcache_add_constraint)
3460 [CLASSCACHE_VERBOSE]: Started to use log-functions.
3461 (classcache_debug_dump): Likewise.
3463 2007-03-23 11:56 twisti
3465 * src/vm/jit/powerpc/emit.c (emit_load): Use switch-case instead of
3467 (emit_store): Likewise.
3468 (emit_copy): Likewise.
3470 2007-03-22 13:55 michi
3472 * src/vm/jit/arm/codegen.c (codegen) [!ENABLE_SOFTFLOAT]: Fixed
3474 soft null pointer checks in PUTFIELD and GETFIELD.
3476 2007-03-21 14:26 twisti
3478 * src/vmcore/statistics.c (size_lock_record_pool): Added.
3479 (statistics_print_memory_usage): Print new variable.
3481 * src/vmcore/statistics.h (size_lock_record_pool): Added.
3483 * src/threads/native/lock.c (lock_record_alloc_new_pool): Added
3486 2007-03-21 13:27 twisti
3488 * src/vmcore/statistics.c (size_threadobject, size_lock_hashtable)
3489 (size_lock_waiter): Added.
3490 (statistics_print_memory_usage): Print new variables.
3492 * src/vmcore/statistics.h (size_threadobject, size_lock_hashtable)
3493 (size_lock_waiter): Added.
3495 * src/threads/native/lock.c (vmcore/options.h): Added.
3496 [ENABLE_STATISTICS] (vmcore/statistics.h): Added.
3497 (lock_hashtable_init): Added statistics.
3498 (lock_hashtable_grow): Likewise.
3499 (lock_record_add_waiter): Likewise.
3500 (lock_record_remove_waiter): Likewise.
3502 * src/threads/native/threads.c [ENABLE_STATISTICS]
3503 (vmcore/statistics.h): Added.
3504 (threads_preinit): Added statistics.
3505 (threads_init): Likewise.
3506 (threads_start_javathread): Likewise.
3507 (threads_attach_current_thread): Likewise.
3508 (threads_detach_thread): Likewise.
3510 2007-03-21 13:19 twisti
3512 * src/vmcore/zip.c (zip_get): Don't assign in if-statement, this makes
3513 debugging a bit easier.
3515 2007-03-21 13:18 twisti
3517 * src/vmcore/linker.c (link_primitivetype_table): Set super class
3519 (linker_compute_subclasses): Indent.
3521 2007-03-20 00:25 ajordan
3523 * src/vm/jit/sparc64/md-abi.c (md_param_alloc_native): using this for
3524 native param allocation. No need for my own version of this anymore.
3525 * src/vm/jit/sparc64/codegen.c: Likewise.
3527 2007-03-17 13:12 twisti
3529 * src/vm/builtin.h (builtin_isanysubclass_vftbl): Removed, made
3532 2007-03-17 13:11 twisti
3534 * src/vm/builtin.c (builtin_isanysubclass): Code cleanup.
3535 (builtin_isanysubclass_vftbl): Likewise.
3537 2007-03-17 13:10 twisti
3539 * src/native/vm/gnu/java_lang_reflect_Method.c (vm/resolve.h): Added.
3541 2007-03-17 12:57 twisti
3543 * src/vm/builtin.c (builtin_isanysubclass): Cleanup and comments.
3547 * src/vm/exceptions.c (exceptions_handle_exception): 31 bit address
3548 comparison for S390. These address comparison macros need to be moved
3550 * src/vm/jit/s390/emit.c,
3551 src/vm/jit/s390/md.c,
3552 src/vm/jit/s390/codegen.c,
3553 src/vm/jit/s390/codegen.h,
3554 src/vm/jit/s390/arch.h,
3555 src/vm/jit/s390/patcher.c,
3556 src/vm/jit/s390/md-abi.c,
3557 src/vm/jit/s390/tests/tests.java.pp,
3558 src/vm/jit/s390/tests/Makefile: Changed a lot.
3560 2007-03-15 09:28 twisti
3562 * src/native/jni.c (_Jv_jni_invokeNative): Release memory in exception
3567 * src/vm/jit/s390/tests/tests.java.pp: added INT2CHAR test testing
3572 * src/vm/jit/s390/codegen.c,
3573 src/vm/jit/s390/codegen.h: Changed a lot.
3574 * src/vm/jit/s390/tests,
3575 src/vm/jit/s390/tests/tests.java.pp,
3576 src/vm/jit/s390/tests/Makefile: Added opcode tests in java.
3578 2007-03-14 21:54 twisti
3580 * src/vmcore/statistics.c (size_string): Added.
3581 (statistics_print_memory_usage): Likewise.
3582 * src/vmcore/statistics.h (size_string): Likewise.
3584 * src/vm/string.c (vmcore/statistics.h): Added.
3585 (literalstring_u2): Added statistics.
3587 2007-03-14 21:18 twisti
3589 * src/vm/jit/alpha/emit.c (emit_load): Use switch-case instead of
3591 (emit_store): Likewise.
3592 (emit_copy): Likewise.
3594 2007-03-14 21:16 twisti
3596 * src/vm/jit/alpha/md.c (vm/jit/codegen-common.h): Added temporarily.
3598 2007-03-14 17:31 michi
3600 * src/vm/jit/arm/codegen.c (codegen): All the long compares have a
3604 2007-03-14 16:44 michi
3606 * src/vm/jit/arm/emit.c (emit_verbosecall_enter): Fixed bug with
3608 arguments, which caused some crashes with verbose-calls.
3610 2007-03-14 12:00 michi
3612 * src/mm/nogc.c: Fixed includes and exceptions.
3614 2007-03-13 20:31 twisti
3616 * src/vm/jit/i386/emit.c (emit_load): Use switch-case instead of
3618 (emit_store): Likewise.
3619 (emit_copy): Likewise.
3620 * src/vm/jit/i386/codegen.c (codegen): Fixed compiler warning.
3622 2007-03-13 16:32 michi
3624 * src/vm/jit/arm/codegen.c (codegen): Long branches are implemented
3627 * src/vm/jit/arm/codegen.h (M_COMPARE): Easier macros without
3629 (M_MOVEQ_IMM, M_MOVGT_IMM, M_ADDHI_IMM, M_SUBLO_IMM, M_CMPEQ_IMM):
3632 2007-03-13 13:19 michi
3634 * src/vm/jit/arm/linux/Makefile.am: Fixed include path to care about
3637 2007-03-12 13:34 twisti
3639 * src/vm/jit/codegen.c (codegen): Change the operand direction of some
3640 macros. Started to implement long-compares differently.
3642 * src/vm/jit/codegen.h (M_AND, M_ORR, M_EOR, M_AND_IMM, M_MOVEQ)
3643 (M_MOVVS_IMM, M_MOVNE_IMM, M_MOVLT_IMM, M_MOVLS_IMM): Changed operand
3645 (M_ORR_S, M_CMPEQ, M_CMPLE): New macro.
3647 2007-03-12 13:17 twisti
3649 * src/vm/jit/arm/md.c (vm/jit/codegen-common.h): Added.
3651 2007-03-12 10:11 twisti
3653 * src/native/vm/cldc1.1/com_sun_cldc_io_ResourceInputStream.c
3655 (open): Call vm_abort.
3657 * src/native/vm/cldc1.1/com_sun_cldc_io_j2me_socket_Protocol.c
3659 (readByte): New function.
3660 (writeBuf): Likewise.
3661 (available0): Likewise.
3664 2007-03-09 21:26 twisti
3666 * tests/regression/resolving (svn:ignore): Added.
3667 * tests/regression/resolving/classes1: Likewise.
3668 * tests/regression/resolving/classes2: Likewise.
3669 * tests/regression/resolving/classes3: Likewise.
3671 2007-03-08 02:59 michi
3673 * src/threads/native/threads.c (threads_init) [!ENABLE_GC_CACAO]:
3675 lost java.lang.Thread object of mainthread with BoehmGC.
3677 * src/native/vm/java_lang_Thread.c: Fixed includes to prevend
3680 2007-03-07 14:05 twisti
3682 * src/vm/jit/mips/md.c (vm/jit/codegen-common.h): Temporarily added.
3684 2007-03-07 13:12 twisti
3686 * src/vm/jit/x86_64/emit.c (emit_call_reg): Call emit_rex with size 0.
3688 2007-03-07 12:37 twisti
3690 * src/vm/jit/x86_64/asmpart.S (asm_compare_and_swap): New function.
3691 (asm_memory_barrier): Likewise.
3693 2007-03-07 11:47 michi
3695 * src/threads/native/threads.h (threadobject): This structure is no
3697 instance of java.lang.Thread, but contains a reference to it.
3699 * src/threads/native/threads.c (threads_start_javathread): Added.
3701 * src/threads/threads-common.c: Adapted to above changes.
3702 * src/threads/native/threads.c: See above.
3703 * src/native/vm/java_lang_Thread.c: See above.
3705 2007-03-07 00:32 ajordan
3707 * src/vm/jit/sparc64/md-abi.h: increased number of JIT float argument
3709 * src/vm/jit/sparc64/md-asm.h: likewise.
3710 * src/vm/jit/sparc64/md-abi.c: likewise.
3712 * src/vm/jit/sparc64/asmpart.S: added floating point argument
3713 handling in asm_vm_call.
3715 2007-03-06 18:55 ajordan
3717 * src/vm/jit/sparc64/emit.c: emit_{load,store,copy} changed to
3718 switch/case for handling different types.
3720 * src/vm/jit/sparc64/codegen.h: fixed f2d and d2f conversion.
3722 * src/vm/jit/sparc64/md-abi.c: removed md_native_reg_setup(), not
3725 * src/vm/jit/sparc64/codegen.c: implemented ICMD_MULTIANEWARRAY.
3726 fixed FRETURN, DRETURN.
3727 repaired native float arg passing.
3729 2007-03-06 17:01 twisti
3731 * src/vm/signal.c (arch.h): Added.
3732 * src/vm/vm.c (vm_create): Reenabled signal-thread. This only works on
3733 NPTL-threads and NOT with linuxthreads!
3735 * src/vm/signal.c (signal_init): Reenabled blocking for SIGINT and
3738 2007-03-06 11:12 twisti
3740 * src/vmcore/statistics.c (vm/jit/code.h): Added for codeinfo.
3741 (vmcore/class.h): Added.
3742 (vmcore/field.h): Likewise.
3743 (vmcore/method.h): Likewise.
3745 * src/vm/jit/optimizing/recompile.c (vm/jit/code.h): Likewise.
3746 (vm/jit/jit.h): Likewise.
3748 * src/vm/jit/x86_64/md.c (vm/jit/codegen-common.h): Likewise.
3749 * src/vm/jit/x86_64/md-abi.c (vm/jit/jit.h): Likewise.
3751 2007-03-06 00:27 edwin
3753 * src/vm/jit_interface.h: Added Id keyword.
3755 2007-03-06 00:26 edwin
3757 * src/vmcore/resolve.c: Moved back to src/vm/resolve.c.
3758 * src/vmcore/resolve.h: Moved back to src/vm/resolve.h.
3759 * src/vm/jit/code.h (codeinfo): Moved typedef to method.h.
3760 (code_get_methodinfo_for_pv): Added prototype.
3761 * src/vmcore/method.h (codeinfo): Moved typedef here.
3763 * src/vm/jit_interface.h: New file.
3765 * src/vm/Makefile.am: Added resolve.[ch] and jit_interface.h.
3766 * src/vmcore/Makefile.am: Removed resolve.[ch].
3768 * src/vmcore/class.c: Include "arch.h", but don't include "resolve.h".
3770 * src/vmcore/method.c (method_vftbl_lookup):
3771 Use code_get_methodinfo_for_pv.
3773 * src/vmcore/linker.c (resolve_classref_or_classinfo_eager): Added
3774 copy of prototype to avoid bootstrapping issues.
3776 * src/cacaoh/dummy.c (code_get_methodinfo_for_pv): New dummy.
3777 (resolve_classref_or_classinfo_eager): Simple implementation that does
3778 not use resolve.c code.
3779 (typeinfo_init_class): Removed dummy.
3780 (typeinfo_init_classinfo): Likewise.
3781 (typeinfo_is_assignable_to_class): Likewise.
3782 (typeinfo_print): Likewise.
3784 * many other files: Changed #include "vmcore/resolve.h" to
3787 2007-03-06 00:02 edwin
3789 * src/vmcore/linker.c (link_class_intern):
3790 Use resolve_classref_or_classinfo_eager.
3792 2007-03-05 23:56 edwin
3794 * src/cacaoh/headers.c: Don't include asmpart.h.
3796 2007-03-05 23:50 edwin
3798 * src/native/native.c (native_get_exceptiontypes):
3799 Use resolve_classref_or_classinfo_eager.
3801 2007-03-05 17:44 edwin
3803 * src/native/vm/java_lang_Class.c (_Jv_java_lang_Class_getSuperclass),
3804 (_Jv_java_lang_Class_getDeclaringClass)
3805 (_Jv_java_lang_Class_getDeclaredClasses):
3806 Use resolve_classref_or_classinfo_eager.
3808 2007-03-05 17:34 edwin
3810 * src/vm/builtin.h (builtintable_replace_function): Don't use
3811 instruction * to avoid bootstrapping problems.
3812 * src/vm/builtin.c (builtintable_replace_function): Likewise.
3814 2007-03-05 17:32 edwin
3816 * src/vm/jit/code.c (code_get_methodinfo_from_pv): New function.
3818 2007-03-05 16:53 edwin
3820 * src/vmcore/resolve.h, src/vmcore/resolve.c
3821 (resolve_classref_or_classinfo_eager): New function.
3825 * src/vm/jit/s390/md-abi.h,
3826 src/vm/jit/s390/emit.c,
3827 src/vm/jit/s390/emit.h,
3828 src/vm/jit/s390/codegen.c,
3829 src/vm/jit/s390/codegen.h,
3830 src/vm/jit/s390/patcher.c: Changed a lot.
3832 2007-03-04 20:10 edwin
3834 * src/vm/jit/replace.c: Handle countdown traps. Request optimization
3835 of hot methods and their callers.
3837 * src/vm/jit/jit.c (jit_compile): Set JITDATA_FLAG_COUNTDOWN for
3839 (jit_recompile): Set JITDATA_FLAG_INLINE for inlining.
3841 2007-03-04 19:13 edwin
3843 * src/vmcore/options.h, src/vmcore/options.c, src/vmcore/method.c,
3844 src/vmcore/linker.c: Replayed lost parts of commit 7228.
3846 * src/vm/jit/intrp/intrp.h: Added missing #include to make it compile.
3848 * src/vm/jit/inline/inline.c: Fixed names of vmcore/ #include files.
3850 2007-03-04 18:07 twisti
3852 * src/vm/jit/x86_64/emit.c (emit_load): Use switch-case instead of
3854 (emit_store): Likewise.
3855 (emit_copy): Likewise.
3857 2007-03-04 14:46 edwin
3859 * src/vm/jit/i386/codegen.c (codegen): Emit code for countdown traps.
3861 * src/vm/jit/i386/emit.c (emit_replacement_stubs): Add jump reference
3862 for countdown traps.
3864 2007-03-04 14:22 edwin
3866 * src/vmcore/method.h (methodinfo): Added hitcountdown field. (Only
3867 if ENABLE_REPLACEMENT).
3869 * src/vmcore/loader.c (loader_load_method): Initialize hitcountdown
3872 2007-03-04 14:02 edwin
3874 * src/vm/jit/inline/inline.c: Committed breadth-first inlining code.
3876 2007-03-04 12:32 edwin
3878 * tests/regression/resolving/test_return_subtype_ok.java: New test.
3880 * tests/regression/resolving/Makefile.am: Added new test.
3882 2007-03-04 12:28 edwin
3884 * tests/regression/resolving/test_return_subtype_violated.java:
3887 * tests/regression/resolving/Makefile.am: Added new test.
3891 * src/vm/jit/s390/emit.c,
3892 src/vm/jit/s390/codegen.c,
3893 src/vm/jit/s390/codegen.h,
3894 src/vm/jit/s390/md-asm.h,
3895 src/vm/jit/s390/patcher.c,
3896 src/vm/jit/s390/asmpart.S: Changed a lot in S390 codegen.
3898 2007-03-02 19:45 edwin
3900 * src/vmcore/classcache.c: Print debug messages to stdout.
3902 2007-03-02 19:44 edwin
3904 * configure.ac: Added Makefiles of resolving test suite.
3906 2007-03-02 19:42 edwin
3908 * tests/regression/resolving: Added resolving test suite. These tests
3909 check lazy loading, classloader handling, loading & subtype
3912 2007-03-01 13:49 edwin
3914 * src/vmcore/resolve.h, src/vmcore/resolve.c
3915 (resolve_class_eager_no_access_check): New function.
3917 * src/vm/jit/powerpc/patcher.c: Use
3918 resolve_class_eager_no_access_check.
3919 * src/vm/jit/arm/patcher.c: Likewise.
3920 * src/vm/jit/sparc64/patcher.c: Likewise.
3921 * src/vm/jit/alpha/patcher.c: Likewise.
3922 * src/vm/jit/s390/patcher.c: Likewise.
3923 * src/vm/jit/mips/patcher.c: Likewise.
3924 * src/vm/jit/powerpc64/patcher.c: Likewise.
3925 * src/vm/jit/i386/patcher.c: Likewise.
3926 * src/vm/jit/x86_64/patcher.c: Likewise.
3928 2007-03-01 12:39 twisti
3930 * src/native/vm/Makefile.am [ENABLE_JAVASE] (CLASSLOADER_SOURCES):
3932 (libnativevm_la_SOURCES): Use CLASSLOADER_SOURCES.
3934 * src/native/vm/java_lang_ClassLoader.c (native/jni.h): Added.
3936 2007-03-01 12:32 edwin
3938 * src/vmcore/resolve.c (resolve_classref_or_classinfo): Always use
3939 refmethod->class as the referring class, if it is available.
3941 2007-02-28 23:57 twisti
3943 * src/vmcore/classcache.c (toolbox/logging.h): Added.
3944 (classcache_merge_class_entries): Replace log_text with log_println.
3945 (classcache_store): Likewise.
3946 (classcache_store_defined): Likewise.
3948 2007-02-28 23:39 twisti
3950 * src/cacaoh/dummy.c (typeinfo_print): Added.
3952 2007-02-28 23:27 edwin
3954 * src/vm/jit/verify/typecheck.c (handle_basic_block): Move the
3956 of the block to a point where jd->var is already valid.
3958 2007-02-28 23:20 edwin
3960 * src/vm/jit/stack.c (stack_analyse): Minor STACK_VERBOSE
3963 2007-02-28 22:50 edwin
3966 tests/regression/jasmin/test_verify_ok_local_as_retaddr_and_reference.j:
3968 * tests/regression/jasmin/Makefile.am: Added new test.
3970 2007-02-28 22:31 twisti
3972 * src/vm/vm.c (vm_create): Changed initialization order. Call
3973 properties_postinit later, since it puts a pointer to
3974 _Jv_bootclasspath into the properties list.
3976 2007-02-28 22:30 edwin
3978 * src/vm/jit/stack.c (stack_analyse): Fix: reset TYPE_VOID to
3979 TYPE_ADR at the end of stack_analyse.
3981 2007-02-28 22:00 twisti
3983 * src/vm/access.h (access_check_caller): Renamed to
3984 access_check_member.
3986 2007-02-28 20:07 twisti
3988 * src/vm/access.c (access_check_caller): Renamed to
3989 access_check_member. Don't call access_is_accessible_class, this is
3992 * src/native/vm/gnu/java_lang_reflect_Constructor.c (constructNative):
3993 Use access_check_member.
3995 * src/native/vm/gnu/java_lang_reflect_Field.c (CHECKFIELDACCESS):
3997 (cacao_get_field_address): Use access_check_member.
3999 * src/native/vm/gnu/java_lang_reflect_Method.c (invokeNative):
4002 2007-02-28 13:25 twisti
4004 * src/native/vm/java_lang_ClassLoader.c (vm/stringlocal.h): Added.
4006 2007-02-28 13:23 twisti
4008 * src/native/vm/java_lang_ClassLoader.c (defineClass): Added
4009 loader-variable for convenience.
4013 * src/vm/jit/s390/codegen.c (codegen): Added ICMD_AASTORE.
4014 * src/vm/jit/s390/asmpart.S (asm_patcher_wrapper): Added exception
4016 * src/vm/jit/s390/asmpart.S (asm_call_jit_compiler): Likewise.
4018 2007-02-27 21:13 twisti
4020 * src/vm/jit/sparc64/solaris: Set ignore-properties.
4022 2007-02-27 02:07 ajordan
4024 * configure.ac: added solaris specific stuff: arch defines, libintl
4025 dependency and solaris subdir makefile.
4027 * src/vm/jit/stacktrace.h: declared SPARC specific functions.
4029 * src/vm/jit/sparc64/emit.c: fixed call to builtin_verbosecall_exit.
4031 * src/vm/jit/sparc64/solaris/md-os.c: signal handling disabled, can't
4034 2007-02-26 22:11 twisti
4036 * src/native/vm/java_lang_ClassLoader.c: New file.
4037 * src/native/vm/java_lang_ClassLoader.h: Likewise.
4039 * src/native/vm/gnu/java_lang_VMClassLoader.c
4040 (native/vm/java_lang_ClassLoader.h): Added.
4041 (defineClass): Removed code and call
4042 _Jv_java_lang_ClassLoader_defineClass.
4044 * src/native/vm/Makefile.am (libnativevm_la_SOURCES): Added
4045 java_lang_ClassLoader.[ch].
4047 * src/native/jni.c [ENABLE_JAVASE]
4048 (native/vm/java_lang_ClassLoader.h): Added.
4049 (_Jv_JNI_DefineClass): Removed env and NULL arguments.
4053 * src/vm/jit/s390/codegen.c (codegen): Fixed ICMD_IF_ACMPNE
4054 * src/vm/jit/s390/asmpart.S (asm_call_jit_compiler): Handling NULL
4055 return value of jit_asm_compile.
4059 * src/vm/jit/s390/asmpart.S (asm_getclassvalues_atomic,
4060 asm_criticalsections): Added.
4064 * src/vm/jit/codegen-common.c (methodtree_comparator): Fixed S390
4066 * src/vm/jit/s390/codegen.h: Fixed M_JSR macro, did not store RA.
4067 * src/vm/jit/s390/md-asm.h: Added (LOAD|STORE)_TEMPORARY_REGISTERS
4068 and (LOAD|STORE)_ARGUMENT_REGISTERS macros.
4069 * src/vm/jit/s390/asmpart.S: Implemented asm_handle_exception and
4070 asm_vm_call_method_exception_handler.
4071 * src/vm/jit/s390/md-abi.c (abi_registers_integer_temporary): did not
4074 2007-02-24 14:47 twisti
4076 * src/vmcore/zip.c (errno.h): Added.
4077 (vm/vm.h): Likewise.
4078 (zip_get): Replaced asserts with vm_abort.
4080 2007-02-23 22:57 michi
4082 * src/vm/jit/replace.c: Renamed regs to abi_registers_integer_name.
4084 2007-02-21 23:26 twisti
4086 * src/vm/global.h (ACC_CLASS_SOFT_REFERENCE, ACC_CLASS_WEAK_REFERENCE)
4087 (ACC_CLASS_PHANTOM_REFERENCE): Added.
4089 * src/vmcore/class.c (class_create_classinfo) [ENABLE_JAVASE]: Check
4090 if the class is a reference class and flag it.
4092 * src/vmcore/loader.c (load_class_from_classbuffer): OR the flags
4095 * src/vmcore/utf8.c (utf_java_lang_ref_SoftReference)
4096 (utf_java_lang_ref_WeakReference, utf_java_lang_ref_PhantomReference):
4098 (utf8_init): Initialize added variables.
4099 * src/vmcore/utf8.h: Likewise.
4101 2007-02-21 23:23 twisti
4103 * src/vm/exceptions.c (exceptions_throw_noclassdeffounderror): Abort
4104 when VM is initializing.
4108 * src/vm/jit/s390/codegen.c (codegen): allocate register save area
4109 required by C abi for builtin calls
4110 * src/vm/jit/s390/codegen.c (createnativestub): fix errornous code
4111 generated for return, fix datasp argument to
4112 codegen_finish_native_call
4114 2007-02-21 22:17 twisti
4116 * m4/jni.m4: Added ENABLE_JNI AM_CONDITIONAL.
4118 * src/vm/vm.c (vm_createjvm): Replaced some ENABLE_JAVASE with
4120 (vm_create): Likewise.
4122 * src/native/Makefile.am: Likewise.
4124 * src/native/jni.c (jni_init) [ENABLE_JAVASE]: ifdef'ed Java SE stuff.
4125 (_Jv_JNI_DefineClass) [!ENABLE_JAVASE]: Abort.
4126 (_Jv_JNI_FindClass): Likewise.
4127 (_Jv_JNI_FromReflectedMethod): Likewise.
4128 (_Jv_JNI_FromReflectedField): Likewise.
4129 (_Jv_JNI_NewDirectByteBuffer): Likewise.
4130 (_Jv_JNI_GetDirectBufferAddress): Likewise.
4131 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
4132 (_Jv_JNI_IsAssignableFrom): Call _Jv_java_lang_Class_isAssignableFrom.
4133 (_Jv_JNI_IsInstanceOf): Call _Jv_java_lang_Class_isInstance.
4134 (_Jv_JNI_EnsureLocalCapacity): Removed debug output.
4136 2007-02-21 20:24 twisti
4138 * src/vm/jit/Makefile.am [!WITH_BINUTILS_DISASSEMBLER]
4139 (DISASS_SOURCES): Removed.
4141 * src/vm/jit/disass-common.c: Removed WITH_BINUTILS_DISASSEMBLER
4142 ifdefs, since it's compiled conditionally.
4144 2007-02-21 18:20 twisti
4146 * src/vm/jit/x86_64/md-abi.c (regs): Renamed to
4147 abi_registers_integer_name.
4148 (md_param_alloc): Made code more clear.
4149 (md_param_alloc_native): New function.
4151 2007-02-21 18:19 twisti
4153 * src/vm/jit/abi-asm.h: Cosmetic changes.
4155 2007-02-20 01:23 twisti
4157 * src/native/vm/cldc1.1/com_sun_cldchi_jvm_JVM.c (vm/exceptions.h):
4159 (vm/stringlocal.h): Likewise.
4160 (loadLibrary): Throw error in case.
4162 2007-02-20 00:42 twisti
4164 * src/native/vm/java_lang_Runtime.c (loadLibrary): Different signature
4165 for _Jv_java_lang_Runtime_loadLibrary depending on ENABLE_JNI.
4166 * src/native/vm/java_lang_Runtime.h: Likewise.
4167 * src/native/vm/cldc1.1/com_sun_cldchi_jvm_JVM.c: Likewise.
4168 * src/native/vm/gnu/java_lang_VMRuntime.c: Likewise.
4170 2007-02-20 00:38 twisti
4172 * configure.ac (AC_CHECK_ENABLE_JAVA): Added.
4173 (AC_CHECK_ENABLE_JIT): Likewise.
4174 (AC_CHECK_ENABLE_JNI): Likewise.
4176 * m4/jni.m4: New file.
4177 * m4/java.m4: Likewise.
4178 * m4/jit.m4: Likewise.
4180 2007-02-19 23:47 twisti
4182 * src/native/vm/cldc1.1/com_sun_cldchi_jvm_JVM.c: New file.
4184 * src/native/vm/cldc1.1/Makefile.am (libnativevmcore_la_SOURCES):
4185 Added com_sun_cldchi_jvm_JVM.c.
4187 * src/native/vm/java_lang_Runtime.c [!WITH_STATIC_CLASSPATH] (ltdl.h):
4189 (native/jni.h): Likewise.
4190 (native/native.h): Likewise.
4191 (native/include/java_lang_String.h): Likewise.
4192 (toolbox/logging.h): Likewise.
4193 (vm/exceptions.h): Likewise.
4194 (vm/stringlocal.h): Likewise.
4195 (vmcore/options.h): Likewise.
4196 (loadLibrary): New function.
4198 * src/native/vm/java_lang_Runtime.h (native/jni.h): Added.
4199 (native/include/java_lang_String.h): Likewise.
4201 * src/native/vm/gnu/java_lang_VMRuntime.c [!WITH_STATIC_CLASSPATH]
4203 (native/native.h): Likewise.
4204 (toolbox/logging.h): Likewise.
4205 (vmcore/options.h): Likewise.
4206 (nativeLoad): Call _Jv_java_lang_Runtime_loadLibrary.
4208 * src/native/include/Makefile.am (JAVAME_CLDC1_1_HEADER_FILES): Added
4209 com_sun_cldchi_jvm_JVM.h.
4213 * src/vm/jit/s390/patcher.c (patcher_wrapper): Formatting changes.
4214 * src/vm/jit/s390/asmpart.S (asm_patcher_wrapper): Did not remove
4215 stack frame created by patcher stubs.
4217 2007-02-16 17:56 twisti
4219 * src/vmcore/statistics.c (mm/gc-common.h): Added.
4220 (statistics_print_gc_memory_usage): New function.
4221 * src/vmcore/statistics.h (statistics_print_gc_memory_usage):
4224 * src/cacaoh/dummy.c (gc_get_heap_size): New stub.
4225 (gc_get_free_bytes): Likewise.
4226 (gc_get_total_bytes): Likewise.
4227 (gc_get_max_heap_size): Likewise.
4229 * src/mm/memory.c (memory_thread): Call
4230 statistics_print_gc_memory_usage.
4234 * src/vm/jit/s390/md.c,
4235 src/vm/jit/s390/codegen.c,
4236 src/vm/jit/s390/codegen.h,
4237 src/vm/jit/s390/patcher.c,
4238 src/vm/jit/s390/asmpart.S,
4239 src/vm/jit/s390/md-abi.c: Changed a lot. Mostly adapted to changes in
4242 2007-02-15 19:48 twisti
4244 * src/cacaoh/dummy.c (intrp_asm_abstractmethoderror): New stub.
4245 (print_dynamic_super_statistics): Likewise.
4247 * src/vm/jit/intrp/engine.c (mm/memory.h): Added.
4248 * src/vm/jit/intrp/dynamic-super.c [!ENABLE_THREADS]
4249 (threads/none/lock.h): Likewise.
4251 2007-02-15 19:42 twisti
4253 * src/Makefile.am [ENABLE_THREADS] (THREADS_DIR): Added.
4254 (SUBDIRS): Added THREADS_DIR.
4256 * src/threads/Makefile.am (SUBDIRS): Set always to native.
4258 * src/threads/threads-common.c (threads/none/threads.h): Removed.
4259 [ENABLE_THREADS] (threads_create_thread): Removed ifdef.
4260 (threads_get_current_tid) [ENABLE_THREADS]: Removed.
4264 * src/threads/threads-common.c (threads_get_current_tid): Return 0 if
4265 compiled with --enable-threads=none
4267 2007-02-14 11:35 twisti
4269 * src/vm/jit/intrp/peephole.c: Updated to current codebase.
4270 * src/vm/jit/intrp/intrp.h: Likewise.
4271 * src/vm/jit/intrp/codegen.c: Likewise.
4272 * src/vm/jit/intrp/engine.c: Likewise.
4273 * src/vm/jit/intrp/asmpart.c: Likewise.
4274 * src/vm/jit/intrp/dynamic-super.c: Likewise.
4275 * src/vm/jit/intrp/patcher.c: Likewise.
4276 * src/vm/jit/intrp/java.vmg: Likewise.
4278 2007-02-13 23:14 twisti
4280 * src/vm/jit/arm/codegen.c (createnativestub) [!__ARM_EABI__]:
4281 #ifdef'ed split-stuff.
4282 * src/vm/jit/arm/md-abi.c (md_param_alloc_native) [!__ARM_EABI__]:
4283 Added GNU EABI stuff.
4285 2007-02-13 22:11 ajordan
4287 * configure.ac: Added support for compiling on Solaris.
4289 * src/vm/jit/sparc64/*: Added os subdir, changes for compiling on
4292 2007-02-13 21:32 twisti
4294 * src/vm/jit/mips/md-abi.c (regs): Renamed to
4295 abi_registers_integer_name.
4296 (md_param_alloc_native): New function.
4297 * src/vm/jit/mips/disass.c (disassinstr): Replaced regs with
4298 abi_registers_integer_name.
4300 2007-02-13 21:30 twisti
4302 * src/vm/jit/mips/emit.c (emit_verbosecall_exit): Fixed argument
4303 passing, but I think there's still something left to fix.
4304 * src/vm/jit/mips/md-abi.h (REG_A2_A3_PACKED): Added.
4306 2007-02-13 15:15 twisti
4308 * src/threads/native/lock.c (vm/vm.h): Added.
4309 (lock_record_add_waiter): New function.
4310 (lock_record_remove_waiter): Free the waiter data structure.
4311 (lock_record_wait): Use lock_record_add_waiter.
4312 * src/threads/native/lock.h: Cosmetic changes.
4314 2007-02-13 14:15 twisti
4316 * src/cacaoh/dummy.c (mem_alloc): Arghhhh, fixed arguments.
4318 2007-02-13 14:13 twisti
4320 * src/cacaoh/dummy.c (mem_alloc): Use calloc instead of malloc.
4322 2007-02-13 13:23 twisti
4324 * src/threads/threads-common.c (threads_get_current_tid): Check if
4325 thread is NULL and return 0.
4327 2007-02-13 13:04 twisti
4329 * src/threads/threads-common.c (threads_get_current_tid): New
4331 * src/threads/threads-common.h (threads_get_current_tid): Added.
4333 * src/toolbox/logging.c (log_start): Use threads_get_current_tid.
4335 * src/cacaoh/dummy.c (threads_get_current_threadobject): Removed.
4336 (threads_get_current_tid): Added.
4338 2007-02-13 12:23 ajordan
4340 * src/vm/jit/Makefile.am: Reverted duplicate changes.
4342 * src/vm/signal.c: Reverted one duplicate header include.
4344 2007-02-13 02:36 ajordan
4346 * src/vm/jit/stacktrace.c (stacktrace_create_extern_stackframeinfo):
4347 SPARC specific retrieval of the PV.
4348 (stacktrace_create): SPARC specific stack walking.
4350 * src/vm/jit/Makefile.am: Not compiling verifier source when disabled.
4352 * src/vm/jit/codegen-common.c (codegen_add_patch_ref): Included
4353 __SPARC_64__ in ifdef to add patcher NOPs from here.
4355 * src/vm/signal.c: Added include statements and/or ifdefs to fix
4356 compiling without threads.
4357 * src/vm/exceptions.c: Likewise.
4358 * src/vm/finalizer.c: Likewise.
4359 * src/native/jni.c: Likewise.
4360 * src/threads/none/threads.h: Likewise.
4361 * src/threads/threads-common.c: Likewise.
4362 * src/threads/critical.c: Likewise.
4364 2007-02-13 02:12 ajordan
4366 * src/vm/jit/sparc64/md-abi.h: set TRACE_ARGS_NUM to 6.
4367 * src/vm/jit/sparc64/emit.c: using the 6 available integer argument
4368 regs for call tracing.
4370 * src/vm/jit/sparc64/md-abi.c: added abi register names.
4371 Added md_param_alloc_native(), but still using the existing
4374 2007-02-13 00:51 twisti
4376 * src/mm/memory.c (memory_thread) [ENABLE_STATISTICS]: #ifdef'ed
4377 statistics_print_memory_usage call.
4379 2007-02-13 00:40 twisti
4381 * src/vm/vm.c (vm_create) [ENABLE_STATISTICS]: #ifdef opt_stat.
4383 2007-02-13 00:37 twisti
4385 * src/vm/vm.c (vm_create): Set opt_stat also true for -verbose:memory.
4386 * src/mm/memory.c [ENABLE_THREADS] (threads/threads-common.h): Added.
4387 (memory_thread): Call statistics_print_memory_usage.
4389 2007-02-13 00:17 twisti
4391 * src/vm/jit/optimizing/profile.c (native/jni.h): Removed.
4392 (native/include/java_lang_Thread.h): Likewise.
4393 (native/include/java_lang_VMThread.h): Likewise.
4394 (threads/threads-common.h): Added.
4395 (thread_profile): Changed type to threadobject.
4396 (profile_start_thread): Use threads_create_thread.
4397 * src/vm/jit/optimizing/recompile.c: Likewise.
4398 * src/vm/signal.c: Likewise.
4399 * src/vm/finalizer.c: Likewise.
4401 * src/vm/jit/asmpart.h (threads/native/critical.h): Removed.
4402 (threads/critical.h): Added.
4404 * src/vmcore/options.c (opt_verbosememory): Added.
4405 * src/vmcore/options.h: Likewise.
4407 * src/vm/vm.c (XXusage): Added -verbose:memory.
4408 (vm_create): Likewise. Start memory thread.
4410 * src/cacao/Makefile.am (THREAD_LIB): Changed to
4411 $(top_builddir)/src/threads/libthreads.la.
4413 * src/mm/memory.c [ENABLE_THREADS] (thread_memory): Added.
4414 [ENABLE_THREADS] (memory_thread): New function.
4415 [ENABLE_THREADS] (memory_start_thread): Likewise.
4416 * src/mm/memory.h [ENABLE_THREADS] (memory_start_thread): Added.
4418 * src/threads/native/critical.c: Removed.
4419 * src/threads/native/critical.h: Likewise.
4420 * src/threads/critical.c: Added.
4421 * src/threads/critical.h: Likewise.
4423 * src/threads/threads-common.c: New file.
4424 * src/threads/threads-common.h: Likewise.
4425 * src/threads/Makefile.am (AM_CPPFLAGS): Added.
4427 [ENABLE_THREADS] (THREAD_LIB): Likewise.
4428 (noinst_LTLIBRARIES): Likewise.
4429 (libthreads_la_SOURCES): Likewise.
4430 (libthreads_la_LIBADD): Likewise.
4432 * src/threads/.cvsignore: New file.
4434 * src/threads/native/threads.c (include "threads/threads-common.h):
4436 * src/threads/native/threads.h (MIN_PRIORITY, NORM_PRIORITY)
4437 (MAX_PRIORITY): Removed.
4439 * src/threads/native/Makefile.am (noinst_LTLIBRARIES): Changed to
4442 2007-02-13 00:05 twisti
4444 * src/vmcore/annotation.c
4445 (annotation_load_attribute_runtimevisibleannotations): Renamed aa to
4448 2007-02-12 13:28 twisti
4450 * src/vm/jit/emit-common.h (_EMIT_H): Renamed to _EMIT_COMMON_H.
4452 (vm/jit/codegen-common.h): Likewise.
4453 [SIZEOF_VOID_P == 4] (IS_IMM16): Added.
4455 2007-02-12 10:43 twisti
4457 * src/vm/jit/alpha/md-abi.c (regs): Renamed to
4458 abi_registers_integer_name.
4459 (md_param_alloc_native): New function.
4461 * src/vm/jit/alpha/disass.c (vm/jit/abi.h): Added.
4462 (disassinstr): Replaced regs with abi_registers_integer_name.
4464 2007-02-12 00:34 twisti
4466 * src/vm/jit/i386/md-abi.c (regs): Renamed to
4467 abi_registers_integer_name.
4468 (md_param_alloc_native): New function.
4470 2007-02-11 22:17 twisti
4472 * src/vm/jit/arm/disass.c (stdio.h): Added.
4474 * src/vm/jit/arm/md-abi.c (abi_registers_integer_name): Added.
4475 (md_param_alloc_native): Likewise.
4477 2007-02-11 21:44 twisti
4479 * src/vm/jit/codegen-common.c (vm/jit/abi.h): Added.
4481 2007-02-11 21:41 twisti
4483 * src/vm/jit/disass.h (regs): Removed.
4485 * src/vm/jit/show.c (vm/jit/abi.h): Added.
4486 (show_allocation): Renamed regs to abi_registers_integer_name.
4488 2007-02-11 21:39 twisti
4490 * src/vm/jit/codegen-common.c (codegen_createnativestub): Call
4491 md_param_alloc_native instead of md_param_alloc.
4493 * src/vm/jit/powerpc/linux/md-abi.c (assert.h): Added.
4494 (regs): Renamed to abi_registers_integer_name.
4495 (abi_registers_integer_argument, abi_registers_integer_saved)
4496 (abi_registers_integer_temporary, abi_registers_float_name)
4497 (abi_registers_float_argument, abi_registers_float_saved)
4498 (abi_registers_float_temporary): Added.
4499 (md_param_alloc): Reformatted.
4500 (md_param_alloc_native): New function.
4502 2007-02-11 21:24 twisti
4504 * src/vmcore/descriptor.c (vm/jit/abi.h): Added.
4505 * src/vmcore/descriptor.h (md_param_alloc): Removed.
4507 * src/vm/jit/abi.h (abi_registers_integer_name)
4508 (abi_registers_integer_argument, abi_registers_integer_saved)
4509 (abi_registers_integer_temporary, abi_registers_float_name)
4510 (abi_registers_float_argument, abi_registers_float_saved)
4511 (abi_registers_float_temporary): Added.
4512 (md_param_alloc): Likewise.
4513 (md_param_alloc_native): Likewise.
4515 2007-02-11 21:22 twisti
4517 * src/native/native.c (native_get_returntype): Removed.
4518 * src/native/native.h: Likewise.
4520 * src/native/vm/gnu/java_lang_reflect_Method.c (getReturnType): Moved
4521 code from native_get_returntype.
4523 2007-02-11 20:16 twisti
4525 * src/vm/jit/codegen-common.c (vm/jit/md.h): Added.
4527 2007-02-11 20:10 twisti
4529 * src/vm/jit/arm/emit.c (emit_verbosecall_enter): Keep stack 8-byte
4531 (emit_verbosecall_exit): Added comment.
4532 * src/vm/jit/arm/asmpart.S (asm_call_jit_compiler): Keep stack 8-byte
4537 * src/vm/jit/stacktrace.c (stacktrace_create_extern_stackframeinfo):
4538 On s390 get return address from stack also in leaf methods.
4539 * src/vm/jit/codegen-common.c (methodtree_comparator): On s390
4540 compare addresses as 31 bit integers.
4541 * src/vm/jit/s390/md.c,
4542 src/vm/jit/s390/codegen.c,
4543 src/vm/jit/s390/codegen.h,
4544 src/vm/jit/s390/patcher.c,
4545 src/vm/jit/s390/asmpart.S: Changed a lot, working on s390 port.
4547 2007-02-11 10:15 michi
4549 * src/vm/jit/replace.c: Fixed includes for options.h and classcache.h
4551 * src/vm/jit/replace.h: Added forward typedef for rplalloc.
4553 2007-02-11 09:21 michi
4555 * src/vm/jit/replace.h: Fixed include for method.h header.
4557 2007-02-11 00:02 twisti
4559 * src/vm/jit/x86_64/emit.c (emit_verbosecall_enter): Renamed
4560 builtin_trace_args to builtin_verbosecall_enter.
4561 (builtin_verbosecall_exit): Renamed builtin_displaymethodstop to
4562 builtin_verbosecall_exit and changed signature.
4564 * src/vm/jit/x86_64/md-abi.h (REG_FA0, REG_FA1): Added.
4566 2007-02-10 19:06 twisti
4568 * src/vm/builtin.c (builtin_trace_args): Renamed to
4569 builtin_verbosecall_enter.
4570 (builtin_trace_args): Renamed to builtin_verbosecall_enter.
4571 (builtin_displaymethodstop): Renamed to builtin_verbosecall_exit and
4573 * src/vm/builtin.h: Likewise.
4575 * src/vm/jit/arm/emit.c (emit_verbosecall_enter): Likewise.
4576 (builtin_verbosecall_exit): Likewise.
4577 * src/vm/jit/alpha/emit.c: Likewise.
4578 * src/vm/jit/i386/emit.c: Likewise.
4579 * src/vm/jit/mips/emit.c: Likewise.
4580 * src/vm/jit/powerpc/emit.c: Likewise.
4582 * src/vm/jit/alpha/md-abi.h (REG_FA0, REG_FA1, REG_FA2): Added.
4583 * src/vm/jit/mips/md-abi.h: Removed multiple defines.
4584 * src/vm/jit/powerpc/linux/md-abi.h (REG_FA0, REG_FA1): Added.
4585 (REG_A0_A1_PACKED): Likewise.
4587 * src/vm/jit/mips/linux/Makefile.am (AM_CPPFLAGS): Added
4588 -I$(top_builddir)/src.
4589 * src/vm/jit/mips/irix/Makefile.am: Likewise.
4591 2007-02-10 15:11 ajordan
4593 * src/vm/jit/sparc64/codegen.c (createnativestub): Fixed stack
4596 * src/vm/jit/sparc64/*: Adapted includes to new cacao structure.
4600 * s390/codegen.c: fix: ICMD_FCMPL generated wrong branch offset
4601 * s390/codegen.h: likewise
4602 * s390/asmpart.S: fix: asm_call_jit_compiler did not remove stack
4607 Continued work on S390 codegen. Affected files:
4615 2007-02-09 13:20 twisti
4617 * src/vm/jit/powerpc64/linux/md-os.c: Fixed includes.
4618 * src/vm/jit/powerpc64/linux/md-abi.c: Likewise.
4619 * src/vm/jit/powerpc64/md.c: Likewise.
4620 * src/vm/jit/powerpc64/codegen.c: Likewise.
4621 * src/vm/jit/powerpc64/patcher.c: Likewise.
4623 2007-02-09 13:00 twisti
4625 * src/vm/jit/i386/asmpart.S (asm_compare_and_swap): Added ; after
4626 lock, Darwin's assembler requires that.
4627 (asm_compare_and_swap): Likewise.
4629 2007-02-09 12:51 twisti
4631 * src/mm/boehm.c [ENABLE_THREADS] (threads/native/threads.h): Removed.
4633 2007-02-09 12:49 twisti
4635 * src/vm/jit/powerpc/linux/Makefile.am (AM_CPPFLAGS): Added
4636 -I$(top_builddir)/src.
4637 * src/vm/jit/powerpc/darwin/Makefile.am: Likewise.
4638 * src/vm/jit/powerpc/netbsd/Makefile.am: Likewise.
4640 2007-02-09 12:47 twisti
4642 * src/vmcore/class.h (dummy_java_lang_Class): Added.
4643 (classinfo): Use dummy_java_lang_Class.
4644 * src/vm/vm.c (vm_create): Check dummy_java_lang_Class size.
4646 2007-02-09 11:25 twisti
4648 * src/native/vm/java_lang_Runtime.c [ENABLE_JAVASE]
4649 (runFinalizersOnExit): Added.
4650 * src/native/vm/java_lang_Runtime.h: Likewise.
4652 * src/native/vm/gnu/java_lang_VMRuntime.c (exit): Renamed argument
4654 (runFinalizersOnExit): Call _Jv_java_lang_Runtime_runFinalizersOnExit.
4656 2007-02-09 11:08 twisti
4658 * src/vm/exceptions.c (exceptions_throw_unsatisfiedlinkerror)
4659 [!ENABLE_JAVASE]: Generate a java.lang.Error.
4661 * src/native/vm/cldc1.1/java_lang_Class.c (isInstance): Added.
4662 (isAssignableFrom): Likewise.
4663 (isInterface): Likewise.
4664 (isArray): Likewise.
4666 * src/native/vm/cldc1.1/java_lang_Object.c (hashCode): Likewise.
4670 * src/native/vm/cldc1.1/java_lang_String.c (hashCode): Smaller
4671 implementation changes.
4672 (indexOf__II): Likewise.
4673 (lastIndexOf__II): Likewise.
4674 (indexOf__I): Added.
4676 * src/native/vm/cldc1.1/java_lang_Thread.c: Header updated.
4678 * src/native/vm/cldc1.1/java_lang_Runtime.c (exitInternal): Fixed
4680 (freeMemory): Added.
4681 (totalMemory): Likewise.
4684 * src/native/vm/cldc1.1/com_sun_cldc_io_ResourceInputStream.c: New
4686 * src/native/vm/cldc1.1/com_sun_cldc_io_j2me_socket_Protocol.c:
4688 * src/native/vm/cldc1.1/Makefile.am (libnativevmcore_la_SOURCES):
4689 Added com_sun_cldc_io_ResourceInputStream.c and
4690 com_sun_cldc_io_j2me_socket_Protocol.c.
4692 * src/native/vm/java_lang_Runtime.c: New file.
4693 * src/native/vm/java_lang_Runtime.h: Likewise.
4694 * src/native/vm/Makefile.am (libnativevm_la_SOURCES): Added
4695 java_lang_Runtime.c and java_lang_Runtime.h.
4698 * src/native/vm/java_lang_Class.c: Un-ifdef some functions for CLDC.
4699 * src/native/vm/java_lang_Class.h: Likewise.
4701 * src/native/vm/gnu/java_lang_VMRuntime.c
4702 (native/vm/java_lang_Runtime.h): Added.
4703 (exit): Call _Jv_java_lang_Runtime function.
4704 (freeMemory): Likewise.
4705 (totalMemory): Likewise.
4708 * src/native/vm/java_lang_Object.h [ENABLE_JAVASE]
4709 (native/include/java_lang_Cloneable.h): Only available for JavaSE
4712 * src/native/include/Makefile.am (JAVAME_CLDC1_1_HEADER_FILES): Added
4713 com_sun_cldc_io_ResourceInputStream.h and
4714 com_sun_cldc_io_j2me_socket_Protocol.h.
4716 * src/native/native.c (dummynativetable) [ENABLE_JAVAME_CLDC1_1]:
4717 Added new functions.
4719 2007-02-09 10:35 twisti
4721 * src/vm/jit/alpha/md.c (vm/options.h): Changed to vmcore/options.h.
4723 * src/vm/jit/alpha/linux/Makefile.am (AM_CPPFLAGS): Added
4724 -I$(top_builddir)/src.
4725 * src/vm/jit/alpha/freebsd/Makefile.am: Likewise.
4727 2007-02-08 12:29 michi
4729 * src/vm/jit/i386/cygwin/Makefile.am: Changed to unix fileformat.
4730 * src/vm/jit/i386/cygwin/ucontext.h,
4731 src/vm/jit/i386/cygwin/ucontext.c,
4732 src/vm/jit/i386/cygwin/md-os.c, src/vm/jit/i386/cygwin/md-asm.h:
4735 2007-02-08 12:14 twisti
4737 * src/vm/jit/i386/linux/Makefile.am (AM_CPPFLAGS) Added
4738 -I$(top_builddir)/src.
4739 * src/vm/jit/i386/cygwin/Makefile.am: Likewise.
4740 * src/vm/jit/i386/freebsd/Makefile.am: Likewise.
4744 Continued work on S390 port.
4745 java.lang.ClassLoader.getSystemClassLoader is now compiled, patched,
4746 called and the patcher trigger compilation of another method.
4748 * jit/s390/emit.c: Likiwise.
4749 * jit/s390/codegen.c: Likewise.
4750 * jit/s390/codegen.h: Likewise.
4751 * jit/s390/md-asm.h: Likewise.
4752 * jit/s390/patcher.c: Likewise.
4753 * jit/s390/asmpart.S: Likewise.
4754 * jit/codegen-common.c: Likewise.
4756 2007-02-06 12:17 twisti
4758 * src/native/vm/cldc1.1/Makefile.am: Updated header.
4760 2007-02-06 10:25 twisti
4762 * src/native/vm/cldc1.1/java_lang_String.c (hashCode): Implemented.
4763 (indexOf__II): Likewise.
4764 (lastIndexOf__II): Likewise.
4766 2007-02-06 09:11 twisti
4768 * src/threads/native/Makefile.am (AM_CPPFLAGS): Added
4769 -I$(top_builddir)/src.
4770 * src/vm/jit/x86_64/Makefile.am: Likewise.
4771 * src/vm/jit/x86_64/linux/Makefile.am: Likewise.
4772 * src/vm/jit/x86_64/freebsd/Makefile.am: Likewise.
4774 2007-02-06 08:58 twisti
4776 * src/vm/jit/powerpc/codegen.c (codegen) [ENABLE_PROFILING]: #ifdef
4779 2007-02-06 08:50 twisti
4781 * src/native/vm/Makefile.am (DIST_SUBDIRS): Added missing \.
4783 2007-02-06 08:49 twisti
4785 * src/vm/jit/tools/genoffsets.c (vm/jit/stacktrace.h): Not required,
4788 2007-02-06 08:48 twisti
4790 * src/vm/jit/tools/Makefile.am: Cosmetic changes.
4792 2007-02-06 08:47 twisti
4794 * src/vm/jit/optimizing/Makefile.am (AM_CPPFLAGS): Added
4795 -I$(top_builddir)/src.
4796 * src/vm/jit/Makefile.am: Likewise.
4797 * src/vm/Makefile.am: Likewise.
4798 * src/mm/Makefile.am: Likewise.
4800 2007-02-06 06:37 twisti
4802 * src/vm/jit/linux/md-os.c (thread_restartcriticalsection): Added
4803 missing cast and pass pc to critical_find_restart_point.
4804 * src/vm/jit/freebsd/md-os.c (thread_restartcriticalsection):
4807 2007-02-05 02:04 twisti
4809 * src/cacaoh/dummy.c (builtin_clone, builtin_isanysubclass)
4810 (builtin_new): Keep compiler happy and return a value.
4812 2007-02-05 01:07 twisti
4814 * src/vm/signallocal.h (vm/types.h): Added.
4815 (vm/global.h): Likewise.
4817 2007-02-05 01:06 twisti
4819 * configure.ac (AC_CONFIG_FILES): Added
4820 src/vm/jit/x86_64/freebsd/Makefile.
4822 * src/vm/jit/x86_64/Makefile.am (DIST_SUBDIRS): Added freebsd.
4824 * src/vm/jit/x86_64/freebsd/md-os.c: New file.
4825 * src/vm/jit/x86_64/freebsd/Makefile.am: Likewise.
4826 * src/vm/jit/x86_64/freebsd/.cvsignore: Likewise.
4828 2007-02-05 00:52 twisti
4830 * configure.ac (AC_CONFIG_FILES): Added
4831 src/vm/jit/x86_64/linux/Makefile.
4833 * src/vm/jit/x86_64/Makefile.am (DIST_SUBDIRS): Added.
4834 (SUBDIRS): Likewise.
4835 (libarch_la_LIBADD): Likewise.
4837 * src/vm/jit/x86_64/md.c (md_signal_handler_sigsegv)
4838 (md_signal_handler_sigfpe, md_signal_handler_sigusr2)
4839 (thread_restartcriticalsection): Removed.
4841 * src/vm/jit/x86_64/linux/md-os.c: New file.
4842 * src/vm/jit/x86_64/linux/Makefile.am: Likewise.
4843 * src/vm/jit/x86_64/linux/.cvsignore: Likewise.
4847 * jit/codegen-common.h: Enabled dseg_adddata for s390.
4848 * jit/dseg.c: Likewise.
4849 * jit/s390/md-abi.h: Continued work on s390 port.
4850 * jit/s390/emit.c: Likewise.
4851 * jit/s390/md.c: Likewise.
4852 * jit/s390/codegen.c: Likewise.
4853 * jit/s390/codegen.h: Likewise.
4854 * jit/s390/md-asm.h: Likewise.
4855 * jit/s390/asmpart.S: Likewise.
4856 * jit/s390/md-abi.c: Likewise.
4858 2007-02-04 16:08 twisti
4860 * src/native/jni.c (_Jv_JNI_ExceptionDescribe): Fixed typo.
4862 2007-02-03 19:51 twisti
4864 * src/vm/jit/x86_64/codegen.c (codegen) [ENABLE_PROFILING]: #ifdef
4865 instrumentation code.
4866 (createnativestub) [ENABLE_PROFILING]: Likewise.
4868 * src/vm/jit/x86_64/codegen.h [ENABLE_PROFILING] (PROFILE_CYCLE_START)
4869 (PROFILE_CYCLE_STOP): Added #ifdef.
4871 2007-02-03 19:34 twisti
4873 * src/vm/builtin.c [ENABLE_THREADS] (threads/native/threads.h):
4875 [ENABLE_THREADS] (threads/native/lock.h): Added.
4876 (builtin_throw_exception): Use exceptions_set_exception.
4878 * src/vm/finalizer.c (finalizer_run): Likewise.
4880 * src/vm/signal.c (signal_start_thread): Use #warning instead of
4881 #error (temporarily).
4883 * src/native/jni.c (_Jv_jni_invokeNative): Use
4884 exceptions_get_exception, and exceptions_clear_exception.
4885 (_Jv_JNI_ExceptionDescribe): Likewise.
4886 (_Jv_JNI_IsAssignableFrom): Use exceptions_set_exception.
4887 (_Jv_JNI_ExceptionOccurred): Use exceptions_get_exception.
4888 (_Jv_JNI_ExceptionCheck): Likewise.
4889 (_Jv_JNI_ExceptionClear): Use exceptions_clear_exception.
4891 2007-02-02 12:53 twisti
4893 * src/vm/jit/i386/codegen.c (codegen) [ENABLE_PROFILING]: Profiling
4895 (createnativestub): Likewise.
4897 2007-02-02 12:39 twisti
4899 * src/native/vm/java_lang_Object.c [ENABLE_JAVAME_CLDC1_1]
4900 (native/include/java_lang_String.h): Added.
4902 2007-02-02 12:28 twisti
4904 * src/native/vm/java_lang_Class.h (native/include/java_lang_String.h):
4905 Required by java_lang_Class.h for Java ME.
4907 2007-02-02 11:58 michi
4909 * src/vm/jit/arm/md-abi.h: Renamed REG_IP to REG_PV (special favor
4911 * src/vm/jit/arm/emit.c, src/vm/jit/arm/codegen.c,
4912 src/vm/jit/arm/codegen.h:
4913 Adapted to the above change.
4915 2007-02-02 00:20 twisti
4917 * src/vm/jit/jit.c (jit_compile_intern) [ENABLE_PROFILING]: Call
4918 reorder only when profiling.
4920 2007-02-02 00:10 twisti
4922 * src/vm/jit/code.h (codeinfo) [ENABLE_PROFILING]: Made frequency,
4923 bbfrequency, and cycles conditional.
4925 * src/vm/jit/jit.c (jit_compile) [ENABLE_PROFILING]: Likewise.
4926 (jit_compile_intern) [ENABLE_PROFILING]: Likewise.
4928 2007-02-02 00:06 twisti
4930 * src/vm/jit/optimizing/Makefile.am [ENABLE_PROFILING]
4931 (REORDER_SOURCES): Moved here till we have something better.
4933 2007-02-01 15:35 twisti
4935 * src/vmcore/suck.c (assert.h): Added.
4936 (suck_float): Use assert instead of an exception.
4937 (suck_double): Likewise.
4939 2007-02-01 15:27 twisti
4941 * src/vmcore/linker.c (link_class_intern): Also align double and s8
4942 fields to 4-bytes for ARM.
4944 2007-02-01 12:58 twisti
4946 * src/vmcore/utf8.c (utf_java_lang_InvocationTargetException): Is
4947 actually called utf_java_lang_reflect_InvocationTargetException.
4948 (utf8_init): Likewise.
4950 * src/vmcore/utf8.h (utf_java_lang_InvocationTargetException):
4953 * src/vm/exceptions.c (exceptions_throw_invocationtargetexception):
4956 2007-02-01 12:29 twisti
4958 * src/vm/jit/code.c [ENABLE_THREADS] (threads/native/lock.h): Added.
4960 2007-02-01 12:02 twisti
4962 * src/vmcore/method.h (methodinfo): Removed member object.
4963 * src/vm/jit/code.h (codeinfo): Added member object.
4965 * src/vmcore/loader.c (loader_load_method): Removed
4966 lock_init_object_lock.
4967 (load_newly_created_array): Likewise.
4968 * src/vm/jit/code.c (code_codeinfo_new): Added lock_init_object_lock.
4970 * src/vm/jit/jit.c (jit_jitdata_new): Changed signature.
4971 (jit_compile): Use codeinfo lock object instead of methodinfo.
4972 (jit_recompile): Changed signature.
4973 * src/vm/jit/jit.h (jit_jitdata_new): Likewise.
4975 2007-01-31 17:45 twisti
4977 * src/cacaoh/dummy.c (pthread.h): Added.
4979 2007-01-31 17:02 twisti
4981 * src/toolbox/logging.c (log_start): Uncommented thread pointer stuff.
4982 * src/cacaoh/dummy.c (threads_get_current_threadobject): Added.
4984 2007-01-31 17:00 twisti
4986 * src/native/jni.c (_Jv_JNI_ThrowNew): Fixed warnings.
4988 2007-01-31 14:05 twisti
4990 * src/native/vm/gnu/gnu_classpath_VMSystemProperties.c: Updated year.
4992 2007-01-31 14:04 twisti
4994 * src/native/vm/gnu/gnu_classpath_VMSystemProperties.c (string.h):
4996 (mm/memory.h): Likewise.
4998 2007-01-31 10:59 twisti
5000 * src/vmcore/loader.c (load_newly_created_array) [ENABLE_JAVASE]:
5001 Fixed interfacescount.
5003 2007-01-31 10:00 twisti
5005 * src/vm/exceptions.c [ENABLE_JAVAME_CLDC1_1](exceptions_new_error):
5007 (exceptions_asm_new_abstractmethoderror) [!ENABLE_JAVASE]: Use
5008 exceptions_new_error.
5009 (exceptions_throw_virtualmachineerror): Removed.
5010 * src/vm/exceptions.h (exceptions_throw_virtualmachineerror):
5013 2007-01-31 09:51 twisti
5015 * src/vm/jit/Makefile.am: Fixed !ENABLE_VERIFER build.
5017 2007-01-30 13:58 twisti
5019 * src/vm/jit/arm/emit.c (mm/memory.h): Added.
5020 (vm/global.h): Likewise.
5021 (emit_patcher_stubs): Align stack to 8-byte.
5022 (emit_verbosecall_exit): Smaller optimizations.
5024 * src/vm/jit/arm/md-abi.h (config.h): Added.
5025 (REG_A1_A2_PACKED): Defined.
5027 * src/vm/jit/arm/md.c: Fixed includes.
5028 (md_codegen_get_pv_from_pc): Use vm_abort.
5030 * src/vm/jit/arm/codegen.c: Fixed includes.
5031 (codegen): Align stack to 8-byte.
5032 (createnativestub): Likewise.
5034 * src/vm/jit/arm/codegen.h (M_ADD_IMM_EXT_MUL4): Added do-while.
5035 (M_SUB_IMM_EXT_MUL4): Likewise.
5037 * src/vm/jit/arm/patcher.c: Fixed includes.
5038 (patcher_wrapper): Align stack to 8-byte.
5039 * src/vm/jit/arm/asmpart.S (asm_patcher_wrapper): Likewise.
5041 * src/vm/jit/arm/md-abi.c: Fixed includes.
5043 2007-01-30 13:53 twisti
5045 * src/vm/signal.c (signal_init): Disable signal-thread handling
5047 * src/vm/vm.c (vm_create): Likewise.
5049 2007-01-29 23:07 twisti
5051 * src/vm/string.c (native/jni.h): Added.
5052 * src/vm/properties.c (native/jni.h): Likewise.
5054 * src/native/vm/cldc1.1/java_lang_Runtime.c: Includes fixed for
5056 * src/native/vm/cldc1.1/java_lang_Class.c: Likewise.
5058 * src/native/vm/java_lang_Class.c [ENABLE_JAVAME_CLDC1_1]
5059 (native/include/java_lang_String.h): Added.
5060 (forName): #ifdef'd loader variable.
5062 * src/vmcore/class.c (class_resolveclassmethod): Removed Java ME
5063 exception handling, we do that in the exception function itself.
5064 (class_resolveinterfacemethod): Likewise.
5065 * src/vmcore/resolve.c (resolve_method_invokespecial): Likewise.
5067 * src/vmcore/utf8.c [ENABLE_JAVASE]
5068 (utf_java_lang_AbstractMethodError, utf_java_lang_NoSuchFieldError)
5069 (utf_java_lang_NoSuchMethodError): Removed ifdef.
5070 * src/vmcore/utf8.h: Likewise.
5072 2007-01-29 21:47 ajordan
5074 * src/vm/jit/sparc64/codegen.h: Fixed double register number packing
5075 and fp compare instruction macros.
5076 * src/vm/jit/sparc64/codegen.c: Fixed fp compares.
5078 Fixed fp argument saving in createnativestub().
5080 * src/vm/jit/sparc64/patcher.c: Implemented get/put field patcher.
5082 * src/vm/jit/sparc64/md.c: Removed printf.
5084 2007-01-29 21:39 twisti
5086 * src/vm/jit/i386/emit.c: Includes fixed for cacaoh-changes.
5087 * src/vm/jit/i386/md.c: Likewise.
5088 * src/vm/jit/i386/codegen.c: Likewise.
5089 * src/vm/jit/i386/patcher.c: Likewise.
5090 * src/vm/jit/i386/md-abi.c: Likewise.
5092 2007-01-29 21:38 twisti
5094 * src/vm/jit/i386/asmpart.S (asm_compare_and_swap): New function.
5095 (asm_memory_barrier): Likewise.
5097 2007-01-29 21:37 twisti
5099 * src/vm/jit/alpha/asmpart.S (asm_compare_and_swap): Changed comment.
5101 2007-01-29 21:09 twisti
5103 * src/vm/jit/mips/emit.c: Include fixes for cacaoh-changes.
5104 * src/vm/jit/mips/md.c: Likewise.
5105 * src/vm/jit/mips/codegen.c: Likewise
5106 * src/vm/jit/mips/linux/md-os.c: Likewise
5107 * src/vm/jit/mips/disass.c: Likewise
5108 * src/vm/jit/mips/patcher.c: Likewise
5109 * src/vm/jit/mips/md-abi.c: Likewise
5111 2007-01-29 20:24 twisti
5113 * src/vm/jit/alpha/emit.c: Fixed includes for cacaoh-changes.
5114 * src/vm/jit/alpha/codegen.c: Likewise.
5115 * src/vm/jit/alpha/linux/md-os.c: Likewise.
5116 * src/vm/jit/alpha/patcher.c: Likewise.
5117 * src/vm/jit/alpha/md-abi.c: Likewise.
5119 2007-01-29 19:34 twisti
5121 * src/native/include/.cvsignore: Ignore all *.h files.
5123 2007-01-29 19:32 twisti
5125 * src/vm/jit/x86_64/md.c: Fixed includes for cacaoh-changes.
5127 2007-01-29 19:28 twisti
5129 * src/vm/jit/x86_64/emit.c: Fixed includes for cacaoh-changes.
5130 * src/vm/jit/x86_64/codegen.c: Likewise.
5131 * src/vm/jit/x86_64/patcher.c: Likewise.
5132 * src/vm/jit/x86_64/md-abi.c: Likewise.
5134 2007-01-29 19:15 twisti
5136 * src/vmcore/stackmap.c [ENABLE_STATISTICS] (vmcore/statistics.h):
5138 * src/vm/jit/jit.c: Likewise.
5139 * src/vm/jit/emit-common.c: Likewise.
5141 2007-01-29 18:49 twisti
5143 * This is a rather huge commit, which changes the build order of
5144 various parts to be able to bootstrap cacaoh without any dependencies
5145 on a generated header file. I include the file list from SVN, so we
5146 can see what happened to the files.
5148 Here we go (D-files were mostly moved to src/vmcore):
5150 D src/vm/hashtable.h
5152 M src/vm/properties.h
5161 D src/vm/rt-timing.c
5163 D src/vm/annotation.c
5166 D src/vm/descriptor.c
5167 D src/vm/annotation.h
5168 D src/vm/rt-timing.h
5171 D src/vm/descriptor.h
5172 M src/vm/finalizer.c
5175 D src/vm/references.h
5176 D src/vm/classcache.c
5177 D src/vm/statistics.c
5178 D src/vm/classcache.h
5179 D src/vm/statistics.h
5180 M src/vm/initialize.c
5183 M src/vm/jit/powerpc/linux/md-abi.c
5184 M src/vm/jit/powerpc/emit.c
5185 M src/vm/jit/powerpc/md.c
5186 M src/vm/jit/powerpc/codegen.c
5187 M src/vm/jit/powerpc/patcher.c
5188 M src/vm/jit/codegen-common.h
5190 M src/vm/jit/stack.c
5191 M src/vm/jit/optimizing/profile.c
5192 M src/vm/jit/optimizing/recompile.c
5193 M src/vm/jit/optimizing/ifconv.c
5194 M src/vm/jit/optimizing/ifconv.h
5196 M src/vm/jit/tools/genoffsets.c
5200 M src/vm/jit/verify/typeinfo.h
5201 M src/vm/jit/verify/typecheck-typeinferer.c
5202 M src/vm/jit/verify/typecheck.c
5203 M src/vm/jit/verify/typecheck-stackbased.c
5204 M src/vm/jit/verify/typeinfo.c
5206 M src/vm/jit/loop/loop.h
5207 M src/vm/jit/loop/graph.h
5208 M src/vm/jit/allocator/simplereg.c
5209 M src/vm/jit/parse.c
5210 M src/vm/jit/asmpart.h
5211 M src/vm/jit/stacktrace.c
5212 M src/vm/jit/emit-common.c
5214 M src/vm/jit/stacktrace.h
5215 M src/vm/jit/codegen-common.c
5217 M src/vm/initialize.h
5221 M src/vm/exceptions.c
5225 M src/vm/exceptions.h
5226 M src/vm/stringlocal.h
5229 M src/vm/Makefile.am
5231 D src/vm/hashtable.c
5234 M src/vm/properties.c
5235 M src/vm/signallocal.h
5236 M src/cacao/Makefile.am
5238 M src/native/vm/java_lang_Class.c
5239 M src/native/vm/gnu/gnu_java_lang_management_VMThreadMXBeanImpl.c
5240 M src/native/vm/gnu/gnu_java_lang_management_VMMemoryMXBeanImpl.c
5241 M src/native/vm/gnu/java_security_VMAccessController.c
5242 M src/native/vm/gnu/java_lang_VMClassLoader.c
5243 M src/native/vm/gnu/java_lang_management_VMManagementFactory.c
5244 M src/native/vm/gnu/gnu_java_lang_management_VMRuntimeMXBeanImpl.c
5245 M src/native/vm/gnu/java_lang_VMClass.c
5246 M src/native/vm/gnu/java_lang_VMThread.c
5247 M src/native/vm/gnu/gnu_classpath_VMSystemProperties.c
5248 M src/native/vm/gnu/java_lang_reflect_Method.c
5249 M src/native/vm/gnu/java_lang_VMRuntime.c
5250 M src/native/vm/gnu/java_lang_reflect_Field.c
5251 M src/native/vm/gnu/gnu_classpath_VMStackWalker.c
5253 src/native/vm/gnu/gnu_java_lang_management_VMClassLoadingMXBeanImpl.c
5254 M src/native/vm/gnu/java_lang_reflect_Constructor.c
5255 M src/native/vm/gnu/java_lang_VMThrowable.c
5256 M src/native/vm/java_lang_Object.c
5257 M src/native/vm/java_lang_Thread.c
5258 D src/native/include/java_lang_Thread.h
5259 D src/native/include/java_lang_Throwable.h
5260 D src/native/include/java_util_Properties.h
5261 D src/native/include/java_lang_VMThread.h
5262 D src/native/include/java_lang_VMThrowable.h
5263 D src/native/include/java_lang_ClassLoader.h
5264 M src/native/include/Makefile.am
5265 D src/native/include/java_lang_Cloneable.h
5266 D src/native/include/java_lang_ThreadGroup.h
5267 D src/native/include/java_lang_Class.h
5268 D src/native/include/java_lang_Object.h
5269 D src/native/include/java_lang_String.h
5271 M src/native/native.c
5272 M src/native/native.h
5273 A src/toolbox/hashtable.h
5274 M src/toolbox/list.c
5276 M src/toolbox/logging.c
5277 M src/toolbox/Makefile.am
5278 M src/toolbox/logging.h
5279 A src/toolbox/hashtable.c
5280 M src/mm/gc-common.h
5281 M src/mm/Makefile.am
5285 M src/threads/none/threads.h
5286 M src/threads/none/lock.h
5287 M src/threads/native/threads.h
5288 M src/threads/native/lock.c
5289 M src/threads/native/threads.c
5291 A src/vmcore/options.h
5294 A src/vmcore/class.c
5295 A src/vmcore/loader.c
5297 A src/vmcore/annotation.c
5299 A src/vmcore/class.h
5300 A src/vmcore/rt-timing.c
5301 A src/vmcore/loader.h
5302 A src/vmcore/descriptor.c
5303 A src/vmcore/resolve.c
5304 A src/vmcore/annotation.h
5305 A src/vmcore/rt-timing.h
5306 A src/vmcore/method.c
5307 A src/vmcore/descriptor.h
5308 A src/vmcore/resolve.h
5309 A src/vmcore/method.h
5310 A src/vmcore/references.h
5311 A src/vmcore/classcache.c
5312 A src/vmcore/statistics.c
5313 A src/vmcore/.cvsignore
5314 A src/vmcore/classcache.h
5315 A src/vmcore/statistics.h
5316 A src/vmcore/stackmap.c
5317 A src/vmcore/stackmap.h
5318 A src/vmcore/field.c
5319 A src/vmcore/linker.c
5321 A src/vmcore/field.h
5322 A src/vmcore/Makefile.am
5323 A src/vmcore/linker.h
5324 A src/vmcore/options.c
5326 M src/cacaoh/cacaoh.c
5327 M src/cacaoh/headers.h
5328 M src/cacaoh/Makefile.am
5329 M src/cacaoh/headers.c
5330 A src/cacaoh/dummy.c
5333 2007-01-29 11:52 twisti
5335 * src/vm/jit/arm/emit.c [ENABLE_SOFTFLOAT] (emit_load): Implemented.
5336 (emit_store): Changed implementation to be more clear.
5337 (emit_copy): Likewise.
5339 2007-01-29 10:19 twisti
5341 * src/vm/jit/arm/codegen.c (codegen): ICMD_DASTORE: bugfix for
5344 2007-01-28 23:35 twisti
5346 * src/vm/jit/mips/codegen.c (createcompilerstub): Don't generate a
5349 2007-01-28 22:57 twisti
5351 * src/vm/jit/arm/codegen.c (createcompilerstub): Don't generate a
5354 2007-01-27 15:52 twisti
5356 * configure.ac: Use AC_CHECK_SOFTFLOAT, AC_CHECK_SOFT_FLOAT_CMP and
5357 AC_CHECK_SOFT_DOUBLE_CMP.
5358 * m4/soft.m4: New file.
5360 * src/vm/builtin.c [!SUPPORT_FLOAT_CMP] (builtin_fcmpl): Added
5362 [!SUPPORT_DOUBLE_CMP] (builtin_dcmpl): Likewise.
5364 * src/vm/builtintable.inc (builtintable_automatic):
5365 [!SUPPORT_FLOAT_CMP] (BUILTIN_fcmpl): Added.
5366 [!SUPPORT_DOUBLE_CMP] (BUILTIN_dcmpl): Likewise.
5367 (builtintable_function): [__MIPS__ && SIZEOF_VOID_P != 4]
5368 (BUILTIN_arraycopy): Added.
5370 * src/vm/jit/mips/codegen.c (codegen): Added SUPPORT_FLOAT_CMP for
5371 ICMD_FCMPx, and SUPPORT_DOUBLE_CMP for ICMD_DCMPx.
5373 * src/vm/jit/arm/arch.h (SUPPORT_FLOAT_CMP, SUPPORT_DOUBLE_CMP):
5375 * src/vm/jit/powerpc/arch.h: Likewise.
5376 * src/vm/jit/sparc64/arch.h: Likewise.
5377 * src/vm/jit/alpha/arch.h: Likewise.
5378 * src/vm/jit/s390/arch.h: Likewise.
5379 * src/vm/jit/mips/arch.h: Likewise.
5380 * src/vm/jit/parisc/arch.h: Likewise.
5381 * src/vm/jit/m68k/arch.h: Likewise.
5382 * src/vm/jit/i386/arch.h: Likewise.
5383 * src/vm/jit/powerpc64/arch.h: Likewise.
5384 * src/vm/jit/x86_64/arch.h: Likewise.
5386 * src/vm/jit/mips/patcher.c (vm/jit/md.h): Added.
5388 2007-01-27 13:01 twisti
5390 * src/vm/loader.c (load_newly_created_array): c->interfacescount was
5391 always set to 0, fixed.
5393 2007-01-27 00:58 ajordan
5395 * src/vm/jit/sparc64/emit.c: Moved exception check generation to emit
5397 * src/vm/jit/sparc64/codegen.h: Likewise.
5398 * src/vm/jit/sparc64/codegen.c: Likewise.
5400 * src/vm/jit/sparc64/md.c: Added SPARC specific functions for getting
5401 JIT information from the stack frame.
5403 * src/vm/jit/sparc64/linux/md-os.c: Fixed icache flushing when start
5404 address is not doubleword aligned.
5406 2007-01-23 13:05 twisti
5408 * src/vm/jit/mips/emit.c (emit_patcher_stubs): Use
5409 dseg_add_functionptr instead of dseg_add_address.
5411 2007-01-22 20:16 twisti
5413 * src/native/vm/gnu/gnu_classpath_VMSystemProperties.c (postInit):
5414 Added missing file://.
5416 2007-01-22 17:25 twisti
5418 * src/cacao/cacao.c (main): Fixed typo.
5420 2007-01-22 17:22 twisti
5422 * src/lib/vm/reference/gnu/classpath/VMSystemProperties.java: New
5425 * src/lib/Makefile.am (VM_JAVA_FILES): Added
5426 gnu/classpath/VMSystemProperties.java.
5427 (VM_CLASS_FILES): Likewise.
5429 * src/native/include/Makefile.am (VM_ZIP): Added.
5430 (DO_HEADER_FILES): Depend on VM_ZIP.
5432 2007-01-22 17:03 twisti
5434 * src/vm/properties.c (properties_get): Search list forward, as we
5435 don't have duplicate entries anymore.
5436 (properties_system_add): New function.
5437 * src/vm/properties.h (properties_system_add): Added.
5439 * src/native/vm/gnu/gnu_classpath_VMSystemProperties.c (postInit): New
5442 2007-01-22 15:59 twisti
5444 * src/vm/jit/mips/md.c (md_get_method_patch_address): Fixed compiler
5447 2007-01-22 14:02 twisti
5449 * src/cacao/cacao.c (main): Fixed compiler warning.
5451 2007-01-22 11:45 twisti
5453 * src/vm/jit/arm/codegen.c (vm/jit/md.h): Added.
5454 * src/vm/jit/arm/patcher.c (vm/jit/md.h): Likewise.
5456 2007-01-22 01:43 ajordan
5458 * src/vm/jit/sparc64/codegen.h: Fixed big disp handling.
5459 * src/vm/jit/sparc64/codegen.c: Likewise.
5461 2007-01-22 00:58 twisti
5463 * src/vm/jit/jit.h (md_init, md_get_method_patch_address,)
5464 (md_cacheflush, md_icacheflush, md_dcacheflush, intrp_md_init):
5467 * src/vm/jit/md.h: New file.
5468 * src/vm/jit/Makefile.am (noinst_HEADERS): Added md.h.
5470 * src/vm/jit/jit.c (vm/jit/md.h): Added.
5471 * src/vm/jit/codegen-common.c (vm/jit/md.h): Likewise.
5472 * src/vm/vm.c (vm/jit/md.h): Likewise.
5474 2007-01-19 01:13 edwin
5476 * src/vm/options.h, src/vm/method.c, src/vm/jit/inline/inline.c,
5477 src/vm/jit/jit.c, src/vm/vm.c, src/vm/linker.c, src/vm/options.c,
5478 src/cacaoh/headers.c: Cleaned up inlining options.
5480 * src/vm/exceptions.c: Removed a left-over use of "useinlining".
5482 * configure.ac: New configure flag --enable-inlining-debug.
5484 2007-01-18 13:21 twisti
5486 * src/vm/jit/arm/md-asm.h: Renamed argument defines to start with 0.
5487 * src/vm/jit/arm/asmpart.S: Likewise.
5489 2007-01-18 13:11 twisti
5491 * src/vm/vm.c (usage): Removed CACAO options.
5492 (XXusage): New function.
5493 (vm_create): Handle OPT_XX.
5495 2007-01-18 12:55 twisti
5497 * src/vm/jit/powerpc/asmpart.S (asm_compare_and_swap): New function.
5498 (asm_memory_barrier): Likewise.
5500 2007-01-18 11:43 twisti
5502 * src/vm/jit/mips/md-asm.h (RESTORE_ARGUMENT_REGISTERS)
5503 (RESTORE_ARGUMENT_REGISTERS, SAVE_TEMPORARY_REGISTERS)
5504 (RESTORE_TEMPORARY_REGISTERS): Added missing float registers.
5506 * src/vm/jit/mips/asmpart.S (asm_patcher_wrapper): Changed stack size
5507 for float registers.
5511 Initial import of s390 codegen, codebase is copyed from x86_64.
5513 2007-01-16 12:59 twisti
5515 * src/cacaoh/headers.c (asm_compare_and_swap): Added.
5516 (asm_memory_barrier): Likewise.
5518 2007-01-16 12:52 twisti
5520 * src/vm/jit/x86_64/asmpart.S (asm_patcher_wrapper): Removed unused
5523 2007-01-16 09:54 twisti
5525 * src/vm/jit/asmpart.h (asm_compare_and_swap): Added.
5526 (asm_memory_barrier): Likewise.
5528 * src/vm/jit/alpha/asmpart.S (asm_compare_and_swap): New function.
5529 (asm_memory_barrier): Likewise.
5531 2007-01-15 10:28 twisti
5533 * src/vm/jit/powerpc64/codegen.c (codegen): Ported replacement.
5535 2007-01-13 22:54 edwin
5537 * src/vm/jit/verify/typecheck-typeinferer.c: Check basic types in
5540 2007-01-13 22:44 edwin
5542 * src/vm/jit/verify/generate.pl: Further changes for the type inferer.
5544 * src/vm/jit/verify/typecheck-typeinferer-gen.inc: Regenerated.
5546 2007-01-13 22:39 edwin
5548 * src/vm/rt-timing.h: Fixed position of #include "config.h".
5549 (rt_timing_diff_usec): Export.
5551 * src/vm/rt-timing.c (rt_timing_diff_usec): Export.
5553 2007-01-13 22:37 edwin
5555 * src/vm/jit/jit.c (jit_compile_intern): Removed unused code and fixed
5558 2007-01-13 22:30 edwin
5560 * src/vm/jit/inline/inline.c: Better inlining decisions. Implemented
5561 knapsack heuristics. More statistics. Refactoring and fixes.
5563 * src/vm/jit/inline/inline_debug.inc: Fixed to make it compile.
5565 2007-01-13 16:52 ajordan
5567 * src/vm/jit/sparc64/md-abi.h: The JIT stackframes now also includes
5568 the 6 parameter slots required when doing a ABI compliant C call.
5569 * src/vm/jit/sparc64/emit.c: Likewise.
5570 * src/vm/jit/sparc64/codegen.c: Likewise.
5571 * src/vm/jit/sparc64/patcher.c: Likewise.
5572 * src/vm/jit/sparc64/asmpart.S: Likewise.
5574 * src/vm/jit/sparc64/codegen.h: Added include.
5576 * src/vm/jit/sparc64/md.c: Added method, to get framepointer from
5577 saved register window. (for temporary fix in JIT stack walking)
5579 2007-01-12 17:13 twisti
5581 * src/vm/jit/arm/linux/md-os.c (md_signal_handler_sigsegv): Use
5582 codegen_get_pv_from_pc.
5584 2007-01-11 22:39 twisti
5586 * src/vm/jit/mips/md-abi.h: Merged MIPS32 code.
5587 * src/vm/jit/mips/emit.c: Likewise.
5588 * src/vm/jit/mips/codegen.c: Likewise.
5589 * src/vm/jit/mips/codegen.h: Likewise.
5590 * src/vm/jit/mips/linux/md-os.c: Likewise.
5591 * src/vm/jit/mips/asmpart.S: Likewise.
5592 * src/vm/jit/mips/md-abi.c: Likewise.
5594 2007-01-11 22:36 twisti
5596 * src/mm/memory.c (mem_realloc): Fixed compiler warning.
5598 2007-01-11 14:59 twisti
5600 * file:///ahome/cacao/svn/cacao-m68k/trunk: Moved to...
5601 * file:///ahome/cacao/svn/cacao/trunk/src/vm/jit/m68k: ...here.
5603 2007-01-11 14:28 twisti
5605 * src/vm/exceptions.c (exceptions_throw_internalerror): Don't return a
5607 (exceptions_throw_outofmemoryerror): Likewise.
5609 2007-01-11 14:22 twisti
5611 * src/vm/jit/arm/emit.c (emit_exception_stubs): Renamed eref to er,
5612 use md_codegen_patch_branch.
5614 * src/vm/jit/arm/codegen.c (codegen): Use codegen_resolve_branchrefs,
5615 use exceptions_throw_internalerror.
5617 * src/vm/jit/arm/codegen.h (M_STACK_LOAD_FLT_TYPED): Removed.
5618 (M_STACK_STORE_FLT_TYPED): Likewise.
5620 2007-01-11 14:19 twisti
5622 * configure.ac [ENABLE_STATICVM] (AC_CHECK_LIB(dl)): Only perform the
5623 check if we want a static VM.
5624 (AC_CONFIG_FILES): Added src/vm/jit/arm/Makefile and
5625 src/vm/jit/arm/linux/Makefile.
5626 * src/vm/jit/Makefile.am (DIST_SUBDIRS): Added arm.
5628 2007-01-11 13:58 twisti
5630 * Moved loaded arm files.
5632 2007-01-10 10:08 twisti
5634 * src/vm/builtin.c (builtin_newarray): Removed debug output.
5636 2007-01-10 10:03 twisti
5638 * src/vm/suck.c (suck_add): Use vm_abort instead of
5639 throw_cacao_exception_exit.
5640 (suck_float, suck_double): Use exceptions_throw_internalerror.
5642 * src/vm/loader.c (load_class_bootstrap): Use vm_abort instead of
5643 throw_cacao_exception_exit.
5644 * src/vm/jit/sparc64/emit.c (emit_patcher_stubs): Likewise.
5645 * src/vm/jit/mips/md.c (md_patch_replacement_point): Likewise.
5646 * src/vm/vm.c (vm_create): Likewise.
5648 * src/vm/builtin.c (builtin_newarray): Use
5649 exceptions_throw_outofmemoryerror.
5651 * src/vm/descriptor.c (descriptor_pool_lookup_classref): Use
5652 exceptions_throw_internalerror.
5653 * src/vm/classcache.c (classcache_store_unique): Likewise.
5654 * src/vm/jit/powerpc/codegen.c (codegen): Likewise.
5655 * src/vm/jit/sparc64/codegen.c (codegen): Likewise.
5656 * src/vm/jit/alpha/codegen.c (codegen): Likewise.
5657 * src/vm/jit/mips/codegen.c (codegen): Likewise.
5658 * src/vm/jit/i386/codegen.c (codegen): Likewise.
5659 * src/vm/jit/powerpc64/codegen.c (codegen): Likewise.
5660 * src/vm/jit/intrp/codegen.c (codegen): Likewise.
5661 * src/vm/jit/x86_64/codegen.c (codegen): Likewise.
5662 * src/vm/jit/stack.c (stack_reanalyse_block): Likewise.
5663 (stack_analyse): Likewise.
5664 * src/vm/jit/verify/typeinfo.c (typeinfos_init_from_methoddesc):
5666 (typeinfo_init_component): Likewise.
5667 * src/vm/jit/verify/typecheck-builtins.inc: Likewise.
5668 * src/vm/jit/allocator/lsra.c (lsra_scan_registers_canditates):
5670 * src/vm/jit/allocator/simplereg.c (simplereg_allocate_temporaries):
5672 * src/vm/jit/allocator/liveness.c
5673 (liveness_scan_registers_canditates): Likewise.
5675 * src/vm/exceptions.c (exceptions_throw_outofmemory_exit): Removed.
5676 (new_internalerror): Removed.
5677 (exceptions_throw_internalerror): Rewritten.
5678 (exceptions_throw_outofmemoryerror): Added.
5680 * src/vm/exceptions.h: Likewise.
5682 * src/vm/utf8.c (utf_get_number_of_u2s): Use
5683 exceptions_throw_internalerror instead of throw_cacao_exception_exit.
5685 * src/native/native.c (native_init): Changed debug output.
5687 * src/mm/memory.c (memory_checked_alloc): Use vm_abort instead of
5688 exceptions_throw_outofmemory_exit.
5689 (mem_realloc): Changed debug output.
5690 * src/mm/boehm.c (gc_out_of_memory): Use vm_abort and
5691 exceptions_throw_outofmemoryerror.
5693 * src/cacaoh/cacaoh.c (cacaoh_abort): Added.
5694 (main): Use cacaoh_abort.
5696 * src/cacaoh/headers.c (throw_cacao_exception_exit): Removed.
5697 (exceptions_throw_outofmemory_exit): Likewise.
5698 (new_internalerror): Renamed to exceptions_throw_internalerror.
5699 (exceptions_throw_outofmemoryerror): Added.
5701 * src/vm/jit/tools/genoffsets.c (main): Don't print
5704 2007-01-10 09:28 twisti
5706 * src/vm/jit/parisc/linux/Makefile.am (libmd_la_SOURCES): Commented.
5708 2007-01-08 23:49 twisti
5710 * configure.ac: Added GPL header.
5712 2007-01-08 23:48 twisti
5714 * src/vm/vm.c (vm_create): Fixed off-by-one bug.
5716 2007-01-08 16:56 ajordan
5718 * src/vm/jit/sparc64/codegen.c: Fixed argument passing via the stack
5721 2007-01-07 20:56 ajordan
5723 * src/vm/jit/sparc64/codegen.c: Implemented INSTANCEOF and CHECKCAST
5725 * src/vm/jit/sparc64/patcher.c: and their respective patchers.
5727 * src/vm/jit/sparc64/codegen.h: Added comparison instructions.
5729 * src/vm/jit/sparc64/linux/md-os.c: Implemented instruction cache
5731 * src/vm/jit/sparc64/md.c: Likewise.
5733 2007-01-06 14:29 twisti
5735 * configure.ac: Check for libdl.
5737 2007-01-06 14:27 twisti
5739 * src/cacao/cacao.c (main): Print function name in error output.
5741 2007-01-06 01:27 edwin
5743 * src/vm/jit/inline/inline.c: Many refactorings and comments.
5745 2007-01-04 21:48 twisti
5747 * src/mm/memory.c (mem_realloc): Use vm_abort.
5749 2007-01-03 22:39 edwin
5751 * src/vm/jit/verify/typecheck-typeinferer.c: New type inference pass.
5752 * src/vm/jit/verify/typecheck-typeinferer.h: Likewise.
5754 * src/vm/jit/verify/typecheck-common.c: Moved code from typecheck.c
5755 that can be shared between the variables-based verifier and the
5756 type inference pass to this file.
5757 * src/vm/jit/verify/typecheck-common.h: Likewise.
5759 * src/vm/jit/verify/typecheck-multianewarray.inc: Moved code for
5760 type checking/infering MULTIANEWARRAY to this file.
5762 * src/vm/jit/verify/icmds.c: Adapted for generating the type
5764 * src/vm/jit/verify/typecheck-invoke.inc: Likewise.
5765 * src/vm/jit/verify/typecheck-fields.inc: Likewise.
5766 * src/vm/jit/verify/typecheck.c: Likewise.
5767 * src/vm/jit/verify/Makefile.am: Likewise.
5768 * src/vm/jit/verify/typecheck-builtins.inc: Likewise.
5770 * src/vm/jit/verify/typecheck-typeinferer-gen.inc: Generated.
5772 * src/vm/jit/verify/typecheck-stackbased-gen.inc: Regenerated.
5773 * src/vm/jit/verify/typecheck-variablesbased-gen.inc: Regenerated.
5775 2007-01-03 22:22 edwin
5777 * src/vm/jit/verify/icmds.c: Added comments.
5779 * src/vm/jit/verify/typecheck-stackbased-gen.inc,
5780 src/vm/jit/verify/typecheck-variablesbased-gen.inc: Regenerated.
5782 2007-01-03 22:20 edwin
5784 * src/vm/method.c, src/vm/method.h (method_count_implementations):
5787 2007-01-03 22:08 edwin
5789 * src/vm/jit/verify/generate.pl: Added options --typeinferer and
5790 --debug. Prepared for generating the type inference pass.
5792 2007-01-02 21:52 twisti
5794 * configure.ac (AC_CONFIG_FILES): Added
5795 src/vm/jit/parisc/linux/Makefile.
5796 * src/vm/jit/parisc/Makefile.am (SUBDIRS): Set to $(OS_DIR).
5797 * src/vm/jit/parisc/linux/Makefile.am: New file.
5799 2007-01-02 21:12 edwin
5801 * src/vm/jit/emit-common.h (emit_replacement_stubs): Only declare
5802 prototype if ENABLE_REPLACEMENT.
5804 2007-01-02 21:11 edwin
5806 * src/vm/jit/mips/codegen.c (codegen): Use REPLACEMENT_ macros.
5808 2007-01-02 20:50 edwin
5810 * src/vm/jit/jit.c (jit_invalidate_code): Require ENABLE_REPLACEMENT.
5812 2007-01-02 20:40 edwin
5814 * configure.ac: Added option --enable-replacement.
5816 * src/vm/jit/Makefile.am: Compile replace.c only for
5819 * src/vm/jit/replace.h: Define empty macros unless ENABLE_REPLACEMENT.
5821 * src/vm/jit/powerpc/emit.c: Enclosed replacement-specific code in
5822 #if ENABLE_REPLACEMENT.
5823 * src/vm/jit/powerpc/md.c: Likewise.
5824 * src/vm/jit/powerpc/asmpart.S: Likewise.
5825 * src/vm/jit/codegen-common.h: Likewise.
5826 * src/vm/jit/sparc64/emit.c: Likewise.
5827 * src/vm/jit/sparc64/md.c: Likewise.
5828 * src/vm/jit/alpha/emit.c: Likewise.
5829 * src/vm/jit/alpha/md.c: Likewise.
5830 * src/vm/jit/alpha/asmpart.S: Likewise.
5831 * src/vm/jit/code.c: Likewise.
5832 * src/vm/jit/code.h: Likewise.
5833 * src/vm/jit/tools/genoffsets.c: Likewise.
5834 * src/vm/jit/show.c: Likewise.
5835 * src/vm/jit/mips/emit.c: Likewise.
5836 * src/vm/jit/mips/md.c: Likewise.
5837 * src/vm/jit/mips/asmpart.S: Likewise.
5838 * src/vm/jit/powerpc64/md.c: Likewise.
5839 * src/vm/jit/powerpc64/asmpart.S: Likewise.
5840 * src/vm/jit/i386/emit.c: Likewise.
5841 * src/vm/jit/i386/md.c: Likewise.
5842 * src/vm/jit/i386/asmpart.S: Likewise.
5843 * src/vm/jit/asmpart.h: Likewise.
5844 * src/vm/jit/x86_64/emit.c: Likewise.
5845 * src/vm/jit/x86_64/md.c: Likewise.
5846 * src/vm/jit/x86_64/asmpart.S: Likewise.
5847 * src/vm/jit/codegen-common.c: Likewise.
5848 * src/vm/jit/jit.h: Likewise.
5850 2007-01-02 19:40 edwin
5852 * src/vm/jit/i386/codegen.c (codegen): Cleaned up to use REPLACEMENT_
5855 2007-01-02 16:20 twisti
5857 * tests/regression/jctest.java: Print hex numbers too.
5858 * tests/regression/jctest.output: Updated.