-2006-05-29 18:52 twisti
-
- * configure.ac (AC_INIT): Changed to version 0.96.
- (CFLAGS): Changed to -O2.
- * NEWS: Changed date.
-
-2006-05-29 15:51 twisti
-
- * src/vm/vm.c (usage): Removed new-line.
-
-2006-05-29 15:37 twisti
-
- * src/vm/vm.c (OPT_GLIBJ): Added.
- (Xusage): Added help for -Xglibj.
- (version): Changed signature for conditional exit.
- (main): Added OPT_GLIBJ. Print version after all commandline arguments
- have been handled.
-
-2006-05-29 15:21 edwin
-
- * src/vm/linker.c (link_class_intern): On i386 align all fields to
- just 4 bytes as gcc does. This makes the offsets of Java fields match
- the offset of native headers. This fixes a bug (java.lang.Double.value
- had been at offset 16, but java_lang_Double.value is offset 12).
-
-2006-05-29 15:17 twisti
-
- * src/threads/native/critical.h (signal.h): Added, build fix for some
- older Darwin systems.
-
-2006-05-29 14:32 twisti
-
- * NEWS: Added a lot of stuff.
-
-2006-05-29 14:31 twisti
-
- * src/cacao/Makefile.am: Renamed libcacaovm.so to libjvm.so to be
- binary compatible with Sun.
-
-2006-05-29 09:41 motse
-
- src/native/jni.c: removed jvmti.h included cacaodbg.h for GetEnv -
- jvmti
- src/native/vm/VMVirtualMachine.c: formatting changes/removed debug
- statements
- src/native/vm/VMMethod.c:
- (getName/getSignature/getModifiers/getLineTable): (Samuel Vinson) new
- implementation. (partially changed by motse)
- src/native/jvmti/cacaodbg.h: removed unused function declarations
- src/native/jvmti/jvmti.c (getcacaostacktrace): new implementation -
- does not yet handle traces of not current threads correctly.
- (GetMethodName): fix: return JVMTI_ERROR_NULL_POINTER only on method
- == NULL
- (GetFrameCount/GetStackTrace): fixed check for valid thread argument.
-
-2006-05-26 16:24 edwin
-
- * src/toolbox/logging.h (stdarg.h): Include it here, instead of in
- logging.c.
- * src/toolbox/logging.c: See above.
-
-2006-05-26 12:58 twisti
-
- * src/vm/jit/powerpc/linux/md-os.c (thread_restartcriticalsection):
- Removed assert.
- * src/vm/jit/powerpc/darwin/md-os.c (thread_restartcriticalsection):
- Compile fix. Removed assert.
-
-2006-05-26 12:46 edwin
-
- * NEWS: Added unicode cleanup.
-
-2006-05-26 12:44 edwin
-
- * NEWS: Added tasuki locks and other news.
-
-2006-05-26 12:31 motse
-
- src/native/jvmti/jvmti.c (GetClassStatus): bugfix - only compare
- class state
-
-2006-05-26 12:26 edwin
-
- * src/vm/jit/stacktrace.c (stacktrace_remove_stackframeinfo):
- Commented.
-
-2006-05-26 12:25 twisti
-
- * src/vm/jit/powerpc/linux/md-os.c (thread_restartcriticalsection):
- Implemented.
- * src/vm/jit/powerpc/darwin/md-os.c: Likewise.
-
-2006-05-26 12:19 edwin
-
- * src/vm/builtin.c (builtin_init): Documented.
- (builtin_trace_args): Documented.
- (builtin_displaymethodstop): Documented.
-
- * src/vm/jit/alpha/md-abi.c (md_param_alloc): Documented.
-
- * src/vm/jit/allocator/simplereg.c (allocate_scratch_registers):
- Documented.
-
- * src/vm/jit/codegen-common.c (methodtree_comparator): Documented.
- (codegen_insertmethod): Documented.
-
- * src/toolbox/util.c (getcwd): Documented.
-
-2006-05-26 12:09 edwin
-
- * src/vm/loader.h: Comment update.
-
- * src/vm/jit/verify/typecheck.c (verify_basic_block): Removed obsolete
- inlining check.
-
- * src/vm/jit/replace.c: Typo fixed.
-
- * src/vm/jit/reg.c: Avoid XXX as wildcard in comments.
- * src/vm/jit/jit.h: Likewise.
-
-2006-05-26 11:57 twisti
-
- * src/vm/properties.c (properties_system_add): Changed
- javastring_new_from_ascii to javastring_new_from_utf_string.
-
- * src/native/jni.c (ThrowNew): Use a variable for clazz.
- (JNI_CreateJavaVM): Release allocated memory if vm_create fails.
-
- * src/threads/native/threads.c: Comments reformatted.
-
-2006-05-26 11:48 edwin
-
- * src/vm/class.c (class_resolveclassmethod): Removed obsolete XXX
- comments.
- (class_resolveinterfacemethod): Likewise.
- (class_resolvefield): Likewise.
-
- * src/vm/classcache.h: Removed obsolete XXX comment.
-
- * src/vm/jit/allocator/lsra.h: Changed TYPE_XXX to TYPE_* in comments.
- * src/vm/jit/jit.c: Likewise.
-
- * src/native/vm/VMObject.c (Java_java_lang_VMObject_clone):
- Removed obsolete XXX comment.
-
- * src/mm/memory.c (dump_release): Removed obsolete debugging code.
-
-2006-05-26 11:22 edwin
-
- * src/native/jni.c (DefineClass): Use javastring_new_from_utf_string.
- (ThrowNew): Likewise.
-
-2006-05-26 09:30 twisti
-
- * src/mm/boehm.c (stackcall_malloc_atomic): Removed.
- (stackcall_malloc_uncollectable): Likewise.
- (heap_alloc_uncollectable): Use macros directly.
- (heap_allocate): Likewise.
-
- * src/vm/vm.c: Added -jvm options, which is available on darwin.
-
- * src/vm/suck.c (scandir_filter): Changed signature for darwin.
-
-2006-05-25 21:59 motse
-
- src/vm/vm.c(usage): added information for jvmti agent for jdwp
- (vm_create): jdwp code move to jvmti agent for jdwp (VMjdwp.c)
- src/cacao/cacao.c (main): jdwp code move to jvmti agent for jdwp.
- execute jvmti_set_phase only if needed
- src/native/jvmti/cacaodbg.c (setup_jdwp_thread): jdwp code move to
- jvmti agent for jdwp
- src/native/jvmti/VMjdwp.c: change this to a jvmti complaint agent by
- using jni/jvmti function instead of cacao specific functions and
- implement a Agent_OnLoad as main entry point. Include
- setup_jdwp_thread function.
- src/native/jvmti/Makefile.am: add libjdwp.so
- src/native/jvmti/cacaodbg.h: remove no more needed global jdwp
- related variables
- src/native/jvmti/jvmti.c: (Resume/SuspendThread(List)): add temporary
- implementation for trying jdwp
- (jvmti_agentload): bugfix in getting/passing libname/arguments
-
-2006-05-25 12:28 twisti
-
- * vm/jit/intrp/intrp.h (global_sp): Added space, yeah, whatever...
- * vm/jit/intrp/dynamic-super.c (vm/builtin.h): Added.
- (vm/jit/disass.h): Likewise.
- (gen_inst): Fixed compiler warnings.
- * vm/jit/intrp/java.vmg: Fixed compiler warnings with
- stacktrace_create_stackframeinfo.
- * threads/native/threads.h (threadobject): Changed type of _global_sp
- to u1*.
-
-2006-05-25 12:22 twisti
-
- * NEWS: Sorry.
-
-2006-05-25 12:21 twisti
-
- * src/vm/vm.c (HEAP_MAXSIZE): Changed to 128MB.
- (STACK_SIZE): Changed to 64kB.
- (Xusage): Calculate default sizes.
-
- * NEWS: New stuff added.
-
-2006-05-25 11:29 twisti
-
- * src/vm/jit/x86_64/md-emit.h (emit_movl_reg_reg): Added.
-
-2006-05-25 11:24 edwin
-
- * configure.ac: Disable inlining and lsra by default.
-
-2006-05-24 14:11 twisti
-
- * src/threads/native/threads.c (threads_startup_thread): Allocate Java
- stack on Java heap instead of hardware stack.
-
-2006-05-24 14:08 twisti
-
- * configure.ac: Added INTRP_CFLAGS.
- * src/vm/jit/intrp/Makefile.am (CFLAGS): Set to INTRP_CFLAGS.
-
-2006-05-24 11:00 motse
-
- src/vm/vm.c (vm_exit): only set JVMTI_PHASE_DEAD if a jvmti agent or
- a jvmti environment is loaded.
- src/native/jvmti/cacaodbg.c (jvmti_cacaodbgserver_quit): bugfix: set
- dbgcom = NULL only if all environments have been disposed.
- src/native/jvmti/jvmti.c (GetLoadedClasses): remove debug statement
-
-2006-05-23 19:52 motse
-
- src/vm/classcache.c: export CLASSCACHE_LOCK/UNLOCK and
- lock_hashtable_classcache
- src/vm/classcache.h: idem
- src/native/jvmti/jvmti.c (GetLoadedClasses) implemented (sv/motse)
- (GetClassSignature) fixed
-
-2006-05-23 15:31 motse
-
- src/vm/vm.c (vm_create): rename jvmti function calls
-
- src/cacao/cacao.c (main): rename jvmti function calls
-
- src/native/jni.c (GetEnv): rename jvmti function calls. jvmti version
- changed to JVMTI_VERSION_INTERFACE_JVMTI
-
- src/native/vm/VMVirtualMachine.c (getAllLoadedClassesCount): (Samuel
- Vinson) implemented.
- (getAllLoadedClassesCount): jvmti Deallocate call added. (sv):
- CallObjectMethod fix
- (getAllClassMethods): (Samuel Vinson) implemented.
- (getClassMethod): (Samuel Vinson) implemented.
-
- src/native/jvmti/jvmti.h: added JVMTI_VERSION interface and mask
-
- src/native/jvmti/cacaodbgserver.h: msg queue/shared mem related
- things removed. gdb related defines added.
-
- src/native/jvmti/dbg.h: remove ptrace related things
-
- src/native/jvmti/cacaodbg.c change setsysbrkpt name to
- jvmti_set_system_breakpoint, addbrkpt to jvmti_add_breakpoint,
- allthreads to jvmti_get_all_threads
- (jvmti_cacao_debug_init): new function where fork/exec of
- cacaodbgserver takes place
- (jvmti_set_system_breakpoint): added functionality for brkpt delete
- and asm label for cacaodbgserver support
- (jvmti_cacaodbgserver_quit): new function for killing cacaodbgserver
- properly
- (jvmti_cacao_generic_breakpointhandler): new function. This is the
- entry point for every breakpointhandler and start for a new jvmti
- event
- (jvmti_cacao_debug_init): new function for starting up
- cacaodbgserver process.
-
- src/native/jvmti/VMjdwp.c (jvmti_VMjdwpInit): function renamed
-
- src/native/jvmti/Makefile.am: delete dbg.c. (sv) add compile/install
- support for cacaodbgserver.
-
- src/native/jvmti/cacaodbg.h: breakpoint counter added to struct
- _brkpt. change setsysbrkpt name to jvmti_set_system_breakpoint,
- addbrkpt to jvmti_add_breakpoint, allthreads to
- jvmti_get_all_threads, fireEvent to jvmti_fireEvent, agentload to
- jvmti_agentload agentunload to jvmti_agentunload, getcurrentthread to
- jvmti_get_current_thread, set_jvmti_phase to jvmti_set_phase,
- new_jvmtienv to jvmti_new_environment, VMjdwpinit to
- jvmti_VMjdwpInit. added breakpoint table constants. removed global
- jdwp, jvmti, suspend, transport, agentarg variables
-
- src/native/jvmti/jvmti.c all jvmti-environment function changed to
- static functions. execcallback renamed to execute_callback. fireEvent
- renamed to jvmti_fireEvent.
- (execute_callback): add phase checks
- (GetClassMethods): bugfix in copying jmethodIDs
- (DisposeEnvironment): relocate work to jvmti_cacaodbgserver_quit
- (jvmti_new_environment) : relocate forking new process to
- jvmti_cacao_debug_init
- (CHECK_ADD_CAPABILITY): bugfix in adding capabilities
- (GetClassMethods): bugfix coping methodinfo pointers
- (SetEventNotificationMode): setsysbrkpt calls added.
- rename jvmti function names.
-
- src/native/jvmti/cacaodbgserver.c changed to support gdb insted of
- using ptrace directly.
- (getchildprocptrace): removed
- (waitloop): removed
- (startgdb): new function. start a new gdb session.
- (getgdboutput): new helper function for getting gdb output.
- (dataevaluate): new helper function for getting value for a given
- expression
- (commonbreakpointhandler): new function which handles SIGTRAPs and
- gdb breakpoint hits.
- (controlloop) : new function handle communication with gdb
- (main): removed old code. added calls to startgdb and controlloop
-
- src/native/jvmti/dbg.c removed
-
- src/threads/native/threads.h: removed
- threads_set_current_threadobject. added jvmti_get_threads_breakpoints
-
- src/threads/native/threads.c: (threads_startup_thread) add thread
- start/end asm lables
- (threads_set_current_threadobject): removed jvmti thread start
- support.
- (jvmti_get_threads_breakpoints) new function that gets addresses of
- asm lables.
-
- src/threads/native/lock.h: added definition of lock_global_pool_lock
- and lock_global_pool
-
-2006-05-23 08:51 twisti
-
- * src/vm/jit/x86_64/codegen.c: Changed the code generator to produce
- RISC-like code. These are way too much changes to name them.
- (createnativestub): Bugfix in argument saving.
+2008-06-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * configure.ac:
+ * configure.ac (AC_INIT): Bumped version to 0.99. (OPT_CFLAGS): Set
+ to -O2.
+ [ea12d8e7f38d] [tip]
+
+ * NEWS:
+ * NEWS: Added latest 0.99 news.
+ [3d976222eac4]
+
+ * src/vm/properties.c:
+ * src/vm/properties.c (properties_set): Changed java.vm.vendor to
+ CACAOVM - Verein zur Foerderung der freien virtuellen Maschine
+ CACAO.
+ [801e8faac4a0]
+
+ * .hgignore, configure.ac, tests/regression/Makefile.am,
+ tests/regression/base/All.java, tests/regression/base/Makefile.am,
+ tests/regression/base/TestExceptionInStaticClassInitializer.java,
+ tests/regression/base/TestPatcher.java,
+ tests/regression/junit/All.java, tests/regression/junit/Makefile.am,
+ tests/regression/junit/TestExceptionInStaticClassInitializer.java,
+ tests/regression/junit/TestPatcher.java:
+ * .hgignore: Removed tests/regression/junit/*.class, added
+ tests/regression/base/*.class.
+ * configure.ac (AC_CONFIG_FILES): Removed
+ tests/regression/junit/Makefile, added
+ tests/regression/base/Makefile.
+ * tests/regression/Makefile.am (SUBDIRS): Removed junit, added base.
+ * tests/regression/junit/All.java, tests/regression/junit/Makefile.am,
+ tests/regression/junit/TestExceptionInStaticClassInitializer.java,
+ tests/regression/junit/TestPatcher.java: Moved from here...
+ * tests/regression/base/All.java, tests/regression/base/Makefile.am,
+ tests/regression/base/TestExceptionInStaticClassInitializer.java,
+ tests/regression/base/TestPatcher.java: ...to here.
+ [c08a0a544e42]
+
+2008-06-13 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * configure.ac:
+ * configure.ac: Bumped _XOPEN_SOURCE version to 600.
+ [fcabb9585a21]
+
+ * src/vm/builtin.c, tests/regression/bugzilla/All.java,
+ tests/regression/bugzilla/PR80.java:
+ Fixes PR80.
+ * src/vm/builtin.c (builtin_arraycopy): Fixed range checks, cast to
+ unsigned values.
+ * tests/regression/bugzilla/All.java (suite): Added PR80.
+ * tests/regression/bugzilla/PR80.java: New file.
+ [75bfed30df25]
+
+ * autogen.sh:
+ * autogen.sh (CACAO_ACLOCAL): Added aclocal-1.10. (CACAO_AUTOMAKE):
+ Added automake-1.10.
+ [f1f4b00872fb]
+
+2008-06-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * configure.ac:
+ * configure.ac (AC_INIT): Bumped version to 0.99rc7.
+ (AM_INIT_AUTOMAKE): Added tar-ustar for long filename support
+ (thanks to Mark Wielaard). (OPT_CFLAGS): Only use -g to be portable.
+ [b35960d5977e]
+
+ * src/vm/vm.c:
+ * src/vm/vm.c (vm_run): Fixed compiler warning.
+ [62e3843fdbfa]
+
+ * src/vm/jit/i386/darwin/md-os.c:
+ * src/vm/jit/i386/darwin/md-os.c: Ported to UNIX03
+ (__DARWIN_UNIX03).
+ [f8847b43a1aa]
+
+ * src/threads/posix/thread-posix.c:
+ * src/threads/posix/thread-posix.c (threads_startup_thread)
+ [__DARWIN__]: Don't register the thread to Boehm-GC, it's not
+ implemented yet.
+ [dfff3126e8cb]
+
+ * configure.ac, src/vm/global.h:
+ * configure.ac (INTRP_CFLAGS, ARCH_CFLAGS): Use -std=c99 instead of
+ -ansi and bumped _POSIX_C_SOURCE to version 200112L.
+ (AC_CHECK_HEADERS): Added stdbool.h and stdint.h.
+ * src/vm/global.h (boolm true, false): Removed.
+ [f2cd982f6ab5]
+
+ * src/vm/jit/x86_64/emit.c:
+ * src/vm/jit/x86_64/emit.c (emit_store): Removed inline keyword.
+ [6c549a21d7ec]
+
+ * src/toolbox/set.c, src/toolbox/set.h:
+ * src/toolbox/set.c (config.h): Added. (vm/global.h): Likewise.
+ * src/toolbox/set.h (config.h): Likewise.
+ [7b5a9fbd4309]
+
+ * * Merged with tip.
+ [e195cdba0d70]
+
+ * configure.ac, m4/dl.m4, m4/ltdl.m4, src/cacao/cacao.c,
+ src/native/native.c, src/native/native.h,
+ src/native/vm/gnuclasspath/java_lang_VMRuntime.c,
+ src/vmcore/system.h:
+ * configure.ac (AC_CHECK_ENABLE_LTDL): Removed.
+ (AC_CHECK_ENABLE_DL): Added.
+ * m4/ltdl.m4: Removed.
+ * m4/dl.m4: New file.
+
+ * src/cacao/cacao.c [ENABLE_LIBJVM] (ltdl.h): Removed.
+ (vmcore/system.h): Added. (LIBJVM_NAME): New define. (main): Use
+ system_dl* functions.
+
+ * src/native/native.c: Replaced ltdl stuff with sytem_dl* stuff.
+ * src/native/native.h (NATIVE_LIBRARY_PREFIX): New define.
+ (NATIVE_LIBRARY_SUFFIX): Likewise.
+
+ * src/native/vm/gnuclasspath/java_lang_VMRuntime.c (mapLibraryName):
+ Use NATIVE_LIBRARY_* defines.
+
+ * src/vmcore/system.h [HAVE_DLFCN_H] (dlfcn.h): Added.
+ (system_dlclose): New function. (system_dlerror): Likewise.
+ (system_dlopen): Likewise. (system_dlsym): Likewise.
+ [9ce78261b91c]
+
+ * src/native/include/Makefile.am:
+ * src/native/include/Makefile.am (VM_ZIP) [ENABLE_ZLIB]: Added if.
+ [aba8982958ea]
+
+ * src/vm/jit/i386/darwin/md-os.c:
+ * src/vm/jit/i386/darwin/md-os.c: Fixed indent.
+ [377f38200eb2]
+
+ * src/native/jni.c, src/threads/posix/thread-posix.c,
+ src/threads/posix/thread-posix.h, src/threads/thread.c,
+ src/threads/thread.h, src/vm/vm.c:
+ Fixes PR77.
+ * src/native/jni.c (jni_attach_current_thread): Call
+ thread_attach_current_external_thread instead of
+ threads_attach_current_thread. (_Jv_JNI_AttachCurrentThread):
+ Renamed to jni_AttachCurrentThread. (_Jv_JNI_DetachCurrentThread):
+ Renamed to jni_DetachCurrentThread, call
+ thread_detach_current_external_thread instead of
+ threads_detach_thread. (_Jv_JNI_AttachCurrentThreadAsDaemon):
+ Renamed to jni_AttachCurrentThreadAsDaemon.
+
+ * src/threads/posix/thread-posix.c (threads_startup_thread)
+ [ENABLE_GC_BOEHM]: Call GC_register_my_thread. Call
+ thread_detach_current_thread instead of threads_detach_thread.
+ (threads_detach_thread): Removed. (thread_detach_current_thread):
+ New function.
+ * src/threads/posix/thread-posix.h (threads_detach_thread): Removed.
+
+ * src/threads/thread.c [ENABLE_GC_BOEHM] (mm/boehm-gc/include/gc.h):
+ Added. (threads_attach_current_thread): Renamed to
+ thread_attach_current_thread.
+ (thread_attach_current_external_thread): New function.
+ (thread_detach_current_external_thread): Likewise.
+ * src/threads/thread.h (threads_attach_current_thread): Removed.
+ (thread_attach_current_thread): Added.
+ (thread_attach_current_external_thread): Likewise.
+ (thread_detach_current_thread): Likewise.
+ (thread_detach_current_external_thread): Likewise.
+
+ * src/vm/vm.c (vm_run): Call thread_detach_current_thread instead of
+ threads_detach_thread. (vm_destroy): Call
+ thread_attach_current_thread instead of
+ threads_attach_current_thread.
+ [9aa5016cca58]
+
+2008-06-12 Stefan Ring <stefan@complang.tuwien.ac.at>
+
+ * .hgtags:
+ Oops. Corrected cacao-0.97 tag.
+ [1bcb1eb6f00b]
+
+ * .hgtags:
+ Added tag cacao-0.98 for changeset 430cdebdf7d1
+ [93eb8ccd253b]
+
+ * .hgtags:
+ Added tag cacao-0.97 for changeset 430cdebdf7d1
+ [32222043ce3e]
+
+2008-06-09 Stefan Ring <stefan@complang.tuwien.ac.at>
+
+ * src/cacaoh/dummy.c, src/vm/builtin.c, src/vm/builtin.h, src/vm/jit
+ /emit-common.h, src/vm/jit/x86_64/codegen.c,
+ src/vm/jit/x86_64/codegen.h, src/vm/jit/x86_64/emit.c,
+ src/vm/jit/x86_64/emit.h, src/vmcore/class.c, src/vmcore/linker.c,
+ src/vmcore/linker.h:
+ * src/vm/builtin.c: Added fast_subtype_check.
+ (builtin_fast_canstore, builtin_fast_canstore_onedim,
+ builtin_fast_canstore_onedim_class): Using fast subtype check. Don't
+ need to lock linker_classrenumber_lock anymore.
+ * src/vm/builtin.h: Added fast_subtype_check.
+
+ * src/vm/jit/emit-common.h: Added more branch labels.
+
+ * src/vm/jit/x86_64/codegen.c (gen_method): New subtype checking
+ code.
+ * src/vm/jit/x86_64/codegen.h: Added some new mnemonics.
+ * src/vm/jit/x86_64/emit.c: New mnemonics. (emit_classcast_check): New
+ branch modes.
+ * src/vm/jit/x86_64/emit.h: New mnemonics.
+ * src/vmcore/class.c (class_isanysubclass): Using fast_subtype_check.
+
+ * src/vmcore/linker.c: Removed linker_classrenumber_lock.
+ (build_display): Implemented. (link_class_intern, link_array,
+ linker_compute_subclasses): Minor changes.
+
+ * src/vmcore/linker.h: Removed linker_compute_subclasses. Added
+ subtype-related fields to _vftbl.
+
+ * src/cacaoh/dummy.c: Added fast_subtype_check (link dependency).
+ [f4d2cd262a58]
+
+2008-06-11 Stefan Ring <stefan@complang.tuwien.ac.at>
+
+ * src/vm/jit/i386/codegen.c, src/vm/jit/i386/codegen.h,
+ src/vm/jit/i386/emit.c, src/vm/jit/i386/emit.h,
+ src/vm/jit/x86_64/codegen.c, src/vm/jit/x86_64/codegen.h,
+ src/vm/jit/x86_64/emit.c, src/vm/jit/x86_64/emit.h:
+ Fixes PR72.
+ * src/vm/jit/i386/codegen.c (codegen_emit_stub_native): Return value
+ expansion in native stubs (for gcc 4.3).
+ * src/vm/jit/x86_64/codegen.c (codegen_emit_stub_native): Likewise.
+
+ * src/vm/jit/i386/codegen.h: Added more value extension operations.
+ * src/vm/jit/i386/emit.c: Likewise.
+ * src/vm/jit/i386/emit.h: Likewise.
* src/vm/jit/x86_64/codegen.h: Likewise.
* src/vm/jit/x86_64/emit.c: Likewise.
- * src/vm/jit/x86_64/md-emit.h: Likewise.
-
-2006-05-23 08:42 twisti
-
- * src/vm/options.c (opt_heapmaxsize, opt_heapstartsize): Added.
- * src/vm/options.h: Likewise.
-
- * src/vm/vm.c (version): Print heap and stack information.
- (vm_create): Use global option variables.
-
-2006-05-23 08:25 twisti
-
- * src/vm/jit/x86_64/emit.c (emit_movl_reg_reg): New function.
-
- * src/vm/jit/x86_64/codegen.c (ICMD_L2I): Only move the low
- 32-bit. Otherwise this may cause a bug with e.g. array accesses, as
- the index registers are treated as 64-bit.
-
- * src/vm/jit/x86_64/codegen.h (gen_bound_check): Bugfix: only read
- 32-bit.
- (M_IMOV): Added.
- (M_ICMP_MEMBASE): Likewise.
-
-2006-05-22 16:14 twisti
-
- * configure.ac: Added --with-classpath-includedir.
-
-2006-05-22 09:07 twisti
-
- * NEWS: Some news.
-
-2006-05-22 09:06 twisti
-
- * src/vm/vm.c (vm_abort): New method.
- * src/vm/vm.h: Likewise.
- * src/cacaoh/headers.c: Likewise.
-
- * src/toolbox/logging.c (log_vprint): Made non-static.
- * src/toolbox/logging.h (log_vprint): Added.
-
- * src/threads/native/threads.c (threads_sem_init): Use vm_abort.
- (threads_sem_wait): Likewise.
- (threads_sem_post): Likewise.
- (threads_current_time_is_earlier_than): Likewise.
- (threads_init): Check for pthread_attr_init error.
- (threads_start_thread): Check for errors of pthread calls. Set the
- threads stack size.
-
-2006-05-18 14:33 edwin
-
- * src/threads/native/lock.h, src/threads/native/lock.c: Tasuki lock
- implementation (without lock deflation). This is a straight-forward
- implementation that uses an extra word in java_objectheader for the
- FLC (flat lock contention) bit.
-
- * src/vm/global.h (java_objectheader): Added field `flcword`.
-
- * src/threads/native/lock.h (Authors): Changed to myself, as there
- is none of the old code remaining in this file.
-
- * src/vm/jit/powerpc/codegen.c, src/vm/jit/alpha/codegen.c,
- src/vm/jit/mips/codegen.c, src/vm/jit/i386/codegen.c,
- src/vm/jit/x86_64/codegen.c (codegen, createnativestub): Add the
- FLC word when creating the fake object header for patcher
- synchronization.
-
-2006-05-18 14:06 twisti
-
- * src/vm/properties.c (properties_get): Search the list backwards to
- get the newest entry.
-
-2006-05-18 12:50 twisti
-
- * src/vm/vm.c (version): Print default and runtime classpath
- variables.
- (vm_create): Add a default java.endorsed.dirs property.
-
-2006-05-17 22:06 twisti
-
- * configure.ac: Don't export BOOTCLASSPATH, that makes problems.
-
-2006-05-17 12:10 twisti
-
- * src/vm/jit/powerpc/codegen.c (createnativestub): Fixed bug and
- changed argument saving and restoring.
-
- * src/vm/jit/powerpc/asmpart.S (asm_vm_call_method): Partially
- implemented Darwin bits. Still some bugs with testarguments.
-
-2006-05-16 13:08 twisti
-
- * src/vm/jit/powerpc/codegen.c (codegen): Bugfix: use REG_ITMP3 in
- ICMD_L{DIV,REM} for function address. This fixes
- gnu.testlet.java.math.BigInteger.divide.
-
-2006-05-16 01:49 edwin
-
- * src/threads/native/lock.c: Fixed comment formatting.
-
-2006-05-15 23:37 edwin
-
- * src/vm/jit/i386/machine-instr.h (compare_and_swap): Fixed comment.
-
-2006-05-15 23:31 twisti
-
- * configure.ac: Export BOOTCLASSPATH for javac check.
- * src/cacao/Makefile.am (cacao_SOURCES)Removed cacao.h.
- * src/vm/jit/inline/Makefile.am (libinline_la_SOURCES): Added
- inline_debug.inc.
- * src/vm/jit/powerpc/Makefile.am (DIST_SUBDIRS): Added netbsd.
-
-2006-05-15 23:22 edwin
-
- * src/vm/jit/inline/inline_debug.c: Renamed to
- src/vm/jit/inline/inline_debug.inc.
-
- * src/vm/jit/inline/inline.c: #include changed to
- src/vm/jit/inline/inline_debug.inc.
-
- * src/vm/resolve.c: Typo fixed.
-
-2006-05-15 21:48 edwin
-
- * src/threads/native/lock.c (lock_record_remove_waiter): Made static.
- (lock_monitor_wait): Likewise.
-
-2006-05-15 21:32 edwin
-
- * src/threads/native/lock.h, src/threads/native/lock.c
- (lock_does_thread_hold_lock): Renamed to
- lock_is_held_by_current_thread
- and removed thread argument, as reliable checking is only possible for
- the current thread, anyway.
-
- * src/native/vm/VMThread.c (lock_does_thread_hold_lock): Changed to
- lock_is_held_by_current_thread.
-
- * src/native/jvmti/jvmti.c (lock_does_thread_hold_lock): Changed to
- lock_is_held_by_current_thread.
-
-2006-05-15 18:24 edwin
-
- * configure.ac (src/threads/green/Makefile): Removed from
- AC_CONFIG_FILES.
-
-2006-05-15 15:06 edwin
-
- * src/threads/native/lock.h (lock_record_pool_header_t): Documented.
- (lock_record_pool_t): Documented.
-
- * src/threads/native/lock.c: Minor whitespace cleanup.
-
-2006-05-15 14:40 twisti
-
- * THIRDPARTY: Removed green threads stuff.
-
-2006-05-15 14:39 twisti
-
- * src/vm/jit/alpha/asmpart.S (asm_perform_threadswitch)
- (asm_initialize_thread_stack, asm_switchstackandcall): Removed (2nd
- part of green threads removal).
- * src/vm/jit/mips/asmpart.S: Likewise.
- * src/vm/jit/i386/asmpart.S: Likewise.
- * src/vm/jit/x86_64/asmpart.S: Likewise.
-
-2006-05-15 14:24 twisti
-
- * src/vm/hashtable.h,
- src/vm/class.c,,
- src/vm/suck.c,
- src/vm/loader.c,
- src/vm/builtin.c,
- src/vm/string.c,
- src/vm/suck.h,
- src/vm/builtin.h,
- src/vm/loader.h,
- src/vm/finalizer.c,
- src/vm/classcache.c,
- src/vm/initialize.c,
- src/vm/jit/powerpc/linux/md-os.c,
- src/vm/jit/powerpc/netbsd/md-os.c,
- src/vm/jit/powerpc/darwin/md-os.c,
- src/vm/jit/powerpc/darwin/md-asm.h,
- src/vm/jit/powerpc/codegen.c,
- src/vm/jit/powerpc/asmpart.S,
- src/vm/jit/codegen-common.h,
- src/vm/jit/alpha/codegen.c,
- src/vm/jit/alpha/linux/md-os.c,
- src/vm/jit/alpha/asmpart.S,
- src/vm/jit/alpha/freebsd/md-os.c,
- src/vm/jit/stack.c,
- src/vm/jit/code.c,
- src/vm/jit/verify/typecheck.c,
- src/vm/jit/mips/codegen.c,
- src/vm/jit/mips/linux/md-os.c,
- src/vm/jit/mips/asmpart.S,
- src/vm/jit/mips/irix/md-os.c,
- src/vm/jit/patcher.h,
- src/vm/jit/inline/inline.c,
- src/vm/jit/allocator/simplereg.c,
- src/vm/jit/i386/codegen.c,
- src/vm/jit/i386/linux/md-os.c,
- src/vm/jit/i386/asmpart.S,
- src/vm/jit/i386/freebsd/md-os.c,
- src/vm/jit/parse.c,
- src/vm/jit/intrp/intrp.h,
- src/vm/jit/intrp/codegen.c,
- src/vm/jit/intrp/engine.c,
- src/vm/jit/intrp/asmpart.c,
- src/vm/jit/intrp/dynamic-super.c,
- src/vm/jit/intrp/java.vmg,
- src/vm/jit/asmpart.h,
- src/vm/jit/x86_64/md.c,
- src/vm/jit/x86_64/codegen.c,
- src/vm/jit/x86_64/asmpart.S,
- src/vm/jit/profile/profile.c,
- src/vm/jit/stacktrace.c,
- src/vm/jit/jit.c,
- src/vm/jit/stacktrace.h,
- src/vm/jit/codegen-common.c,
- src/vm/jit/jit.h,
- src/vm/global.h,
- src/vm/builtintable.inc,
- src/vm/signal.c,
- src/vm/exceptions.c,
- src/vm/vm.c,
- src/vm/linker.c,
- src/vm/exceptions.h,
- src/vm/utf8.c,
- src/vm/hashtable.c,
- src/cacao/cacao.c,
- src/cacao/Makefile.am,
- src/native/tools/Makefile.am,
- src/native/tools/gennativetable.c,
- src/native/jni.c,
- src/native/vm/VMObject.c,
- src/native/vm/VMThread.c,
- src/native/jni.h,
- src/native/native.c,
- src/native/jvmti/cacaodbg.c,
- src/native/jvmti/cacaodbg.h,
- src/native/jvmti/jvmti.c,
- src/toolbox/avl.c,
- src/toolbox/logging.c,
- src/toolbox/avl.h,
- src/mm/boehm.h,
- src/mm/memory.c,
- src/mm/boehm.c,
- src/threads/green,
- src/threads/native/threads.h,
- src/threads/native/threads.c,
- src/threads/Makefile.am,
- src/cacaoh/cacaoh.c,
- src/cacaoh/headers.h,
- src/cacaoh/Makefile.am,
- src/cacaoh/headers.c,
- configure.ac: Green threads removal, USE_THREADS renamed to
- ENABLE_THREADS, NATIVE_THREADS define removed.
-
-2006-05-15 13:13 twisti
-
- * src/vm/jit/asmpart.h (calljava_xhandler2): Not required anymore.
-
-2006-05-15 12:23 twisti
-
- * src/threads/native/threads.c (sem_init, sem_post, sem_wait)
- (sem_destroy): Added a pthread implementation (taken from Boehm-GC)
- for Darwin, as Darwin does not have an implementation for these
- functions.
- * src/threads/native/threads.h (sem_t): Added structure for Darwin.
- * src/threads/native/lock.h (semaphore.h): Removed.
-
-2006-05-15 12:14 edwin
-
- * src/threads/native/lock.c (THIN_UNLOCKED): Abstracted out the thin
- unlocked state so we can toggle the shape bit meaning if we want.
- (lock_pre_compute_thinlock): Likewise.
- (lock_get_initial_lock_word): Likewise.
- (lock_monitor_enter): Made void. Might save an instruction here and
- there.
- (lock_monitor_wait): lock_monitor_enter no longer returns the lock
- record. Assert that it is still the same fat lock (it must be).
-
-2006-05-15 11:34 edwin
-
- * src/threads/native/lock.c: Added reference to thin lock paper and
- explained the lockword format.
-
-2006-05-14 22:41 edwin
-
- * src/threads/native/lock.c: Thin lock implementation.
-
- * src/threads/native/threads.h (threadobject): Added thinlock field.
- (Authors, Changes): Moved myself to Authors because of rewrite.
-
- * src/threads/native/threads.c (threads_preinit): Init index and
- thinlock field of mainthreadobj here. (Needed early.)
- (threads_table_add): Init pre-computed thinlock field here.
-
- * src/threads/native/lock.h (lock_pre_compute_thinlock): New function.
-
-2006-05-14 22:36 edwin
-
- * src/threads/native/lock.c (lock_record_free_pools): Assert that
- this function is not called. It does not match the new way lock
- records are handled. We must find another way to free them.
-
- * src/threads/native/threads.c (threads_init): Do not call
- lock_record_free_pools.
- (threads_table_add): Removed debug code.
- (threads_startup_thread): Likewise.
-
-2006-05-14 15:34 edwin
-
- * src/threads/native/threads.c (threads_table_init): New function.
- (threads_table_add): New function.
- (threads_table_remove): New function.
- (threads_table_dump): New function.
- (threads_table): New global variable.
- (threads_preinit): Call threads_table_init.
- Call threads_table_add to add main thread.
- (threads_init_threadobject): Initialize index to 0.
- (threads_startup_thread): Call threads_table_add to add the thread
- to the table, and threads_table_remove to remove if afterwards.
-
-2006-05-14 14:02 edwin
-
- * src/threads/native/threads.h, src/threads/native/threads.c
- (nativethread): Removed. This struct is now inlined in threadobject.
- (threads_table_entry_t): New type.
- (threads_table_t): New type.
- Some further cleanup.
-
- * src/vm/builtin.h (THREADINFO): Becomes THREADOBJECT.
-
- * src/vm/jit/intrp/intrp.h (THREADINFO): Becomes THREADOBJECT.
-
- * src/vm/jit/stacktrace.c (_stackframeinfo): This is now directly
- a field of threadobject.
-
- * src/vm/jit/stacktrace.h (THREADINFO): Becomes THREADOBJECT.
-
- * src/native/jni.h (THREADINFO): Becomes THREADOBJECT.
-
- * src/native/jvmti/jvmti.c (isSleeping): Renamed to sleeping.
-
-2006-05-14 12:22 edwin
-
- * src/threads/native/lock.c, src/threads/native/lock.h: Rewritten
- as a very basic fat lock implementation.
-
- * src/vm/jit/powerpc64/arch.h (USE_MD_THREAD_STUFF): Renamed to
- USE_FAKE_ATOMIC_INSTRUCTIONS.
-
- * src/vm/jit/intrp/engine.c (USE_MD_THREAD_STUFF): Renamed to
- USE_FAKE_ATOMIC_INSTRUCTIONS.
-
- * src/threads/native/threads.c (USE_MD_THREAD_STUFF): Renamed to
- USE_FAKE_ATOMIC_INSTRUCTIONS.
- (ee.lrpool): Renamed to ee.lockrecordpools.
-
-2006-05-14 12:15 edwin
-
- * src/threads/native/threads.c (threads_calc_absolute_time): Optimize
- waiting for the maximum 64-bit number of milliseconds to an unbounded
- wait. This also avoids an overflow problem we seem to have with timed
- waits.
-
-2006-05-13 23:25 edwin
-
- * src/threads/native/lock.c (lock_init_thread_lock_record_pool):
- Renamed to lock_init_execution_env. Cleanup and Comments.
-
- * src/threads/native/lock.h (lock_init_thread_lock_record_pool):
- Renamed to lock_init_execution_env.
-
- * src/threads/native/threads.c (lock_init_thread_lock_record_pool):
- Renamed to lock_init_execution_env.
-
-2006-05-13 23:10 edwin
-
- * src/threads/native/threads.c, src/threads/native/threads.c: Further
- cleanup. Still no functional changes.
- Renamed external symbols are listed below.
-
- * src/threads/native/critical.h, src/threads/native/critical.c:
- Cleanup.
-
- * src/threads/native/lock.h: Cleanup.
-
- * src/vm/jit/profile/profile.c (thread_sleep): Renamed to
- threads_sleep.
-
- * src/vm/vm.c (joinAllThreads): Renamed to threads_join_all_threads.
-
- * src/native/jni.c (thread_getself): Renamed to
- threads_get_current_threadobject.
-
- * src/native/vm/VMThread.c (thread): Typedef `thread` has been
- removed.
- (interruptThread): Renamed to threads_interrupt_thread.
- (isInterruptedThread): Renamed to threads_thread_has_been_interrupted.
- (setPriorityThread): Renamed to threads_java_lang_Thread_set_priority.
- (yieldThread): Renamed to threads_yield.
- (interruptedThread): Renamed to
- threads_check_if_interrupted_and_reset.
-
- * src/native/jvmti/cacaodbg.c (thread_getself): Renamed to
- threads_get_current_threadobject.
- (setthreadobject): Renamed to threads_set_current_threadobject.
-
- * src/native/jvmti/jvmti.c (setthreadobject): Renamed to
- threads_set_current_threadobject.
-
- * src/threads/green/threads.h (yieldThread): Renamed to threads_yield.
- (setPriorityThread): Renamed to threads_java_lang_Thread_set_priority.
-
- * src/threads/green/threads.c (yieldThread): Renamed to threads_yield.
- (setPriorityThread): Renamed to threads_java_lang_Thread_set_priority.
-
-2006-05-12 16:49 edwin
-
- * src/threads/native/threads.c: The Big Thread Cleanup. No functional
- changes,
- only code motion, renaming, documenting. This file has been split into
- threads.c, lock.c, and critical.c.
- Externally used symbols that were renamed are listed below. Static
- symbol
- renames are not listed.
-
- * src/threads/native/threads.h: The Big Thread Cleanup. No functional
- changes,
- only code motion, renaming, documenting. This file has been split into
- threads.h, lock.h, and critical.h.
-
- * src/cacaoh/cacaoh.c (initLocks): Renamed to lock_init (green
- threads).
-
- * src/cacaoh/headers.c (threadcritnode): Renamed to
- critical_section_node_t.
-
- * src/mm/memory.c (initObjectLock): Renamed to lock_init_object_lock.
-
- * src/native/jvmti/jvmti.c (lockRecordPool): Renamed to
- lock_record_pool_t.
- (pool_lock): Renamed to lock_global_pool_lock.
- (global_pool): Renamed to lock_global_pool.
- (ownerThread): Renamed to owner.
- (threadHoldsLock): Renamed to lock_does_thread_hold_lock.
- (monitorExit): Renamed to lock_monitor_exit.
- (wait_cond_for_object): Renamed to lock_wait_for_object.
- (signal_cond_for_object): Renamed to lock_notify_object.
- (broadcast_cond_for_object): Renamed to lock_notify_all_object.
-
- * src/native/tools/gennativetable.c (initLocks): Renamed to lock_init
- (green threads).
-
- * src/native/vm/VMObject.c (initObjectLock): Renamed to
- lock_init_object_lock.
- (wait_cond_for_object): Renamed to lock_wait_for_object.
- (signal_cond_for_object): Renamed to lock_notify_object.
- (broadcast_cond_for_object): Renamed to lock_notify_all_object.
-
- * src/native/vm/VMThread.c (threadHoldsLock): Renamed to
- lock_does_thread_hold_lock.
-
- * src/threads/green/locks.c, src/threads/green/locks.h
- (initLocks): Renamed to lock_init.
- (wait_cond_for_object): Renamed to lock_wait_for_object.
- (signal_cond_for_object): Renamed to lock_notify_object.
- (broadcast_cond_for_object): Renamed to lock_notify_all_object.
- (internal_broadcast_cond_for_object): Renamed to
- internal_lock_notify_all_object.
-
- * src/threads/green/threads.c (initLocks): Renamed to lock_init.
- (internal_broadcast_cond_for_object): Renamed to
- internal_lock_notify_all_object.
-
- * src/threads/native/Makefile.am (lock.c, lock.h): Added new files.
- (critical.c, critical.h): Added new files.
- (Changes): Added my name.
-
- * src/threads/native/critical.c: New file.
-
- * src/threads/native/critical.h: New file.
-
- * src/threads/native/lock.c: New file.
-
- * src/threads/native/lock.h: New file.
-
- * src/toolbox/avl.c (initObjectLock): Renamed to
- lock_init_object_lock.
-
- * src/vm/builtin.c (initObjectLock): Renamed to lock_init_object_lock.
- (monitorEnter): Renamed to lock_monitor_enter.
- (monitorExit): Renamed to lock_monitor_exit.
-
- * src/vm/class.c (initObjectLock): Renamed to lock_init_object_lock.
-
- * src/vm/classcache.c (initObjectLock): Likewise.
-
- * src/vm/finalizer.c (initObjectLock): Likewise.
- (wait_cond_for_object): Renamed to lock_wait_for_object.
- (signal_cond_for_object): Renamed to lock_notify_object.
-
- * src/vm/global.h (monitorLockRecord): Renamed to lock_record_t.
-
- * src/vm/hashtable.c (initObjectLock): Renamed to
- lock_init_object_lock.
-
- * src/vm/jit/asmpart.h: Added #include "threads/native/critical.h"
- (threadcritnode): Renamed to critical_section_node_t.
-
- * src/vm/jit/code.c: Comment changed.
-
- * src/vm/jit/codegen-common.c, src/vm/jit/codegen-common.h
- (threadcritnode): Renamed to critical_section_node_t.
- (threadcritnodetemp): Renamed to codegen_critical_section_t.
-
- * src/vm/jit/alpha/codegen.c (get_dummyLR): Renamed to
- lock_get_initial_lock_word.
-
- * src/vm/jit/alpha/freebsd/md-os.c (thread_checkcritical): Renamed to
- critical_find_restart_point.
- * src/vm/jit/alpha/linux/md-os.c (thread_checkcritical): Renamed to
- critical_find_restart_point.
-
- * src/vm/jit/i386/codegen.c (get_dummyLR): Renamed to
- lock_get_initial_lock_word.
-
- * src/vm/jit/i386/freebsd/md-os.c (thread_checkcritical): Renamed to
- critical_find_restart_point.
- * src/vm/jit/i386/linux/md-os.c (thread_checkcritical): Renamed to
- critical_find_restart_point.
-
- * src/vm/jit/intrp/dynamic-super.c (initObjectLock): Renamed to
- lock_init_object_lock.
-
- * src/vm/jit/mips/codegen.c (get_dummyLR): Renamed to
- lock_get_initial_lock_word.
-
- * src/vm/jit/mips/irix/md-os.c (thread_checkcritical): Renamed to
- critical_find_restart_point.
- * src/vm/jit/mips/linux/md-os.c (thread_checkcritical): Renamed to
- critical_find_restart_point.
-
- * src/vm/jit/powerpc/codegen.c (get_dummyLR): Renamed to
- lock_get_initial_lock_word.
-
- * src/vm/jit/profile/profile.c (wait_cond_for_object): Renamed to
- lock_wait_for_object.
-
- * src/vm/jit/stack.c (initObjectLock): Renamed to
- lock_init_object_lock.
-
- * src/vm/jit/x86_64/codegen.c (get_dummyLR): Renamed to
- lock_get_initial_lock_word.
-
- * src/vm/jit/x86_64/md.c (thread_checkcritical): Renamed to
- critical_find_restart_point.
-
- * src/vm/loader.c (initObjectLock): Renamed to
- lock_init_object_lock.
- (initLocks): Renamed to lock_init (green threads).
-
- * src/vm/string.c (initObjectLock): Renamed to
- lock_init_object_lock.
-
- * src/vm/vm.c (initLocks): Renamed to lock_init (green threads).
-
-2006-05-12 14:32 twisti
-
- * src/vm/jit/emit.h: Replaced __POWERPC__ #ifdef with
- SIZEOF_VOID_P == 4.
-
-2006-05-11 14:02 twisti
-
- * src/native/vm/VMClassLoader.c (nativeGetResources): Bugfix: utf_new
- should be utfname.
-
-2006-05-11 13:43 twisti
-
- * src/vm/jit/mips/codegen.c: Changed mcodeptr from u4* to u1*.
- * src/vm/jit/mips/codegen.h: Likewise.
-
-2006-05-11 13:09 twisti
-
- * src/vm/jit/mips/asmpart.S (asm_call_jit_compiler): Use new
- jit_asm_compile method.
-
-2006-05-11 12:48 edwin
-
- * src/threads/native/threads.c (monitorExit): Added an assert to
- check that no existing waiter is overwritten by the suspicious
- assignment.
-
-2006-05-11 12:36 edwin
-
- * src/lib/vm/reference/java/lang/VMClassLoader.java
- (getBootPackages): Merged patch to VMClassLoader.java of the
- reference implementation. getBootPackages now works in the
- presence of endorsed jars.
-
-2006-05-11 12:18 twisti
-
- * src/native/jni.c (DeleteGlobalRef): Bugfix: handle the removal of
- the first entry in the chain properly.
-
-2006-05-11 09:18 twisti
-
- * src/vm/hashtable.c (threads/native/threads.h): Added.
- (hashtable_create): Initialize lock object.
- (hashtable_resize): New function.
- (hashtable_free): Likewise.
- * src/vm/hashtable.h (hashtable): Added header pointer.
- (hashtable_resize): Added.
- (hashtable_free): Likewise.
-
- * src/vm/vm.c (vm_create): Call jni_init before threads_init.
-
- * src/vm/utf8.c (lock_hashtable_utf): Removed.
- (utf8_init): Allocate hashtable on heap.
- (utf_new): Use new hashtable stuff.
-
- * src/native/native.c (native_init): Use new hashtable stuff.
- (native_hashtable_library_add): Likewise.
-
- * src/native/jni.c (jni_init): Removed Java IdentityHashMap stuff and
- create a hashtable.
- (NewGlobalRef): Implemented with native hashtable.
- (DeleteGlobalRef): Likewise.
-
- * src/native/jni.h (hashtable_global_ref_entry): Added.
-
- * src/vm/string.c (literalstring_u2): Removed check for
- class_java_lang_String, we have an assert there.
-
-2006-05-10 16:14 twisti
-
- * src/vm/jit/alpha/codegen.c: Changed mcodeptr from u4* to u1*.
- * src/vm/jit/alpha/codegen.h: Likewise.
-
-2006-05-10 15:51 twisti
-
- * src/vm/jit/codegen-common.h (codegendata): Use an u1* mcodeptr for
- all architectures. This is necessary for the interpreter.
- * src/vm/jit/codegen-common.c (codegen_setup): Removed #ifdef.
- (codegen_increase): Likewise.
-
- * src/vm/jit/powerpc/codegen.c: Changed mcodeptr from u4* to u1*.
- * src/vm/jit/powerpc/codegen.h: Likewise.
-
-2006-05-10 15:09 edwin
-
- * src/vm/jit/inline/inline.c (inline_write_exception_handlers):
- Correct cast for abused instruction->target.
-
-2006-05-10 13:12 twisti
-
- * src/vm/jit/alpha/asmpart.S (asm_call_jit_compiler): Use new
- jit_asm_compile method.
-
-2006-05-08 11:09 twisti
-
- * configure.ac (AC_CONFIG_FILES): Added src/scripts/keytool.
- * src/scripts/Makefile.am (bin_SCRIPTS): Added keytool.
- * src/scripts/.cvsignore: Likewise.
- * src/scripts/keytool.in: New file.
-
-2006-05-08 11:05 twisti
-
- * src/vm/jit/powerpc/asmpart.S (asm_vm_call_method): Handle argument
- passing properly for SysV ABIs. Darwin is left to do.
-
-2006-05-08 11:03 twisti
-
- * tests/regression/native/testarguments.java: Added new test.
- * tests/regression/native/testarguments.c: Likewise.
- * tests/regression/native/testarguments.output: Likewise.
+ * src/vm/jit/x86_64/emit.h: Likewise.
+ [f4e23a5fb467]
-2006-05-06 18:29 motse
+2008-06-11 Christian Thalinger <twisti@complang.tuwien.ac.at>
- * src/vm/vm.c (vm_create): make agentlib/agentpath work
- * src/cacao/cacao.c (main): changes for jvmti/jdwp startup due to
- removal of jdwp process
- * src/native/jni.c (JNI_CreateJavaVM): change order vm_create and
- initialization of _Jv_jvm due to jvmti agent support.
- * src/native/vm/VMVirtualMachine.c: change name of jvmtienv and
- bugfixes of Samuel Vinson
- * src/native/include/Makefile.am: add VMMethod.h
- * src/native/jvmti/Makefile.am: removal of cacaodbgserver
- * src/native/jvmti/jvmti.c: remove jdwp process and convert to thread
- * src/native/jvmti/cacaodbg.h: idem
- * src/native/jvmti/jvmti.h: idem
- * src/native/jvmti/dbg.h: idem
- * src/native/jvmti/cacaodbg.c: idem
- * src/native/jvmti/dbg.c: idem
- * src/native/jvmti/cacaodbgserver.c: change to a autonomous program
- and removal of jdwp thread.
- * src/native/jvmti/VMjdwp.c (VMInit): different invocation due to
- removal of jdwp thread
- * src/native/jvmti/VMjdwp.h: export jvmti environment and event
- callbacks.
- * src/native/vm/VMMethod.c: initial/dummy implementation of VMMetod
- native method
-
-2006-05-06 14:13 edwin
-
- * src/native/vm/VMRuntime.c
- (Java_java_lang_VMRuntime_mapLibraryName): Use new utf_ functions.
- (Changes): Added my name.
- (vim boilerplate): Added.
-
-2006-05-06 10:10 edwin
-
- * src/native/vm/VMClassLoader.c
- (Java_java_lang_VMClassLoader_nativeGetResources): Really create a
- new utf string to search for if the trailing .class is stripped.
-
-2006-05-06 00:16 edwin
-
- * src/vm/classcache.c (classcache_merge_class_entries):
- Use utf_cat_classname.
- (classcache_store): Likewise.
- (classcache_store_defined): Likewise.
-
-2006-05-06 00:11 edwin
-
- * src/native/vm/VMClassLoader.c
- (Java_java_lang_VMClassLoader_nativeGetResources): Fixed and cleaned
- up. Skip leading '/'. Remove '.class' only at end. Free char buffer.
- Use correct utf_ functions. Check for exceptions.
-
- * src/vm/zip.c (zip_find): Documented.
-
-2006-05-05 19:31 edwin
-
- * src/vm/utf8.h: Moved #include "config.h" up front.
-
-2006-05-05 19:22 edwin
-
- * src/toolbox/logging.c (Changes): Added my name.
- (vim boilerplate): Added.
-
-2006-05-05 19:21 edwin
-
- * src/toolbox/logging.c (log_message_utf): Use new utf_ functions.
- (log_message_class_message_class): Likewise.
- (log_message_method): Likewise.
-
-2006-05-05 19:13 edwin
-
- * src/vm/builtin.c (builtin_throw_exception): Use new utf_ functions.
- (builtin_trace_exception): Likewise.
- (builtin_trace_args): Likewise.
- (builtin_displaymethodstop): Likewise.
-
-2006-05-05 18:58 edwin
-
- * src/vm/suck.c (suck_start): Use new utf_ functions.
-
-2006-05-05 18:49 edwin
-
- * src/vm/utf8.h, src/vm/utf8.c: Fixed header.
-
-2006-05-05 18:14 edwin
-
- * src/vm/loader.c (load_class_from_classbuffer): Use new
- utf_ functions.
-
-2006-05-05 18:08 edwin
-
- * src/vm/resolve.c (resolve_class_from_name): Use new utf_ functions.
- (resolve_subtype_check): Likewise.
- (resolve_field_verifier_checks): Likewise.
- (resolve_method_verifier_checks): Likewise.
-
-2006-05-05 17:34 edwin
-
- * src/vm/utf8.h, src/vm/utf8.c: The Big utf_* Renaming.
- The purpose of this change is to give the utf_* functions names
- that make clear what these functions _really_ have been doing
- all the time. I'm sure most callers would be surprised if they
- knew. All call sites should be reviewed!
- (utf_display): Renamed to utf_display_printable_ascii.
- (utf_display_classname): Renamed to
- utf_display_printable_ascii_classname.
- (utf_sprint): Renamed to utf_sprint_convert_to_latin1.
- (utf_sprint_classname): Renamed to
- utf_sprint_convert_to_latin1_classname.
- (utf_strcat): Renamed to utf_strcat_convert_to_latin1.
- (utf_strcat_classname): Renamed to
- utf_strcat_convert_to_latin1_classname.
- (utf_fprint): Renamed to utf_fprint_printable_ascii.
- (utf_fprint_classname): Renamed to
- utf_fprint_printable_ascii_classname.
-
- * src/vm/class.c, src/vm/suck.c, src/vm/loader.c, src/vm/builtin.c,
- src/vm/descriptor.c, src/vm/resolve.c, src/vm/method.c,
- src/vm/classcache.c, src/vm/jit/stack.c, src/vm/jit/verify/typeinfo.c,
- src/vm/jit/allocator/lsra.c, src/vm/jit/intrp/disass.c,
- src/vm/jit/stacktrace.c, src/vm/jit/codegen-common.c,
- src/vm/exceptions.c, src/vm/field.c, src/cacao/cacao.c,
- src/native/tools/gennativetable.c, src/native/vm/VMClassLoader.c,
- src/native/vm/VMRuntime.c, src/native/native.c, src/toolbox/logging.c,
- src/threads/green/threads.c, src/threads/native/threads.c,
- src/cacaoh/headers.c: The Big utf_ Renaming. All call sites of the
- renamed functions should be reviewed! Calls outside debugging code
- are probably incorrect and should use one of the new utf_ functions
- that copies byte-for-byte.
-
-2006-05-05 17:09 edwin
-
- * src/vm/exceptions.c (new_exception): Documented.
- (new_exception_message): Documented. Use new_exception_javastring.
- (new_exception_throwable): Documented.
- (new_exception_utfmessage): Documented. Use new_exception_javastring.
- (new_exception_javastring): Documented.
- (new_exception_int): Documented.
- (new_classformaterror): Documented. Use new byte-for-byte UTF-8
- functions.
- (exceptions_throw_classformaterror): Documented.
- (new_classnotfoundexception): Documented. Check return value of
- javastring_new.
- (new_noclassdeffounderror): Documented. Check return value of
- javastring_new.
- (new_internalerror): Documented.
- (exceptions_new_linkageerror): Documented. Use new byte-for-byte UTF-8
- functions.
- (exceptions_new_nosuchmethoderror): Documented. Use new byte-for-byte
- UTF-8
- functions.
- (exceptions_throw_nosuchmethoderror): Documented.
- (new_unsupportedclassversionerror): Documented. Use new byte-for-byte
- UTF-8
- functions.
- (new_verifyerror): Likewise.
- (exceptions_throw_verifyerror_for_stack): Likewise.
- (exceptions_handle_exception): Documented.
-
-2006-05-05 16:51 edwin
-
- * src/vm/utf8.c, src/vm/utf8.h (utf_copy): New function.
- (utf_cat): New function.
- (utf_copy_classname): New function.
- (utf_cat_classname): New function.
- These new functions copy the UTF-8 content byte-for-byte and thus
- do not lead to losses by conversion like the utf_strcpy, etc.
- functions.
+ * src/vm/jit/arm/emit.c:
+ Fixes PR63.
+ * src/vm/jit/arm/emit.c (emit_verbosecall_enter) [ENABLE_SOFTFLOAT]:
+ Save and restore floating point types correctly.
+ [cc3688ed7116]
-2006-05-05 15:26 edwin
-
- * src/vm/string.c, src/vm/stringlocal.h, src/vm/utf8.c, src/vm/utf8.h
- (Changes): Added my name.
- (vim boilerplate): Added.
-
-2006-05-05 15:14 edwin
-
- * src/vm/string.c, src/vm/stringlocal.h
- (javastring_new_from_utf_buffer): New function.
- (javastring_new_from_utf_string): New function.
-
- * src/vm/utf8.c (utf_get_number_of_u2s_for_buffer): New function.
- (utf_get_number_of_u2s): Documented that this function may throw
- exception.s.
-
- * src/vm/utf8.h (utf_get_number_of_u2s_for_buffer): New function.
-
-2006-05-05 14:36 edwin
-
- * src/vm/string.c, src/vm/stringlocal.h (java_string_new_char):
- Renamed to `java_string_new_from_ascii` to make more clear what this
- function does. It is wrong to use this function to create a
- java.lang.String from a buffer of UTF-8 characters!
-
- * src/vm/finalizer.c (finalizer_start_thread): Legitimate use.
- * src/vm/jit/profile/profile.c (profile_start_thread): Likewise.
-
- * src/vm/exceptions.c
- (exceptions_new_linkageerror): Definitely INCORRECT use.
- (exceptions_new_nosuchmethoderror): Likewise.
- * src/native/vm/VMRuntime.c
- (Java_java_lang_VMRuntime_mapLibraryName): Likewise.
-
- * src/vm/exceptions.c (new_exception_message): Probably INCORRECT use.
- * src/native/jni.c (DefineClass): Likewise.
- (ThrowNew): Likewise.
- * src/native/vm/VMClassLoader.c
- (Java_java_lang_VMClassLoader_nativeGetResources): Likewise.
-
- * src/vm/properties.c (properties_system_add): Needs review.
- * src/cacao/cacao.c (getmainclassnamefromjar): Likewise.
- * src/native/jvmti/cacaodbg.c (setup_jdwp_thread): Likewise.
- * src/native/jvmti/jvmti.c (CreateRawMonitor, GetSystemProperty)
- (SetSystemProperty): Likewise.
-
-2006-05-05 13:56 edwin
-
- * src/vm/utf8.c, src/vm/utf8.h (utf_bytes): New function.
- Use this function to query the number of octets of a utf string.
- This function will become the correct replacement for the old
- utf_strlen in most places. The calling code will have to be
- reviewed for that, however, and it will also require fixing
- utf_strcat, utf_sprint, and so on, to do the right thing.
-
-2006-05-05 13:48 edwin
-
- * src/vm/utf8.c, src/vm/utf8.h (utf_strlen): Renamed to
- `utf_get_number_of_u2s` in order to reflect what this function
- _really_ does. A long name was chosen intentionally to make it obvious
- that this is _not_ the function to use as the normal strlen. Most
- current uses of this function are invalid, as it must only be used
- when the utf string will be **converted to UTF-16**.
-
- * src/vm/suck.c (suck_start): Renamed utf_strlen. RECONSIDER USE!
- * src/vm/loader.c (load_class_from_classbuffer): Likewise.
- * src/vm/builtin.c (various functions): Likewise.
- * src/vm/resolve.c (various functions): Likewise.
- * src/vm/exceptions.c (various functions): Likewise.
- * src/native/vm/VMClassLoader.c
- (Java_java_lang_VMClassLoader_nativeGetResources): Likewise.
- * src/native/vm/VMRuntime.c
- (Java_java_lang_VMRuntime_mapLibraryName): Likewise.
- * src/native/native.c (native_resolve_function): Likewise.
- * src/toolbox/logging.c (various functions): Likewise.
- * src/cacaoh/headers.c (various functions): Likewise.
-
- * src/vm/string.c (javastring_new): Legitimate use.
- (javastring_new_slash_to_dot): Likewise.
- (literalstring_new) Likewise.
-
-2006-05-03 23:04 edwin
-
- * src/threads/native/threads.c (wakeWaiters): Renamed
- to threads_wake_waiters. Documented.
-
-2006-05-03 22:58 edwin
-
- * src/threads/native/threads.c (handleWaiter): Renamed arguments.
- Commented.
- (monitorEnter): Documented.
- (notifyOneOrAll): Cleaned up.
-
-2006-05-03 22:46 edwin
-
- * src/threads/native/threads.c (setPriority): Renamed to
- threads_set_thread_priority.
- (removeFromWaiters): Renamed to threads_remove_waiter.
- (timespec_less): Renamed to threads_timespec_earlier.
- (timeIsEarlier): Renamed to threads_current_time_is_earlier_than.
- (waitWithTimeout): Renamed to threads_wait_with_timeout. Removed
- unused
- argument `lr`.
- (thread_sleep): There is no need to create a lock record for
- calling threads_wait_with_timeout, as that does not use the
- lock record anyway (formerly waitWithTimeout).
- (various function): Lots of documentation and cleanup.
-
-2006-05-02 16:16 twisti
-
- * src/vm/jit/stack.c (stack_analyse): Check for val.a == NULL on
- SUPPORT_CONST_STORE_ZERO_ONLY architectures for ICMD_PUTSTATIC and
- ICMD_PUTFIELD.
-
-2006-05-01 23:14 edwin
-
- * src/threads/native/threads.c: Cleanup and documentation.
-
-2006-05-01 21:40 edwin
-
- * src/threads/native/threads.h (threads_sem_init): New function.
- (threads_sem_post): New function.
-
- * src/threads/native/threads.c (threads_sem_init): New function.
- (threads_sem_wait): Added assertion.
- (threads_sem_post): New function.
- (various function): Use threads_sem_init and threads_sem_post.
-
- * src/native/jvmti/cacaodbg.c (getworkingdatalock): Use
- threads_sem_post.
- (cacaodbgfork): Use threads_sem_init.
-
- * src/native/jvmti/cacaodbgserver.c (contchild, waitloop).
- Use threads_sem_post.
-
-2006-05-01 12:40 edwin
-
- * src/threads/native/threads.c (threads_sem_wait): New function.
- This function performs a non-interruptible sem_wait. This fixes
- segfaults and deadlocks that resulted from sem_wait calls returning
- prematurely.
- (cast_stopworld): Use threads_sem_wait.
- (threads_startup_thread): Likewise.
- (threads_start_thread): Likewise.
- (queueOnLockRecord): Likewise.
-
- * src/threads/native/threads.h (threads_sem_wait): New function.
-
- * src/native/jvmti/cacaodbg.c (msgqsendevent): Use threads_sem_wait
- instead of sem_wait.
-
- * src/native/jvmti/cacaodbgserver.c (contchild, waitloop): Use
- threads_sem_wait instead of sem_wait.
-
-2006-04-30 17:18 twisti
-
- * configure.ac (AC_CONFIG_FILES): Added src/scripts/jarsigner.
- * src/scripts/Makefile.am (bin_SCRIPTS): Added jarsigner.
- * src/scripts/.cvsignore: Likewise.
- * src/scripts/jarsigner.in: New file.
-
-2006-04-30 16:17 edwin
-
- * src/vm/resolve.c (resolve_method_verifier_checks)
- (constrain_unresolved_method): Use ICMD_ACONST_CLASSREF_OR_CLASSINFO.
-
- * src/vm/jit/powerpc/codegen.c, src/vm/jit/alpha/codegen.c,
- src/vm/jit/mips/codegen.c, src/vm/jit/i386/codegen.c,
- src/vm/jit/intrp/codegen.c, src/vm/jit/x86_64/codegen.c
- (codegen): Changes for new ACONST format.
-
- * src/vm/jit/stack.c (stack_analyse): Changes for new ACONST format.
-
- * src/vm/jit/verify/typecheck.c (verify_invocation): Use the new
- macros.
- (verify_builtin, verify_multianewarray, verify_basic_block): Changes
- for
- new ACONST format.
-
- * src/vm/jit/verify/typeinfo.h (TYPEINFO_INIT_JAVA_LANG_CLASS): Take
- a classref_or_classinfo as argument.
-
- * src/vm/jit/verify/typeinfo.c (typeinfo_init_class): Typo fixed.
- (typeinfo_print): Changes for new ACONST format.
-
- * src/vm/jit/inline/inline.c (inline_write_exception_handlers):
- Changes for new ACONST format.
-
- * src/vm/jit/parse.c (parse): Changes for new ACONST format.
-
- * src/vm/jit/parse.h (LOADCONST_A_CLASS): Removed.
- (LOADCONST_A_BUILTIN): Changes for new ACONST format.
-
- * src/vm/jit/jit.h (INSTRUCTION_IS_RESOLVED,
- INSTRUCTION_IS_UNRESOLVED):
- Only check least significant bit of target (provisory flag).
- (ICMD_ACONST_IS_CLASS, ICMD_ACONST_CLASSREF_OR_CLASSINFO)
- (ICMD_ACONST_RESOLVED_CLASSINFO, ICMD_ACONST_UNRESOLVED_CLASSREF):
- New macros.
-
-2006-04-30 15:58 edwin
-
- * src/vm/jit/loop/tracing.c (tracing): Adapted to new format of
- INVOKE
- instructions.
- * src/vm/jit/allocator/lsra.c (lsra_scan_registers_canditates)
- (_test_lifetimes): Likewise.
-
-2006-04-28 12:25 edwin
-
- * src/vm/jit/parse.c (parse): Added a comment.
-
-2006-04-28 12:24 twisti
-
- * src/vm/jit/stack.c (stack_analyse): We need to split AASTORECONST
- and PUT{STATIC,FIELD}CONST as they can store different values. I hope
- the checks are correct now (until we get our new instruction
- format). Edwin: Hint! Hint! Hint!
- (stack_show_icmd): Again a smaller change.
-
-2006-04-28 11:50 twisti
-
- * src/vm/jit/stack.c (stack_analyse): Check for
- {AASTORE,PUTSTATIC,PUTFIELD}CONST if the instruction is resolved. We
- don't have a patcher for that case.
- (stack_show_icmd): Smaller change.
-
-2006-04-28 11:37 twisti
-
- * tests/regression/codepatching/test.java: Added new test.
- * tests/regression/codepatching/Makefile.am: Files updated.
-
- * tests/regression/codepatching/putfieldconstIF.java,
- tests/regression/codepatching/putfieldconstJDL.java: Removed.
-
- * tests/regression/codepatching/putstaticconstJ.java,
- tests/regression/codepatching/putstaticconstL.java,
+ * src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/arm.h:
+ * src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/arm.h: Fixed comment
+ type.
+ [d5092d317d71]
+
+ * tests/havoc.class:
+ * tests/havoc.class: Removed binary file.
+ [0ec52c695779]
+
+2008-06-09 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/native/jni.c:
+ * src/native/jni.c (_Jv_JNI_GetEnv): Renamed to jni_GetEnv.
+ [5e61d64d83a9]
+
+ * src/native/jni.c:
+ * src/native/jni.c (_Jv_JNI_PushLocalFrame): Renamed to
+ jni_PushLocalFrame, added trace output. (_Jv_JNI_PopLocalFrame):
+ Renamed to jni_PopLocalFrame. (_Jv_JNI_DeleteLocalRef): Renamed to
+ jni_DeleteLocalRef. (_Jv_JNI_NewLocalRef): Renamed to
+ jni_NewLocalRef. (_Jv_JNI_EnsureLocalCapacity): Renamed to
+ jni_EnsureLocalCapacity.
+ [b8487bde49f1]
+
+ * src/threads/thread.c:
+ * src/threads/thread.c (threads_preinit): Check if main thread index
+ is 1.
+ [e747bbe9a38e]
+
+ * src/classes/gnuclasspath/gnu/java/lang/CPStringBuilder.java:
+ * src/classes/gnuclasspath/gnu/java/lang/CPStringBuilder.java:
+ Updated to current GNU Classpath CVS version.
+ [d6187703cf55]
+
+2008-06-08 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * * Merged with 7d4cc49cbd31.
+ [b5d519382b16]
+
+ * configure.ac:
+ * configure.ac (AC_INIT): Bumped version to 0.99rc6. This reflects
+ the update to Boehm-GC 7.1.
+ [a7955e22203b]
+
+ * configure.ac, src/mm/boehm-gc/configure.in, src/mm/boehm-
+ gc/doc/Makefile.am, src/mm/boehm-gc/gcc_support.c, src/mm/boehm-
+ gc/include/Makefile.am, src/mm/boehm-gc/include/gc_alloc.h, src/mm
+ /boehm-gc/include/gc_inl.h, src/mm/boehm-
+ gc/include/gc_local_alloc.h, src/mm/boehm-
+ gc/include/private/solaris_threads.h, src/mm/boehm-gc/ltconfig,
+ src/mm/boehm-gc/pc_excludes, src/mm/boehm-
+ gc/powerpc_darwin_mach_dep.s, src/mm/boehm-gc/solaris_pthreads.c,
+ src/mm/boehm-gc/solaris_threads.c, src/mm/boehm-
+ gc/tests/trace_test.c, src/mm/boehm-gc/version.h:
+ * Merged with 31f9198caefc.
+ [fee37d480fb4]
+
+2008-06-05 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/mips.h:
+ Missed a file again, grrrrrrrrr.
+
+ * src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/mips.h: Patched.
+ [31f9198caefc]
+
+ * src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/s390.h:
+ S390 patch applied from Thiemo Seufer. This is also already applied
+ to bdwgc CVS.
+
+ * src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/s390.h: Patched.
+ [b5631b6d091a]
+
+ * src/mm/boehm-gc/include/private/gcconfig.h, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops.h, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/Makefile.am, src/mm
+ /boehm-gc/mach_dep.c:
+ MIPS patches applied from Thiemo Seufer. These are also already
+ applied to bdwgc CVS.
+
+ * src/mm/boehm-gc/include/private/gcconfig.h, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops.h, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/Makefile.am, src/mm
+ /boehm-gc/mach_dep.c: Patched.
+ [1386a607d249]
+
+ * src/mm/boehm-gc/Makefile.am:
+ * src/mm/boehm-gc/Makefile.am (AM_CPPFLAGS): Use libatomic_ops
+ instead of libatomic_ops-1.2, because only the former is linked into
+ the build directory. Maybe this should go upstream?
+ [8157901df4bf]
+
+ * src/threads/posix/thread-posix.c:
+ * src/threads/posix/thread-posix.c: Added a comment why we include
+ Boehm's gc.h.
+ [1382eba18ad3]
+
+ * configure.ac, src/mm/boehm-gc/configure.in, src/mm/boehm-
+ gc/doc/Makefile.am, src/mm/boehm-gc/gcc_support.c, src/mm/boehm-
+ gc/include/Makefile.am, src/mm/boehm-gc/include/gc_alloc.h, src/mm
+ /boehm-gc/include/gc_inl.h, src/mm/boehm-
+ gc/include/gc_local_alloc.h, src/mm/boehm-
+ gc/include/private/solaris_threads.h, src/mm/boehm-gc/ltconfig,
+ src/mm/boehm-gc/pc_excludes, src/mm/boehm-
+ gc/powerpc_darwin_mach_dep.s, src/mm/boehm-gc/solaris_pthreads.c,
+ src/mm/boehm-gc/solaris_threads.c, src/mm/boehm-
+ gc/tests/trace_test.c, src/mm/boehm-gc/version.h, src/threads/posix
+ /thread-posix.c:
+ * Merged gc7-branch to default.
+ [71c85ba866cf]
+
+2008-06-08 Peter Molnar <pm@complang.tuwien.ac.at>
+
+ * src/vm/jit/i386/codegen.c, src/vm/jit/i386/emit.h,
+ src/vm/jit/optimizing/bytecode_escape.c,
+ src/vm/jit/optimizing/escape.c, src/vm/jit/optimizing/escape.h:
+ * src/vm/jit/i386/codegen.c (codegen_emit): Commented out escape
+ checks.
+ * src/vm/jit/i386/emit.h: Fixed typo.
+ * src/vm/jit/optimizing/bytecode_escape.c,
+ src/vm/jit/optimizing/escape.c, src/vm/jit/optimizing/escape.h:
+ Added copyright header.
+ [7d4cc49cbd31]
+
+2008-06-06 Peter Molnar <pm@complang.tuwien.ac.at>
+
+ * src/vm/jit/optimizing/escape.h:
+ * src/vm/jit/optimizing/escape.h: Added forgotten file.
+ [c8ec78cfd2db]
+
+ * configure.ac, src/vm/global.h, src/vm/jit/asmpart.h,
+ src/vm/jit/i386/asmpart.S, src/vm/jit/i386/codegen.c,
+ src/vm/jit/i386/emit.c, src/vm/jit/i386/emit.h,
+ src/vm/jit/optimizing/escape.c:
+ * configure.ac: [ENABLE_SSA] define ENABLE_ESCAPE_CHECK.
+ * src/vm/global.h [ENABLE_ESCAPE_CHECK] add additional fields to
+ java_object_t for escape analysis verification.
+ * src/vm/jit/asmpart.h, src/vm/jit/i386/asmpart.S
+ [ENABLE_ESCAPE_CHECK] (asm_escape_check): new symbol.
+ * src/vm/jit/i386/codegen.c [ENABLE_ESCAPE_CHECK] (codegen_emit):
+ First stetps of annotating all objects with escape information and
+ checking that information upon every access to an object.
+ * src/vm/jit/i386/emit.c, src/vm/jit/i386/emit.h (emit_escape_check):
+ New symbol.
+ * src/vm/jit/optimizing/escape.c (escape_analysis_escape_check): New
+ symbol.
+ [348a7d510d11]
+
+2008-06-05 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * .hgignore, src/mm/boehm-gc/NT_X64_THREADS_MAKEFILE, src/mm/boehm-
+ gc/include/extra/gc.h, src/mm/boehm-gc/include/extra/gc_cpp.h,
+ src/mm/boehm-gc/include/gc_version.h, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/armcc/arm_v6.h, src/mm
+ /boehm-gc/tests/huge_test.c, src/mm/boehm-gc/tests/smash_test.c,
+ src/mm/boehm-gc/version.h:
+ Files missed in the Boehm-GC 7.1 import (sorry).
+
+ * .hgignore: Added src/mm/boehm-gc/.dirstamp.
+ * src/mm/boehm-gc/NT_X64_THREADS_MAKEFILE: Added.
+ * src/mm/boehm-gc/include/extra/gc.h, src/mm/boehm-
+ gc/include/extra/gc_cpp.h, src/mm/boehm-gc/include/gc_version.h,
+ src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/armcc/arm_v6.h, src/mm
+ /boehm-gc/tests/huge_test.c, src/mm/boehm-gc/tests/smash_test.c:
+ Likewise.
+ * src/mm/boehm-gc/version.h: Removed.
+ [0340b2f6a236]
+
+ * src/mm/boehm-gc/configure.ac, src/mm/boehm-
+ gc/libatomic_ops-1.2/configure.ac:
+ * src/mm/boehm-gc/configure.ac: Made autogen.sh warning free.
+ * src/mm/boehm-gc/libatomic_ops-1.2/configure.ac: Likewise.
+ [7256403a4a32]
+
+ * src/mm/boehm-gc/ChangeLog, src/mm/boehm-gc/Makefile.am, src/mm
+ /boehm-gc/Makefile.direct, src/mm/boehm-gc/Makefile.dj, src/mm
+ /boehm-gc/NT_X64_STATIC_THREADS_MAKEFILE, src/mm/boehm-
+ gc/add_gc_prefix.c, src/mm/boehm-gc/allchblk.c, src/mm/boehm-
+ gc/alloc.c, src/mm/boehm-gc/backgraph.c, src/mm/boehm-
+ gc/configure.ac, src/mm/boehm-gc/darwin_stop_world.c, src/mm/boehm-
+ gc/dbg_mlc.c, src/mm/boehm-gc/doc/README, src/mm/boehm-
+ gc/doc/README.macros, src/mm/boehm-gc/doc/README.win32, src/mm
+ /boehm-gc/doc/README.win64, src/mm/boehm-gc/doc/gcinterface.html,
+ src/mm/boehm-gc/doc/scale.html, src/mm/boehm-gc/dyn_load.c, src/mm
+ /boehm-gc/finalize.c, src/mm/boehm-gc/gc_cpp.cc, src/mm/boehm-
+ gc/gcname.c, src/mm/boehm-gc/headers.c, src/mm/boehm-
+ gc/include/gc.h, src/mm/boehm-gc/include/gc_cpp.h, src/mm/boehm-
+ gc/include/gc_inline.h, src/mm/boehm-gc/include/gc_tiny_fl.h, src/mm
+ /boehm-gc/include/include.am, src/mm/boehm-
+ gc/include/private/gc_locks.h, src/mm/boehm-
+ gc/include/private/gc_pmark.h, src/mm/boehm-
+ gc/include/private/gc_priv.h, src/mm/boehm-
+ gc/include/private/gcconfig.h, src/mm/boehm-
+ gc/include/private/thread_local_alloc.h, src/mm/boehm-
+ gc/libatomic_ops-1.2/ChangeLog, src/mm/boehm-
+ gc/libatomic_ops-1.2/doc/README.txt, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops.h, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/generalize.h, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/arm.h, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/powerpc.h, src/mm
+ /boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/x86.h, src/mm
+ /boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/x86_64.h,
+ src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/msftc/x86.h, src/mm
+ /boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/msftc/x86_64.h,
+ src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/standard_ao_double_t.h,
+ src/mm/boehm-gc/mach_dep.c, src/mm/boehm-gc/malloc.c, src/mm/boehm-
+ gc/mark.c, src/mm/boehm-gc/mark_rts.c, src/mm/boehm-gc/misc.c,
+ src/mm/boehm-gc/msvc_dbg.c, src/mm/boehm-gc/obj_map.c, src/mm/boehm-
+ gc/os_dep.c, src/mm/boehm-gc/pthread_stop_world.c, src/mm/boehm-
+ gc/pthread_support.c, src/mm/boehm-gc/reclaim.c, src/mm/boehm-
+ gc/tests/test.c, src/mm/boehm-gc/tests/tests.am, src/mm/boehm-
+ gc/thread_local_alloc.c, src/mm/boehm-gc/typd_mlc.c, src/mm/boehm-
+ gc/win32_threads.c:
+ * Imported Boehm-GC 7.1.
+ [a09ac5792898]
+
+ * .hgignore:
+ * .hgignore: Added src/mm/boehm-gc/atomic_ops.c, src/mm/boehm-
+ gc/atomic_ops_sysdeps.S, src/mm/boehm-gc/bdw-gc.pc, src/mm/boehm-
+ gc/libatomic_ops, src/mm/boehm-gc/cord/.dirstamp.
+ [c0c33aa59df7]
+
+ * configure.ac, src/mm/boehm-gc/Makefile.am, src/mm/boehm-
+ gc/cord/cord.am:
+ * configure.ac (ac_configure_args): Removed --disable-shared, add
+ --disable-static.
+ * src/mm/boehm-gc/Makefile.am (lib_LTLIBRARIES): Renamed to
+ noinst_LTLIBRARIES.
+ * src/mm/boehm-gc/cord/cord.am: Likewise.
+ [ded63b659817]
+
+2008-06-01 Peter Molnar <pm@complang.tuwien.ac.at>
+
+ * configure.ac, src/vm/global.h, src/vm/jit/cfg.c, src/vm/jit/jit.c,
+ src/vm/jit/jit.h, src/vm/jit/optimizing/Makefile.am,
+ src/vm/jit/optimizing/bytecode_escape.c,
+ src/vm/jit/optimizing/escape.c, src/vm/jit/optimizing/ssa3.c,
+ src/vmcore/method.h:
+ * configure.ac: Define ENABLE_ESCAPE if ENABLE_SSA is defined.
+ * src/vm/global.h (ACC_METHOD_EA): new symbol.
+ * src/vm/jit/cfg.c (cfg_add_root): correctly initialize method member
+ of basicblock.
+ * src/vm/jit/jit.c (basicblock) [ENABLE_SSA]: new members phis and
+ phicount.
+ * src/vm/jit/jit.h (jit_compile_intern): Transform exception handlers
+ only if -lsra is given.
+ * src/vm/jit/optimizing/Makefile.am: Adpated.
+ * src/vm/jit/optimizing/bytecode_escape.c: New file. Implementation of
+ escape analysis on bytecode.
+ * src/vm/jit/optimizing/escape.c: Changed a lot.
+ * src/vm/jit/optimizing/ssa3.c: Changed a lot.
+ * src/vmcore/method.h (methodinfo) [ENABLE_ESCAPE]: New member
+ paramescape.
+ [76f979c4a7dc]
+
+2008-05-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * m4/classpath.m4, src/classes/gnu/gnu/classpath/VMStackWalker.java,
+ src/classes/gnu/gnu/classpath/VMSystemProperties.java,
+ src/classes/gnu/gnu/java/lang/CPStringBuilder.java,
+ src/classes/gnu/gnu/java/lang/VMCPStringBuilder.java,
+ src/classes/gnu/gnu/java/lang/management/VMMemoryMXBeanImpl.java,
+ src/classes/gnu/gnu/java/lang/management/VMRuntimeMXBeanImpl.java,
+ src/classes/gnu/java/lang/VMClassLoader.java,
+ src/classes/gnu/java/lang/VMString.java,
+ src/classes/gnu/java/lang/VMThread.java,
+ src/classes/gnu/java/lang/reflect/Constructor.java,
+ src/classes/gnu/java/lang/reflect/Field.java,
+ src/classes/gnu/java/lang/reflect/Method.java,
+ src/classes/gnu/java/lang/reflect/Modifier.java,
+ src/classes/gnu/java/lang/reflect/VMConstructor.java,
+ src/classes/gnu/java/lang/reflect/VMField.java,
+ src/classes/gnu/java/lang/reflect/VMMethod.java,
+ src/classes/gnu/java/security/VMAccessController.java,
+ src/classes/gnu/sun/misc/Unsafe.java,
+ src/classes/gnu/sun/reflect/ConstantPool.java,
+ src/classes/gnu/sun/reflect/annotation/AnnotationParser.java,
+ src/classes/gnu/sun/reflect/annotation/AnnotationType.java, src/clas
+ ses/gnu/sun/reflect/annotation/AnnotationTypeMismatchExceptionProxy.
+ java, src/classes/gnu/sun/reflect/annotation/EnumConstantNotPresentE
+ xceptionProxy.java,
+ src/classes/gnu/sun/reflect/annotation/ExceptionProxy.java, src/clas
+ ses/gnu/sun/reflect/annotation/TypeNotPresentExceptionProxy.java,
+ src/native/vm/gnu/Makefile.am, src/native/vm/gnu/VMjdwp.c,
+ src/native/vm/gnu/VMjdwp.h,
+ src/native/vm/gnu/gnu_classpath_VMStackWalker.c,
+ src/native/vm/gnu/gnu_classpath_VMSystemProperties.c,
+ src/native/vm/gnu/gnu_classpath_jdwp_VMFrame.c,
+ src/native/vm/gnu/gnu_classpath_jdwp_VMMethod.c,
+ src/native/vm/gnu/gnu_classpath_jdwp_VMVirtualMachine.c,
+ src/native/vm/gnu/gnu_java_lang_VMCPStringBuilder.c, src/native/vm/g
+ nu/gnu_java_lang_management_VMClassLoadingMXBeanImpl.c,
+ src/native/vm/gnu/gnu_java_lang_management_VMMemoryMXBeanImpl.c,
+ src/native/vm/gnu/gnu_java_lang_management_VMRuntimeMXBeanImpl.c,
+ src/native/vm/gnu/gnu_java_lang_management_VMThreadMXBeanImpl.c,
+ src/native/vm/gnu/java_lang_VMClass.c,
+ src/native/vm/gnu/java_lang_VMClassLoader.c,
+ src/native/vm/gnu/java_lang_VMObject.c,
+ src/native/vm/gnu/java_lang_VMRuntime.c,
+ src/native/vm/gnu/java_lang_VMString.c,
+ src/native/vm/gnu/java_lang_VMSystem.c,
+ src/native/vm/gnu/java_lang_VMThread.c,
+ src/native/vm/gnu/java_lang_VMThrowable.c,
+ src/native/vm/gnu/java_lang_management_VMManagementFactory.c,
+ src/native/vm/gnu/java_lang_reflect_VMConstructor.c,
+ src/native/vm/gnu/java_lang_reflect_VMField.c,
+ src/native/vm/gnu/java_lang_reflect_VMMethod.c,
+ src/native/vm/gnu/java_lang_reflect_VMProxy.c,
+ src/native/vm/gnu/java_security_VMAccessController.c,
+ src/native/vm/gnu/java_util_concurrent_atomic_AtomicLong.c,
+ src/native/vm/gnu/sun_reflect_ConstantPool.c,
+ src/native/vm/openjdk/jvm.c, src/native/vm/sun/Makefile.am,
+ src/native/vm/sun/hpi.c, src/native/vm/sun/hpi.h,
+ src/native/vm/sun/jvm.c:
+ * Merged with tip.
+ [b3b00c455d2b]
+
+2008-05-08 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/vm/jit/m68k/linux/md-os.h, tests/regression/HelloWorld.java,
+ tests/regression/codepatching/Makefile.am,
+ tests/regression/codepatching/aastoreconstClass.java,
+ tests/regression/codepatching/checkcastC.java,
+ tests/regression/codepatching/checkcastI.java,
+ tests/regression/codepatching/getfieldD.java,
+ tests/regression/codepatching/getfieldF.java,
+ tests/regression/codepatching/getfieldI.java,
+ tests/regression/codepatching/getfieldJ.java,
+ tests/regression/codepatching/getfieldL.java,
+ tests/regression/codepatching/getstaticD.java,
+ tests/regression/codepatching/getstaticF.java,
+ tests/regression/codepatching/getstaticI.java,
+ tests/regression/codepatching/getstaticJ.java,
+ tests/regression/codepatching/getstaticL.java,
+ tests/regression/codepatching/instanceofC.java,
+ tests/regression/codepatching/instanceofI.java,
+ tests/regression/codepatching/invokespecial.java,
+ tests/regression/codepatching/invokestatic.java,
+ tests/regression/codepatching/multianewarray.java,
+ tests/regression/codepatching/newarray.java,
+ tests/regression/codepatching/putfieldD.java,
+ tests/regression/codepatching/putfieldF.java,
+ tests/regression/codepatching/putfieldI.java,
+ tests/regression/codepatching/putfieldJ.java,
+ tests/regression/codepatching/putfieldL.java,
+ tests/regression/codepatching/putfieldconstC.java,
tests/regression/codepatching/putfieldconstD.java,
tests/regression/codepatching/putfieldconstF.java,
- tests/regression/codepatching/putstaticconstC.java,
+ tests/regression/codepatching/putfieldconstI.java,
tests/regression/codepatching/putfieldconstJ.java,
tests/regression/codepatching/putfieldconstL.java,
+ tests/regression/codepatching/putstaticD.java,
+ tests/regression/codepatching/putstaticF.java,
+ tests/regression/codepatching/putstaticI.java,
+ tests/regression/codepatching/putstaticJ.java,
+ tests/regression/codepatching/putstaticL.java,
+ tests/regression/codepatching/putstaticconstC.java,
+ tests/regression/codepatching/putstaticconstD.java,
+ tests/regression/codepatching/putstaticconstF.java,
tests/regression/codepatching/putstaticconstI.java,
+ tests/regression/codepatching/putstaticconstJ.java,
+ tests/regression/codepatching/putstaticconstL.java,
+ tests/regression/codepatching/test.java,
+ tests/regression/jasmin/test_verify_fail_jsr_multiple_returns.j,
+ tests/regression/jasmin/test_verify_fail_jsr_recursion.j,
+ tests/regression/jasmin/test_verify_fail_jsr_recursion_terminates.j:
+ * Merged with tip.
+ [b0f1bca06030]
+
+2008-04-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/native/vm/sun/jvm.c:
+ * src/native/vm/sun/jvm.c (JVM_GetEnclosingMethodInfo): Use
+ class_get_enclosingmethod_raw instead of class_get_enclosingmethod.
+ [14d10bd7f425]
+
+2008-05-15 Stefan Ring <stefan@complang.tuwien.ac.at>
+
+ * src/classes/gnuclasspath/java/lang/.VMClassLoader.java.swp:
+ * src/classes/gnuclasspath/java/lang/.VMClassLoader.java.swp:
+ Removed. How did this get in?
+ [7c99307ac907]
+
+2008-05-14 Peter Molnar <pm@complang.tuwien.ac.at>
+
+ * m4/classpath.m4, src/classes/gnu/gnu/classpath/VMStackWalker.java,
+ src/classes/gnu/gnu/classpath/VMSystemProperties.java,
+ src/classes/gnu/gnu/java/lang/CPStringBuilder.java,
+ src/classes/gnu/gnu/java/lang/VMCPStringBuilder.java,
+ src/classes/gnu/gnu/java/lang/management/VMMemoryMXBeanImpl.java,
+ src/classes/gnu/gnu/java/lang/management/VMRuntimeMXBeanImpl.java,
+ src/classes/gnu/java/lang/VMClassLoader.java,
+ src/classes/gnu/java/lang/VMString.java,
+ src/classes/gnu/java/lang/VMThread.java,
+ src/classes/gnu/java/lang/reflect/Constructor.java,
+ src/classes/gnu/java/lang/reflect/Field.java,
+ src/classes/gnu/java/lang/reflect/Method.java,
+ src/classes/gnu/java/lang/reflect/Modifier.java,
+ src/classes/gnu/java/lang/reflect/VMConstructor.java,
+ src/classes/gnu/java/lang/reflect/VMField.java,
+ src/classes/gnu/java/lang/reflect/VMMethod.java,
+ src/classes/gnu/java/security/VMAccessController.java,
+ src/classes/gnu/sun/misc/Unsafe.java,
+ src/classes/gnu/sun/reflect/ConstantPool.java,
+ src/classes/gnu/sun/reflect/annotation/AnnotationParser.java,
+ src/classes/gnu/sun/reflect/annotation/AnnotationType.java, src/clas
+ ses/gnu/sun/reflect/annotation/AnnotationTypeMismatchExceptionProxy.
+ java, src/classes/gnu/sun/reflect/annotation/EnumConstantNotPresentE
+ xceptionProxy.java,
+ src/classes/gnu/sun/reflect/annotation/ExceptionProxy.java, src/clas
+ ses/gnu/sun/reflect/annotation/TypeNotPresentExceptionProxy.java,
+ src/classes/gnuclasspath/java/lang/.VMClassLoader.java.swp,
+ src/native/vm/gnu/Makefile.am, src/native/vm/gnu/VMjdwp.c,
+ src/native/vm/gnu/VMjdwp.h,
+ src/native/vm/gnu/gnu_classpath_VMStackWalker.c,
+ src/native/vm/gnu/gnu_classpath_VMSystemProperties.c,
+ src/native/vm/gnu/gnu_classpath_jdwp_VMFrame.c,
+ src/native/vm/gnu/gnu_classpath_jdwp_VMMethod.c,
+ src/native/vm/gnu/gnu_classpath_jdwp_VMVirtualMachine.c,
+ src/native/vm/gnu/gnu_java_lang_VMCPStringBuilder.c, src/native/vm/g
+ nu/gnu_java_lang_management_VMClassLoadingMXBeanImpl.c,
+ src/native/vm/gnu/gnu_java_lang_management_VMMemoryMXBeanImpl.c,
+ src/native/vm/gnu/gnu_java_lang_management_VMRuntimeMXBeanImpl.c,
+ src/native/vm/gnu/gnu_java_lang_management_VMThreadMXBeanImpl.c,
+ src/native/vm/gnu/java_lang_VMClass.c,
+ src/native/vm/gnu/java_lang_VMClassLoader.c,
+ src/native/vm/gnu/java_lang_VMObject.c,
+ src/native/vm/gnu/java_lang_VMRuntime.c,
+ src/native/vm/gnu/java_lang_VMString.c,
+ src/native/vm/gnu/java_lang_VMSystem.c,
+ src/native/vm/gnu/java_lang_VMThread.c,
+ src/native/vm/gnu/java_lang_VMThrowable.c,
+ src/native/vm/gnu/java_lang_management_VMManagementFactory.c,
+ src/native/vm/gnu/java_lang_reflect_VMConstructor.c,
+ src/native/vm/gnu/java_lang_reflect_VMField.c,
+ src/native/vm/gnu/java_lang_reflect_VMMethod.c,
+ src/native/vm/gnu/java_lang_reflect_VMProxy.c,
+ src/native/vm/gnu/java_security_VMAccessController.c,
+ src/native/vm/gnu/java_util_concurrent_atomic_AtomicLong.c,
+ src/native/vm/gnu/sun_reflect_ConstantPool.c,
+ src/native/vm/sun/Makefile.am, src/native/vm/sun/hpi.c,
+ src/native/vm/sun/hpi.h, src/native/vm/sun/jvm.c, src/vm/jit/jit.c:
+ Merging 8179.
+ [e1df59a7c5b8]
+
+ * src/vm/jit/cfg.c, src/vm/jit/optimizing/ssa3.c:
+ * src/vm/jit/cfg.c: Changed all occurences of class to clazz.
+ * src/vm/jit/optimizing/ssa3.c: Removed accidentally forgotten diff
+ marker resulting from previous merge.
+ [3497103d748b]
+
+ * src/vm/jit/allocator/simplereg.c, src/vm/jit/cfg.c,
+ src/vm/jit/i386/codegen.c, src/vm/jit/icmdtable.inc,
+ src/vm/jit/jit.c, src/vm/jit/jit.h, src/vm/jit/optimizing/ssa.c,
+ src/vm/jit/optimizing/ssa3.c, src/vm/jit/show.c:
+ * src/vm/jit/allocator/simplereg.c (simplereg_allocate_temporaries):
+ Support for ICMD_GETEXCEPTION.
+ * src/vm/jit/cfg.c (cfg_eliminate_edges_to_unreachable,
+ cfg_calculate_reachability, cfg_remove_predecessors,
+ cfg_eliminate_edges_to_unreachable): new functions.
+ * src/vm/jit/i386/codegen.c [ENABLE_SSA] (codegen_emit): Don't copy
+ itmp1 into invar 1 in exh blocks.
+ * src/vm/jit/icmdtable.inc (ICMD_GETEXCEPTION, ICMD_PHI): new opcodes.
+ * src/vm/jit/jit.c (jit_compile_intern) [ENABLE_SSA]: Normalizing
+ exception handlers before SSA transformation.
+ * src/vm/jit/jit.h (var_is_inout): Correctly handling TYPE_RET
+ variables.
+ * src/vm/jit/optimizing/ssa.c: adapted.
+ * src/vm/jit/optimizing/ssa3.c: Changed a lot.
+ * src/vm/jit/show.c (show_icmd): Support for ICMD_GETEXCEPTION.
+ [3224e4058498]
+
+2008-05-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/classes/Makefile.am,
+ src/classes/gnu/gnu/classpath/VMStackWalker.java,
+ src/classes/gnu/gnu/classpath/VMSystemProperties.java,
+ src/classes/gnu/gnu/java/lang/CPStringBuilder.java,
+ src/classes/gnu/gnu/java/lang/VMCPStringBuilder.java,
+ src/classes/gnu/gnu/java/lang/management/VMMemoryMXBeanImpl.java,
+ src/classes/gnu/gnu/java/lang/management/VMRuntimeMXBeanImpl.java,
+ src/classes/gnu/java/lang/VMClassLoader.java,
+ src/classes/gnu/java/lang/VMString.java,
+ src/classes/gnu/java/lang/VMThread.java,
+ src/classes/gnu/java/lang/reflect/Constructor.java,
+ src/classes/gnu/java/lang/reflect/Field.java,
+ src/classes/gnu/java/lang/reflect/Method.java,
+ src/classes/gnu/java/lang/reflect/Modifier.java,
+ src/classes/gnu/java/lang/reflect/VMConstructor.java,
+ src/classes/gnu/java/lang/reflect/VMField.java,
+ src/classes/gnu/java/lang/reflect/VMMethod.java,
+ src/classes/gnu/java/security/VMAccessController.java,
+ src/classes/gnu/sun/misc/Unsafe.java,
+ src/classes/gnu/sun/reflect/ConstantPool.java,
+ src/classes/gnu/sun/reflect/annotation/AnnotationParser.java,
+ src/classes/gnu/sun/reflect/annotation/AnnotationType.java, src/clas
+ ses/gnu/sun/reflect/annotation/AnnotationTypeMismatchExceptionProxy.
+ java, src/classes/gnu/sun/reflect/annotation/EnumConstantNotPresentE
+ xceptionProxy.java,
+ src/classes/gnu/sun/reflect/annotation/ExceptionProxy.java, src/clas
+ ses/gnu/sun/reflect/annotation/TypeNotPresentExceptionProxy.java,
+ src/classes/gnuclasspath/gnu/classpath/VMStackWalker.java,
+ src/classes/gnuclasspath/gnu/classpath/VMSystemProperties.java,
+ src/classes/gnuclasspath/gnu/java/lang/CPStringBuilder.java,
+ src/classes/gnuclasspath/gnu/java/lang/VMCPStringBuilder.java, src/c
+ lasses/gnuclasspath/gnu/java/lang/management/VMMemoryMXBeanImpl.java
+ , src/classes/gnuclasspath/gnu/java/lang/management/VMRuntimeMXBeanI
+ mpl.java, src/classes/gnuclasspath/java/lang/VMClassLoader.java,
+ src/classes/gnuclasspath/java/lang/VMString.java,
+ src/classes/gnuclasspath/java/lang/VMThread.java,
+ src/classes/gnuclasspath/java/lang/reflect/Constructor.java,
+ src/classes/gnuclasspath/java/lang/reflect/Field.java,
+ src/classes/gnuclasspath/java/lang/reflect/Method.java,
+ src/classes/gnuclasspath/java/lang/reflect/Modifier.java,
+ src/classes/gnuclasspath/java/lang/reflect/VMConstructor.java,
+ src/classes/gnuclasspath/java/lang/reflect/VMField.java,
+ src/classes/gnuclasspath/java/lang/reflect/VMMethod.java,
+ src/classes/gnuclasspath/java/security/VMAccessController.java,
+ src/classes/gnuclasspath/sun/misc/Unsafe.java,
+ src/classes/gnuclasspath/sun/reflect/ConstantPool.java, src/classes/
+ gnuclasspath/sun/reflect/annotation/AnnotationParser.java,
+ src/classes/gnuclasspath/sun/reflect/annotation/AnnotationType.java,
+ src/classes/gnuclasspath/sun/reflect/annotation/AnnotationTypeMismat
+ chExceptionProxy.java, src/classes/gnuclasspath/sun/reflect/annotati
+ on/EnumConstantNotPresentExceptionProxy.java,
+ src/classes/gnuclasspath/sun/reflect/annotation/ExceptionProxy.java,
+ src/classes/gnuclasspath/sun/reflect/annotation/TypeNotPresentExcept
+ ionProxy.java:
+ * src/classes/gnu: Renamed to src/classes/gnuclasspath.
+ [caa690b0970d]
+
+ * src/classes/Makefile.am:
+ * src/classes/Makefile.am (BOOTCLASSPATH): Removed, this is set
+ during configure.
+ [b46e2a411a24]
+
+ * configure.ac, src/native/vm/Makefile.am,
+ src/native/vm/gnu/Makefile.am, src/native/vm/gnu/VMjdwp.c,
+ src/native/vm/gnu/VMjdwp.h,
+ src/native/vm/gnu/gnu_classpath_VMStackWalker.c,
+ src/native/vm/gnu/gnu_classpath_VMSystemProperties.c,
+ src/native/vm/gnu/gnu_classpath_jdwp_VMFrame.c,
+ src/native/vm/gnu/gnu_classpath_jdwp_VMMethod.c,
+ src/native/vm/gnu/gnu_classpath_jdwp_VMVirtualMachine.c,
+ src/native/vm/gnu/gnu_java_lang_VMCPStringBuilder.c, src/native/vm/g
+ nu/gnu_java_lang_management_VMClassLoadingMXBeanImpl.c,
+ src/native/vm/gnu/gnu_java_lang_management_VMMemoryMXBeanImpl.c,
+ src/native/vm/gnu/gnu_java_lang_management_VMRuntimeMXBeanImpl.c,
+ src/native/vm/gnu/gnu_java_lang_management_VMThreadMXBeanImpl.c,
+ src/native/vm/gnu/java_lang_VMClass.c,
+ src/native/vm/gnu/java_lang_VMClassLoader.c,
+ src/native/vm/gnu/java_lang_VMObject.c,
+ src/native/vm/gnu/java_lang_VMRuntime.c,
+ src/native/vm/gnu/java_lang_VMString.c,
+ src/native/vm/gnu/java_lang_VMSystem.c,
+ src/native/vm/gnu/java_lang_VMThread.c,
+ src/native/vm/gnu/java_lang_VMThrowable.c,
+ src/native/vm/gnu/java_lang_management_VMManagementFactory.c,
+ src/native/vm/gnu/java_lang_reflect_VMConstructor.c,
+ src/native/vm/gnu/java_lang_reflect_VMField.c,
+ src/native/vm/gnu/java_lang_reflect_VMMethod.c,
+ src/native/vm/gnu/java_lang_reflect_VMProxy.c,
+ src/native/vm/gnu/java_security_VMAccessController.c,
+ src/native/vm/gnu/java_util_concurrent_atomic_AtomicLong.c,
+ src/native/vm/gnu/sun_reflect_ConstantPool.c,
+ src/native/vm/gnuclasspath/Makefile.am,
+ src/native/vm/gnuclasspath/VMjdwp.c,
+ src/native/vm/gnuclasspath/VMjdwp.h,
+ src/native/vm/gnuclasspath/gnu_classpath_VMStackWalker.c,
+ src/native/vm/gnuclasspath/gnu_classpath_VMSystemProperties.c,
+ src/native/vm/gnuclasspath/gnu_classpath_jdwp_VMFrame.c,
+ src/native/vm/gnuclasspath/gnu_classpath_jdwp_VMMethod.c,
+ src/native/vm/gnuclasspath/gnu_classpath_jdwp_VMVirtualMachine.c,
+ src/native/vm/gnuclasspath/gnu_java_lang_VMCPStringBuilder.c, src/na
+ tive/vm/gnuclasspath/gnu_java_lang_management_VMClassLoadingMXBeanIm
+ pl.c, src/native/vm/gnuclasspath/gnu_java_lang_management_VMMemoryMX
+ BeanImpl.c, src/native/vm/gnuclasspath/gnu_java_lang_management_VMRu
+ ntimeMXBeanImpl.c, src/native/vm/gnuclasspath/gnu_java_lang_manageme
+ nt_VMThreadMXBeanImpl.c,
+ src/native/vm/gnuclasspath/java_lang_VMClass.c,
+ src/native/vm/gnuclasspath/java_lang_VMClassLoader.c,
+ src/native/vm/gnuclasspath/java_lang_VMObject.c,
+ src/native/vm/gnuclasspath/java_lang_VMRuntime.c,
+ src/native/vm/gnuclasspath/java_lang_VMString.c,
+ src/native/vm/gnuclasspath/java_lang_VMSystem.c,
+ src/native/vm/gnuclasspath/java_lang_VMThread.c,
+ src/native/vm/gnuclasspath/java_lang_VMThrowable.c, src/native/vm/gn
+ uclasspath/java_lang_management_VMManagementFactory.c,
+ src/native/vm/gnuclasspath/java_lang_reflect_VMConstructor.c,
+ src/native/vm/gnuclasspath/java_lang_reflect_VMField.c,
+ src/native/vm/gnuclasspath/java_lang_reflect_VMMethod.c,
+ src/native/vm/gnuclasspath/java_lang_reflect_VMProxy.c,
+ src/native/vm/gnuclasspath/java_security_VMAccessController.c,
+ src/native/vm/gnuclasspath/java_util_concurrent_atomic_AtomicLong.c,
+ src/native/vm/gnuclasspath/sun_reflect_ConstantPool.c,
+ src/native/vm/nativevm.c, src/native/vm/openjdk/Makefile.am,
+ src/native/vm/openjdk/hpi.c, src/native/vm/openjdk/hpi.h,
+ src/native/vm/openjdk/jvm.c, src/native/vm/sun/Makefile.am,
+ src/native/vm/sun/hpi.c, src/native/vm/sun/hpi.h,
+ src/native/vm/sun/jvm.c:
+ * src/native/vm/gnu: Renamed to src/native/vm/gnuclasspath.
+ * src/native/vm/sun: Renamed to src/native/vm/openjdk.
+ [1c0d84d8f0dc]
+
+ * m4/classpath.m4, m4/java-runtime-library.m4:
+ * m4/classpath.m4: Moved from here...
+ * m4/java-runtime-library.m4: ...to here.
+ [0c5b61d3cdea]
+
+ * contrib/setenvinstalled.in, contrib/setenvsource.in:
+ * contrib/setenvinstalled.in: Missed in renaming.
+ * contrib/setenvsource.in: Likewise.
+ [69c19a930578]
+
+ * configure.ac, contrib/setenvinstalled.in, contrib/setenvsource.in,
+ m4/classpath.m4, m4/hpi.m4, src/cacao/Makefile.am,
+ src/cacaoh/cacaoh.c, src/classes/Makefile.am,
+ src/native/include/Makefile.am, src/native/jni.c,
+ src/native/native.c, src/native/vm/Makefile.am,
+ src/native/vm/gnu/java_lang_VMClass.c,
+ src/native/vm/gnu/java_lang_VMClassLoader.c,
+ src/native/vm/nativevm.c, src/native/vm/nativevm.h,
+ src/native/vm/reflect.c, src/native/vm/reflect.h,
+ src/native/vm/sun_misc_Unsafe.c, src/threads/posix/thread-posix.c,
+ src/threads/thread.c, src/vm/access.c, src/vm/assertion.c,
+ src/vm/initialize.c, src/vm/jit/codegen-common.c, src/vm/jit/jit.c,
+ src/vm/jit/stacktrace.c, src/vm/properties.c, src/vm/signal.c,
+ src/vm/vm.c, src/vmcore/class.c, src/vmcore/class.h,
+ src/vmcore/linker.c, src/vmcore/loader.c, src/vmcore/utf8.c,
+ src/vmcore/utf8.h:
+ * m4/classpath.m4: Renamed --with-classpath* options to
+ --with-java-runtime-library* and the defines respectively.
+
+ * configure.ac, contrib/setenvinstalled.in, contrib/setenvsource.in,
+ m4/hpi.m4, src/cacao/Makefile.am, src/cacaoh/cacaoh.c,
+ src/classes/Makefile.am, src/native/include/Makefile.am,
+ src/native/jni.c, src/native/native.c, src/native/vm/Makefile.am,
+ src/native/vm/gnu/java_lang_VMClass.c,
+ src/native/vm/gnu/java_lang_VMClassLoader.c,
+ src/native/vm/nativevm.c, src/native/vm/nativevm.h,
+ src/native/vm/reflect.c, src/native/vm/reflect.h,
+ src/native/vm/sun_misc_Unsafe.c, src/threads/posix/thread-posix.c,
+ src/threads/thread.c, src/vm/access.c, src/vm/assertion.c,
+ src/vm/initialize.c, src/vm/jit/codegen-common.c, src/vm/jit/jit.c,
+ src/vm/jit/stacktrace.c, src/vm/properties.c, src/vm/signal.c,
+ src/vm/vm.c, src/vmcore/class.c, src/vmcore/class.h,
+ src/vmcore/linker.c, src/vmcore/loader.c, src/vmcore/utf8.c,
+ src/vmcore/utf8.h: Likewise.
+ [ec4ce9fdb0b0]
+
+2008-05-13 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/vm/vm.c, src/vm/vm.h:
+ * src/vm/vm.c (mainstring): Removed. (mainclass): Made static.
+ (vm_create): Moved main-class argument handling from here...
+ (vm_run): ...to here. (vm_compile_method): Pass class name to the
+ function.
+ * src/vm/vm.h (mainstring): Removed. (mainclass): Likewise.
+ [0dc5ef768134]
+
+ * src/threads/none/thread-none.h:
+ * src/threads/none/thread-none.h (THREADINFO): Removed.
+ [a68de3a1d5c6]
+
+ * src/threads/none/thread-none.h, src/threads/posix/thread-posix.h:
+ * src/threads/none/thread-none.h (THREADSPECIFIC): Removed because
+ it's not used anymore.
+ * src/threads/posix/thread-posix.h: Likewise.
+ [5925f8258a23]
+
+2008-05-11 Stefan Ring <stefan@complang.tuwien.ac.at>
+
+ * src/vm/jit/x86_64/asmpart.S:
+ * src/vm/jit/x86_64/asmpart.S (asm_get_cycle_count): Repaired
+ --enable-cycles-stats.
+ [a63c117e1ebd]
+
+ * src/mm/boehm-gc/pthread_stop_world.c, src/threads/posix/thread-
+ posix.c:
+ Merged cleanup -> gc7-branch
+ [d12524409a9c]
+
+ * configure.ac, src/lib/Makefile.am,
+ src/lib/cldc1.1/com/sun/cldchi/jvm/FileDescriptor.java,
+ src/lib/gnu/gnu/classpath/VMStackWalker.java,
+ src/lib/gnu/gnu/classpath/VMSystemProperties.java,
+ src/lib/gnu/gnu/java/lang/management/VMMemoryMXBeanImpl.java,
+ src/lib/gnu/gnu/java/lang/management/VMRuntimeMXBeanImpl.java,
+ src/lib/gnu/java/lang/VMClassLoader.java,
+ src/lib/gnu/java/lang/VMString.java,
+ src/lib/gnu/java/lang/VMThread.java,
+ src/lib/gnu/java/lang/VMThrowable.java,
+ src/lib/gnu/java/lang/reflect/Constructor.java,
+ src/lib/gnu/java/lang/reflect/Field.java,
+ src/lib/gnu/java/lang/reflect/Method.java,
+ src/lib/gnu/java/security/VMAccessController.java,
+ src/lib/gnu/sun/misc/Unsafe.java,
+ src/lib/gnu/sun/reflect/ConstantPool.java,
+ src/lib/gnu/sun/reflect/annotation/AnnotationParser.java,
+ src/lib/gnu/sun/reflect/annotation/AnnotationType.java, src/lib/gnu/
+ sun/reflect/annotation/AnnotationTypeMismatchExceptionProxy.java, sr
+ c/lib/gnu/sun/reflect/annotation/EnumConstantNotPresentExceptionProx
+ y.java, src/lib/gnu/sun/reflect/annotation/ExceptionProxy.java, src/
+ lib/gnu/sun/reflect/annotation/TypeNotPresentExceptionProxy.java,
+ src/native/vm/gnu/java_lang_reflect_Constructor.c,
+ src/native/vm/gnu/java_lang_reflect_Field.c,
+ src/native/vm/gnu/java_lang_reflect_Method.c,
+ src/native/vm/java_lang_Class.c, src/native/vm/java_lang_Class.h,
+ src/native/vm/java_lang_reflect_Constructor.c,
+ src/native/vm/java_lang_reflect_Constructor.h,
+ src/native/vm/java_lang_reflect_Method.c,
+ src/native/vm/java_lang_reflect_Method.h,
+ src/threads/native/Makefile.am, src/threads/native/generic-
+ primitives.h, src/threads/native/lock.c, src/threads/native/lock.h,
+ src/threads/native/threads.c, src/threads/native/threads.h,
+ src/threads/none/threads.h, src/threads/posix/thread-posix.c,
+ src/threads/threads-common.c, src/threads/threads-common.h,
+ src/vm/jit/m68k/linux/md-os.h, tests/A2.java, tests/AA.java,
+ tests/AA1.java, tests/AA2.java, tests/BB.java, tests/C.java,
+ tests/C2.java, tests/C3.java, tests/CC.java, tests/D.java,
+ tests/DD.java, tests/EE.java, tests/GG.java, tests/HI2.java,
+ tests/II.java, tests/IIAA.java, tests/IIBB.java, tests/IICC.java,
+ tests/IIexample.java, tests/n.java,
+ tests/regression/HelloWorld.java,
+ tests/regression/clinitexception.2output,
+ tests/regression/clinitexception.java,
+ tests/regression/codepatching/Makefile.am,
+ tests/regression/codepatching/aastoreconstClass.java,
+ tests/regression/codepatching/checkcastC.java,
+ tests/regression/codepatching/checkcastI.java,
+ tests/regression/codepatching/getfieldD.java,
+ tests/regression/codepatching/getfieldF.java,
+ tests/regression/codepatching/getfieldI.java,
+ tests/regression/codepatching/getfieldJ.java,
+ tests/regression/codepatching/getfieldL.java,
+ tests/regression/codepatching/getstaticD.java,
+ tests/regression/codepatching/getstaticF.java,
+ tests/regression/codepatching/getstaticI.java,
+ tests/regression/codepatching/getstaticJ.java,
+ tests/regression/codepatching/getstaticL.java,
+ tests/regression/codepatching/instanceofC.java,
+ tests/regression/codepatching/instanceofI.java,
+ tests/regression/codepatching/invokespecial.java,
+ tests/regression/codepatching/invokestatic.java,
+ tests/regression/codepatching/multianewarray.java,
+ tests/regression/codepatching/newarray.java,
+ tests/regression/codepatching/putfieldD.java,
+ tests/regression/codepatching/putfieldF.java,
+ tests/regression/codepatching/putfieldI.java,
+ tests/regression/codepatching/putfieldJ.java,
+ tests/regression/codepatching/putfieldL.java,
tests/regression/codepatching/putfieldconstC.java,
- tests/regression/codepatching/putstaticconstD.java,
+ tests/regression/codepatching/putfieldconstD.java,
+ tests/regression/codepatching/putfieldconstF.java,
tests/regression/codepatching/putfieldconstI.java,
- tests/regression/codepatching/putstaticconstF.java: New file.
-
-2006-04-28 11:24 edwin
-
- * src/vm/resolve.c (resolve_method_lazy): Turn INVOKEVIRTUAL into
- INVOKESPECIAL for monomorphic calls.
-
-2006-04-28 00:46 edwin
+ tests/regression/codepatching/putfieldconstJ.java,
+ tests/regression/codepatching/putfieldconstL.java,
+ tests/regression/codepatching/putstaticD.java,
+ tests/regression/codepatching/putstaticF.java,
+ tests/regression/codepatching/putstaticI.java,
+ tests/regression/codepatching/putstaticJ.java,
+ tests/regression/codepatching/putstaticL.java,
+ tests/regression/codepatching/putstaticconstC.java,
+ tests/regression/codepatching/putstaticconstD.java,
+ tests/regression/codepatching/putstaticconstF.java,
+ tests/regression/codepatching/putstaticconstI.java,
+ tests/regression/codepatching/putstaticconstJ.java,
+ tests/regression/codepatching/putstaticconstL.java,
+ tests/regression/codepatching/test.java,
+ tests/regression/jasmin/test_verify_fail_jsr_multiple_returns.j,
+ tests/regression/jasmin/test_verify_fail_jsr_recursion.j,
+ tests/regression/jasmin/test_verify_fail_jsr_recursion_terminates.j,
+ tests/scribble.java:
+ Clean merge -> gc7-branch
+ [98fcc574613e]
+
+ * src/mm/boehm-gc/pthread_stop_world.c, src/threads/posix/thread-
+ posix.c, src/threads/posix/thread-posix.h:
+ * src/mm/boehm-gc/pthread_stop_world.c: Cleaned up some old Boehm-
+ based stop-the-world code.
+ * src/threads/posix/thread-posix.c: Likewise.
+ * src/threads/posix/thread-posix.h: Likewise.
+ [f1539535de4a]
+
+2008-05-10 Peter Molnar <pm@complang.tuwien.ac.at>
+
+ * src/vm/jit/s390/codegen.c:
+ * src/vm/jit/s390/codegen.c (codegen_emit): For ICMD_LALOAD,
+ ICMD_LASTORE, ICMD_DALOAD, fixed offset of first array element. This
+ fixes the failing dacapo antlr benchmark.
+ [6d6dc5996014]
+
+2008-05-09 Stefan Ring <stefan@complang.tuwien.ac.at>
+
+ * src/threads/posix/lock.c:
+ * src/threads/posix/lock.c: Replaced UTF-8 characters with ASCII.
+ [d3272044b8ba]
+
+2008-05-08 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * configure.ac:
+ * configure.ac (AC_INIT): Bumped version to 0.99rc5.
+ [487fdcb54770]
+
+ * src/vm/jit/s390/md.c:
+ * src/vm/jit/s390/md.c (md_executionstate_read): New function (stub
+ only). (md_executionstate_write): Likewise.
+ [1f78ff4da6c6]
+
+2008-05-07 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * m4/cacaoh.m4, src/Makefile.am:
+ * m4/cacaoh.m4 (AC_CHECK_WITH_CACAOH): Don't set ENABLE_CACAOH.
+ * src/Makefile.am [ENABLE_CACAOH] (CACAOH_DIR): Removed. (SUBDIRS):
+ Always build cacaoh because it's required e.g. when running make
+ check on the target.
+ [94ddb4bbdab5]
+
+2008-05-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * configure.ac:
+ * configure.ac (AC_INIT): Bumped version to 0.99rc4.
+ [7eb41343fb41]
+
+ * src/vmcore/system.h:
+ * src/vmcore/system.h (system_scandir) [__IRIX__]: On IRIX the
+ signature is a bit different. This prevents a lot of compiler
+ warnings.
+ [07aeecc03c14]
+
+ * src/vm/jit/mips/linux/md-os.c:
+ * src/vm/jit/mips/linux/md-os.c (md_executionstate_read): New
+ function. (md_executionstate_write): Likewise.
+ [a0a153d01b3b]
+
+ * src/vm/jit/mips/asmpart.S, src/vm/jit/mips/md-asm.h:
+ * src/vm/jit/mips/asmpart.S: Replaced ldc1/sdc1 with l.d/s.d macros.
+ * src/vm/jit/mips/md-asm.h: Likewise.
+ [683df1b2eac0]
+
+ * src/vm/jit/alpha/md-asm.h:
+ * src/vm/jit/alpha/md-asm.h (SAVE_RETURN_REGISTERS): Removed, it's
+ not used anymore. (RESTORE_RETURN_REGISTERS): Likewise.
+ [e4ed14b8cf28]
+
+ * src/mm/boehm.c, src/mm/gc-common.h:
+ * src/mm/boehm.c: Use stdint-types.
+ * src/mm/gc-common.h: Likewise.
+ [ddc2fa158b02]
+
+ * tests/regression/jasmin/Makefile.am:
+ * tests/regression/jasmin/Makefile.am (build): Added cup.jar to
+ classpath.
+ [da35822eaaf4]
+
+ * tests/regression/bugzilla/PR65.java:
+ * tests/regression/bugzilla/PR65.java (test): Fixed compiler
+ warning.
+ [7f91d6142bfa]
+
+2008-05-05 Stefan Ring <stefan@complang.tuwien.ac.at>
+
+ * src/vm/jit/i386/darwin/md-asm.h, src/vm/jit/stacktrace.c:
+ Merged with tip.
+ [630215c2fbf8]
+
+ * src/vm/jit/i386/darwin/md-asm.h, src/vm/jit/stacktrace.c:
+ * src/vm/jit/i386/darwin/md-asm.h: Repaired --enable-cycles-stats.
+ * src/vm/jit/stacktrace.c: Likewise.
+ [36b6519d4b72]
+
+2008-05-03 Stefan Ring <stefan@complang.tuwien.ac.at>
+
+ * src/cacaoh/dummy.c, src/threads/critical.h, src/vm/jit/i386/cygwin
+ /md-asm.h, src/vm/jit/i386/darwin/md-asm.h,
+ src/vm/jit/intrp/asmpart.c:
+ * src/cacaoh/dummy.c: Removed asm_criticalsections and
+ asm_getclassvalues_atomic. They have not been used anywhere in a
+ long time.
+ * src/threads/critical.h: Likewise.
+ * src/vm/jit/i386/cygwin/md-asm.h: Likewise.
+ * src/vm/jit/i386/darwin/md-asm.h: Likewise.
+ * src/vm/jit/intrp/asmpart.c: Likewise.
+ [dc465902bf87]
+
+ * tests/regression/bugzilla/All.java,
+ tests/regression/bugzilla/PR65.java:
+ * tests/regression/bugzilla/All.java: Added test case for PR65.
+ [c1ec27d0f8f0]
+
+2008-05-02 Stefan Ring <stefan@complang.tuwien.ac.at>
+
+ * src/vm/builtin.c:
+ * src/vm/builtin.c (builtin_descriptorscompatible): Experimental fix
+ for bugzilla bug #65.
+ [4436cc114a77]
+
+2008-04-30 Stefan Ring <stefan@complang.tuwien.ac.at>
+
+ * tests/threads/threadInterrupt.java,
+ tests/threads/waitAndInterrupt.java:
+ * tests/threads/threadInterrupt.java: Added brief comment explaining
+ the purpose of this test.
+ * tests/threads/waitAndInterrupt.java: Likewise.
+ [9ca0035d4d04]
+
+ * tests/weakref.java:
+ * tests/weakref.java: New test for weak references.
+ [6647d194cff1]
+
+ * src/vm/jit/i386/machine-instr.h, src/vmcore/linker.c,
+ tests/threads/threadInterrupt.java,
+ tests/threads/waitAndInterrupt.java:
+ Backed out changeset ecf451e74e7e
+ [d0882f1633d5]
+
+ * src/vm/jit/i386/machine-instr.h, src/vmcore/linker.c,
+ tests/threads/threadInterrupt.java,
+ tests/threads/waitAndInterrupt.java:
+ * tests/threads/threadInterrupt.java: Added brief comment explaining
+ the purpose of this test.
+ * tests/threads/waitAndInterrupt.java: Likewise.
+ [ecf451e74e7e]
+
+2008-04-29 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * tests/regression/jasmin/Makefile.am,
+ tests/regression/jasmin/runtest,
+ tests/regression/jasmin/test_verify_fail_jsr_multiple_returns.j,
+ tests/regression/jasmin/test_verify_fail_jsr_multiple_returns.j-no,
+ tests/regression/jasmin/test_verify_fail_jsr_recursion.j,
+ tests/regression/jasmin/test_verify_fail_jsr_recursion.j-no,
+ tests/regression/jasmin/test_verify_fail_jsr_recursion_terminates.j,
+ tests/regression/jasmin/test_verify_fail_jsr_recursion_terminates.j-
+ no:
+ * tests/regression/jasmin/Makefile.am (JAVA): Prefix
+ LD_LIBRARY_PATH. (JASMIN_TESTS): Removed. (EXTRA_DIST): Removed
+ JASMIN_TESTS, added $(srcdir)/*.j. (build): Target added. (run):
+ Likewise.
+ * tests/regression/jasmin/runtest: Removed compilation of the tests.
- * src/vm/jit/intrp/asmpart.c (intrp_asm_vm_call_method_int): Fix
- build
- errors. TWISTI, please review these changes.
+ * tests/regression/jasmin/test_verify_fail_jsr_multiple_returns.j:
+ Moved from here...
+ * tests/regression/jasmin/test_verify_fail_jsr_multiple_returns.j-no:
+ ... to here.
-2006-04-28 00:31 edwin
+ * tests/regression/jasmin/test_verify_fail_jsr_recursion.j:
+ Likewise.
+ * tests/regression/jasmin/test_verify_fail_jsr_recursion.j-no:
+ Likewise.
- * regression/codepatching/test.java: Added test for AASTORECONST
- with unresolved class constant. Currently exposes a bug when
- test.java is
- compiled with -target 1.5.
-
- * regression/codepatching/aastoreconstClass.java: New file.
+ *
+ tests/regression/jasmin/test_verify_fail_jsr_recursion_terminates.j:
+ Likewise.
+ * tests/regression/jasmin/test_verify_fail_jsr_recursion_terminates.j-
+ no: Likewise.
+ [845282affca0]
+
+ * tests/regression/HelloWorld.java, tests/regression/Makefile.am:
+ * tests/regression/Makefile.am (JAVACCMD): Added -source 1.5 -target
+ 1.5 -nowarn. (SOURCE_FILES): Removed HelloWorld.java.
+ (SIMPLE_JAVA_TESTS): Removed. (run): Target added.
+ * tests/regression/HelloWorld.java: Removed.
+ [e91af259734b]
+
+ * tests/regression/assertion/Makefile.am:
+ * tests/regression/assertion/Makefile.am (JAVACCMD): Added -source
+ 1.5
+ -target 1.5. (run): Target added.
+ [4c49e26a4bd4]
+
+ * tests/regression/bugzilla/Makefile.am:
+ * tests/regression/bugzilla/Makefile.am (run): Target added.
+ [d4377a3eef9c]
+
+ * tests/regression/junit/Makefile.am:
+ * tests/regression/junit/Makefile.am (JAVACCMD): Added -source 1.5
+ -target 1.5 -nowarn (TODO: move this into a variable). (run): Target
+ added.
+ [46571e5bbf57]
-2006-04-27 23:03 twisti
+2008-04-28 Christian Thalinger <twisti@complang.tuwien.ac.at>
- * src/vm/jit/stacktrace.h (STACKFRAMEINFO): Added parenthesis.
- * src/vm/global.h (java_objectheader): Changed type of monitorPtr to
- monitorLockRecord.
-
- * src/vm/vm.h (vm_arg): Added union.
- * src/vm/vm.c (vm_vmargs_from_valist): Use union of vm_arg's data.
- * src/native/jni.c (_Jv_jni_vmargs_from_objectarray): Likewise.
-
- * src/threads/native/threads.h (nativethread): Changed type of
- _stackframeinfo to stackframeinfo*.
- * src/threads/native/threads.c (monitorEnter): Cast compare_and_swap
- return value correctly.
+ * configure.ac:
+ * configure.ac (AC_INIT): Bumped version to 0.99rc3.
+ [c197b02ff123]
-2006-04-27 12:33 twisti
+ * .hgignore:
+ * .hgignore: Added m4/libtool.m4, m4/ltoptions.m4, m4/ltsugar.m4,
+ m4/ltversion.m4, m4/lt~obsolete.m4.
+ [ebbb6e7a1914]
- * src/vm/jit/x86_64/emit.c: Changed x86_64 function prefix to
- emit. And some other stuff too.
- * src/vm/jit/x86_64/md-emit.h: Likewise.
- * src/vm/jit/x86_64/codegen.c: Likewise.
- * src/vm/jit/x86_64/codegen.h: Likewise.
+ * configure.ac, m4/jre-layout.m4, src/cacao/cacao.c,
+ src/native/vm/gnu/gnu_classpath_VMSystemProperties.c,
+ src/vm/properties.c, src/vm/vm.c, src/vmcore/system.h:
+ * m4/jre-layout.m4 (AC_CHECK_WITH_JRE_LAYOUT): Renamed to
+ AC_CHECK_ENABLE_JRE_LAYOUT.
+ * configure.ac: Likewise.
-2006-04-27 11:05 twisti
-
- * src/native/vm/VMSystemProperties.c (preInit): Append "/jre" to
- java.home property, as all JDKs and JREs do that. Fixed a problem with
- jonas testsuite. General cleanup.
-
-2006-04-27 10:32 twisti
-
- * src/vm/jit/powerpc/darwin/md-asm.h (jit_asm_compile): Renamed from
- jit_compile.
- * src/vm/jit/powerpc/asmpart.S: Likewise.
-
-2006-04-26 15:44 edwin
-
- * src/vm/jit/stacktrace.c (stacktrace_getClassContext): Reverted the
- hack that removes the first entry if this function is called by
- java.lang.SecurityManager. This (undocumented) hack probably was done
- to solve a problem that no longer exists.
-
-2006-04-26 14:09 twisti
-
- * src/vm/jit/i386/Makefile.am (libarch_la_SOURCES): Removed
- emitfuncs.c, emitfuncs.h and added emit.c, md-emit.h.
-
- * src/vm/jit/i386/emit.c (emit_load_s1): New method.
- (emit_load_s2): Likewise.
- (emit_load_s3): Likewise.
- (emit_store): Likewise.
- (emit_copy): Likewise.
-
- * src/vm/jit/i386/codegen.c (codegen): Use emit_load/store functions
- instead of macros.
-
- * src/vm/jit/i386/codegen.h (M_LNGMOVE): Added.
- (M_LNGMEMMOVE): Removed.
- (var_to_reg_int): Removed.
- (var_to_reg_lng): Likewise.
- (var_to_reg_flt): Likewise.
- (store_reg_to_var_int): Likewise.
- (store_reg_to_var_lng): Likewise.
- (store_reg_to_var_flt): Likewise.
- (M_FLD): Added.
- (M_DLD): Likewise.
- (M_FLD32): Likewise.
- (M_DLD32): Likewise.
- (M_FST): Likewise.
- (M_DST): Likewise.
-
-2006-04-26 11:02 twisti
-
- * src/vm/jit/i386/md-emit.h: Moved from src/vm/jit/i386/emitfuncs.h.
- * src/vm/jit/i386/emit.c: Moved from src/vm/jit/i386/emitfuncs.c.
-
-2006-04-26 09:02 twisti
-
- * configure.ac (AC_CONFIG_FILES): Added src/scripts/rmic.
- * src/scripts/Makefile.am (bin_SCRIPTS): Added rmic.
- * src/scripts/java.in: Use ${1+"$@"} instead of $@.
- * src/scripts/rmiregistry.in: Likewise.
- * src/scripts/rmic.in: Updated to new rmic location.
-
-2006-04-26 08:57 twisti
-
- * m4/ac_prog_javac.m4: Default to ecj.
- * src/lib/Makefile.am: If JAVAC is ecj, use the -1.5 flag. This
- produces much faster code regarding class$ (e.g. jonas startup time).
-
-2006-04-25 18:02 edwin
-
- * src/vm/jit/disass-common.c (disass_printf): Avoid compiler warning.
-
- * src/vm/jit/profile/profile.c (profile_printstats): Avoid compiler
+ * src/cacao/cacao.c: Renamed WITH_JRE_LAYOUT to ENABLE_JRE_LAYOUT.
+ * src/native/vm/gnu/gnu_classpath_VMSystemProperties.c: Likewise.
+ * src/vm/properties.c: Likewise.
+ * src/vm/vm.c: Likewise.
+ * src/vmcore/system.h: Likewise.
+ [59ee69e0f277]
+
+ * .hgignore, configure.ac, doc/Makefile.am, doc/doxygen/Doxyfile,
+ doc/doxygen/Makefile.am:
+ * .hgignore: Added doc/doxygen/html, doc/doxygen/latex.
+ * configure.ac (AC_CONFIG_FILES): Added doc/doxygen/Makefile.
+ * doc/Makefile.am (SUBDIRS): Added doxygen.
+ * doc/doxygen/Doxyfile: New file.
+ * doc/doxygen/Makefile.am: Likewise.
+ [809dfcaf02f9]
+
+ * src/vm/jit/arm/linux/md-os.c:
+ * src/vm/jit/arm/linux/md-os.c (md_executionstate_read): New
+ function (but not implemted yet). (md_executionstate_write):
+ Likewise.
+ [0ad564b6fc63]
+
+ * src/vm/jit/m68k/codegen.c, src/vm/jit/m68k/linux/md-os.h,
+ src/vm/jit/mips/linux/md-os.c, src/vm/vm.c:
+ * Merged in new trap code (twisti-branch).
+ [8a2df154e6e2]
+
+ * src/vm/jit/sparc64/Makefile.am, src/vm/jit/sparc64/codegen.c,
+ src/vm/jit/sparc64/emit.c, src/vm/jit/sparc64/linux/md-os.c,
+ src/vm/jit/sparc64/md-trap.h, src/vm/jit/sparc64/solaris/md-os.c:
+ * src/vm/jit/sparc64/Makefile.am (libarch_la_SOURCES): Added md-
+ trap.h.
+ * src/vm/jit/sparc64/codegen.c: Use new trap stuff.
+ * src/vm/jit/sparc64/emit.c: Likewise.
+ * src/vm/jit/sparc64/linux/md-os.c: Likewise.
+ * src/vm/jit/sparc64/md-trap.h: New file.
+ * src/vm/jit/sparc64/solaris/md-os.c: Use new trap stuff.
+ [55d40b03e4f4]
+
+ * src/vm/jit/powerpc64/md.c:
+ * src/vm/jit/powerpc64/md.c (md_patch_replacement_point): Use new
+ trap stuff.
+ [6b82b87fc058]
+
+ * src/vm/jit/m68k/linux/Makefile.am, src/vm/jit/m68k/linux/md-os.h:
+ * src/vm/jit/m68k/linux/md-os.h: Removed.
+ * src/vm/jit/m68k/linux/Makefile.am (libmd_la_SOURCES): Removed md-
+ os.h.
+ [64717fad182b]
+
+ * src/vm/jit/patcher-common.c:
+ * src/vm/jit/patcher-common.c (patcher_handler): Fixed compiler
warnings.
+ [6e1285e13d18]
+
+ * src/vm/jit/patcher-common.c:
+ * src/vm/jit/patcher-common.c (patcher_handler)
+ [ENABLE_DISASSEMBLER]: Use disassembler to print machine code.
+ [f7850a0245ba]
+
+ * src/vm/jit/m68k/Makefile.am, src/vm/jit/m68k/codegen.c,
+ src/vm/jit/m68k/emit.c, src/vm/jit/m68k/linux/md-os.c,
+ src/vm/jit/m68k/md-trap.h:
+ * src/vm/jit/m68k/Makefile.am (libarch_la_SOURCES): Added md-trap.h.
+ * src/vm/jit/m68k/codegen.c: Use new trap stuff.
+ * src/vm/jit/m68k/emit.c: Likewise.
+ * src/vm/jit/m68k/linux/md-os.c: Likewise.
+ * src/vm/jit/m68k/md-trap.h: New file.
+ [de0973a17a25]
+
+ * src/vm/jit/codegen-common.c:
+ * src/vm/jit/codegen-common.c (codegen_start_native_call)
+ [__I386__]: Enable tracing native methods.
+ (codegen_finish_native_call): Likewise.
+ [784b956d8ecd]
+
+ * * Merged with tip.
+ [22e6633864b8]
+
+ * src/vm/jit/codegen-common.c:
+ * src/vm/jit/codegen-common.c (codegen_start_native_call): Added
+ __M68K__ to trace native methods. (codegen_finish_native_call):
+ Likewise.
+ [ee12606c51c1]
-2006-04-25 17:57 edwin
-
- * src/vm/jit/i386/disass.c (disassinstr): Avoid compiler warning.
-
-2006-04-25 17:53 edwin
-
- * src/vm/jit/stack.c (stack_show_icmd): Removed unused variable `um`.
+ * src/vm/jit/m68k/codegen.c:
+ * src/vm/jit/m68k/codegen.c (codegen_emit_stub_native): Removed old,
+ deprecated stuff (patcher and call trace).
+ [17c9c2559e52]
-2006-04-25 17:48 edwin
+ * src/vm/jit/trace.c:
+ * src/vm/jit/trace.c (trace_java_call_enter): Don't trace builtins,
+ it does not work (because of the ABI). (trace_java_call_exit):
+ Likewise.
+ [928814cce084]
+
+ * src/vmcore/method.h:
+ * src/vmcore/method.h (method_is_builtin): New function.
+ [137038362c4b]
+
+ * src/vm/jit/mips/linux/md-os.c:
+ * src/vm/jit/mips/linux/md-os.c (md_signal_handler_sigsegv): Added
+ patch from http://bugs.debian.org/cgi-
+ bin/bugreport.cgi?bug=441122#35.
+ [4b1912970eac]
+
+ * src/vm/jit/powerpc/Makefile.am, src/vm/jit/powerpc/codegen.c,
+ src/vm/jit/powerpc/emit.c, src/vm/jit/powerpc/linux/md-os.c,
+ src/vm/jit/powerpc/md-trap.h:
+ * src/vm/jit/powerpc/Makefile.am (libarch_la_SOURCES): Added md-
+ trap.h.
+ * src/vm/jit/powerpc/codegen.c: Use new trap stuff.
+ * src/vm/jit/powerpc/emit.c: Likewise.
+ * src/vm/jit/powerpc/linux/md-os.c: Likewise.
+ * src/vm/jit/powerpc/md-trap.h: New file.
+ [f2da4ab3dcba]
+
+ * src/vm/jit/s390/Makefile.am, src/vm/jit/s390/codegen.c,
+ src/vm/jit/s390/emit.c, src/vm/jit/s390/md-trap.h,
+ src/vm/jit/s390/md.c:
+ * src/vm/jit/s390/Makefile.am (libarch_la_SOURCES): Added md-trap.h.
+ * src/vm/jit/s390/codegen.c: Use new trap stuff.
+ * src/vm/jit/s390/emit.c: Likewise.
+ * src/vm/jit/s390/md-trap.h: New file.
+ * src/vm/jit/s390/md.c: Use new trap stuff.
+ [e7b71db899d5]
+
+ * src/vm/jit/mips/Makefile.am, src/vm/jit/mips/codegen.c,
+ src/vm/jit/mips/emit.c, src/vm/jit/mips/linux/md-os.c,
+ src/vm/jit/mips/md-trap.h:
+ * src/vm/jit/mips/Makefile.am (libarch_la_SOURCES): Added md-trap.h.
+ * src/vm/jit/mips/codegen.c: Use new trap stuff.
+ * src/vm/jit/mips/emit.c: Likewise.
+ * src/vm/jit/mips/linux/md-os.c: Likewise.
+ * src/vm/jit/mips/md-trap.h: New file.
+ [64f0215ce5fe]
+
+ * src/vm/jit/arm/Makefile.am, src/vm/jit/arm/emit.c,
+ src/vm/jit/arm/linux/md-os.c, src/vm/jit/arm/md-trap.h:
+ * src/vm/jit/arm/Makefile.am (libarch_la_SOURCES): Added md-trap.h.
+ * src/vm/jit/arm/emit.c: Use new trap stuff.
+ * src/vm/jit/arm/linux/md-os.c: Likewise.
+ * src/vm/jit/arm/md-trap.h: New file.
+ [f7e39c89f923]
+
+ * src/vm/jit/powerpc64/Makefile.am, src/vm/jit/powerpc64/codegen.c,
+ src/vm/jit/powerpc64/emit.c, src/vm/jit/powerpc64/linux/md-os.c,
+ src/vm/jit/powerpc64/md-trap.h:
+ * src/vm/jit/powerpc64/Makefile.am (libarch_la_SOURCES): Added md-
+ trap.h.
+ * src/vm/jit/powerpc64/codegen.c: Use new trap stuff.
+ * src/vm/jit/powerpc64/emit.c: Likewise.
+ * src/vm/jit/powerpc64/linux/md-os.c: Likewise.
+ * src/vm/jit/powerpc64/md-trap.h: New file.
+ [a9eafa03d678]
+
+ * src/vm/jit/alpha/Makefile.am, src/vm/jit/alpha/codegen.c,
+ src/vm/jit/alpha/emit.c, src/vm/jit/alpha/linux/md-os.c,
+ src/vm/jit/alpha/md-trap.h, src/vm/jit/alpha/md.c:
+ * src/vm/jit/alpha/Makefile.am (libarch_la_SOURCES): Added md-
+ trap.h.
+ * src/vm/jit/alpha/codegen.c: Use new trap stuff.
+ * src/vm/jit/alpha/emit.c: Likewise.
+ * src/vm/jit/alpha/linux/md-os.c: Likewise.
+ * src/vm/jit/alpha/md-trap.h: New file.
+ * src/vm/jit/alpha/md.c: Use new trap stuff.
+ [f97606f11648]
+
+2008-04-27 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * configure.ac:
+ * configure.ac (AC_INIT): Bumped version to 0.99rc2.
+ [e0c01948bb61]
+
+ * * Merged with ea434f5851f4.
+ [72249b4c9b1d]
+
+ * .hgignore, configure.ac, tests/regression/Makefile.am,
+ tests/regression/codepatching/Makefile.am,
+ tests/regression/codepatching/aastoreconstClass.java,
+ tests/regression/codepatching/checkcastC.java,
+ tests/regression/codepatching/checkcastI.java,
+ tests/regression/codepatching/getfieldD.java,
+ tests/regression/codepatching/getfieldF.java,
+ tests/regression/codepatching/getfieldI.java,
+ tests/regression/codepatching/getfieldJ.java,
+ tests/regression/codepatching/getfieldL.java,
+ tests/regression/codepatching/getstaticD.java,
+ tests/regression/codepatching/getstaticF.java,
+ tests/regression/codepatching/getstaticI.java,
+ tests/regression/codepatching/getstaticJ.java,
+ tests/regression/codepatching/getstaticL.java,
+ tests/regression/codepatching/instanceofC.java,
+ tests/regression/codepatching/instanceofI.java,
+ tests/regression/codepatching/invokespecial.java,
+ tests/regression/codepatching/invokestatic.java,
+ tests/regression/codepatching/multianewarray.java,
+ tests/regression/codepatching/newarray.java,
+ tests/regression/codepatching/putfieldD.java,
+ tests/regression/codepatching/putfieldF.java,
+ tests/regression/codepatching/putfieldI.java,
+ tests/regression/codepatching/putfieldJ.java,
+ tests/regression/codepatching/putfieldL.java,
+ tests/regression/codepatching/putfieldconstC.java,
+ tests/regression/codepatching/putfieldconstD.java,
+ tests/regression/codepatching/putfieldconstF.java,
+ tests/regression/codepatching/putfieldconstI.java,
+ tests/regression/codepatching/putfieldconstJ.java,
+ tests/regression/codepatching/putfieldconstL.java,
+ tests/regression/codepatching/putstaticD.java,
+ tests/regression/codepatching/putstaticF.java,
+ tests/regression/codepatching/putstaticI.java,
+ tests/regression/codepatching/putstaticJ.java,
+ tests/regression/codepatching/putstaticL.java,
+ tests/regression/codepatching/putstaticconstC.java,
+ tests/regression/codepatching/putstaticconstD.java,
+ tests/regression/codepatching/putstaticconstF.java,
+ tests/regression/codepatching/putstaticconstI.java,
+ tests/regression/codepatching/putstaticconstJ.java,
+ tests/regression/codepatching/putstaticconstL.java,
+ tests/regression/codepatching/test.java,
+ tests/regression/junit/All.java, tests/regression/junit/Makefile.am,
+ tests/regression/junit/TestPatcher.java:
+ * .hgignore: Removed tests/regression/codepatching/*.class.
+ * configure.ac (AC_CONFIG_FILES): Removed
+ tests/regression/codepatching/Makefile.
+ * tests/regression/Makefile.am (SUBDIRS): Removed codepatching.
+ * tests/regression/junit/All.java (suite): Added TestPatcher.
+ * tests/regression/junit/Makefile.am (EXTRA_DIST): Added $(srcdir) to
+ actually find the files.
+ * tests/regression/junit/TestPatcher.java: New file.
+
+ * tests/regression/codepatching/Makefile.am,
+ tests/regression/codepatching/aastoreconstClass.java,
+ tests/regression/codepatching/checkcastC.java,
+ tests/regression/codepatching/checkcastI.java,
+ tests/regression/codepatching/getfieldD.java,
+ tests/regression/codepatching/getfieldF.java,
+ tests/regression/codepatching/getfieldI.java,
+ tests/regression/codepatching/getfieldJ.java,
+ tests/regression/codepatching/getfieldL.java,
+ tests/regression/codepatching/getstaticD.java,
+ tests/regression/codepatching/getstaticF.java,
+ tests/regression/codepatching/getstaticI.java,
+ tests/regression/codepatching/getstaticJ.java,
+ tests/regression/codepatching/getstaticL.java,
+ tests/regression/codepatching/instanceofC.java,
+ tests/regression/codepatching/instanceofI.java,
+ tests/regression/codepatching/invokespecial.java,
+ tests/regression/codepatching/invokestatic.java,
+ tests/regression/codepatching/multianewarray.java,
+ tests/regression/codepatching/newarray.java,
+ tests/regression/codepatching/putfieldD.java,
+ tests/regression/codepatching/putfieldF.java,
+ tests/regression/codepatching/putfieldI.java,
+ tests/regression/codepatching/putfieldJ.java,
+ tests/regression/codepatching/putfieldL.java,
+ tests/regression/codepatching/putfieldconstC.java,
+ tests/regression/codepatching/putfieldconstD.java,
+ tests/regression/codepatching/putfieldconstF.java,
+ tests/regression/codepatching/putfieldconstI.java,
+ tests/regression/codepatching/putfieldconstJ.java,
+ tests/regression/codepatching/putfieldconstL.java,
+ tests/regression/codepatching/putstaticD.java,
+ tests/regression/codepatching/putstaticF.java,
+ tests/regression/codepatching/putstaticI.java,
+ tests/regression/codepatching/putstaticJ.java,
+ tests/regression/codepatching/putstaticL.java,
+ tests/regression/codepatching/putstaticconstC.java,
+ tests/regression/codepatching/putstaticconstD.java,
+ tests/regression/codepatching/putstaticconstF.java,
+ tests/regression/codepatching/putstaticconstI.java,
+ tests/regression/codepatching/putstaticconstJ.java,
+ tests/regression/codepatching/putstaticconstL.java,
+ tests/regression/codepatching/test.java: Removed.
+ [c7fbe6cfa0d0]
- * src/vm/loader.c (load_method): Simplify initialization of
- methodinfo by
- clearing it explicitely in load_class_from_classbuffer, instead of
- zeroing
- individual fields here.
- (load_class_from_classbuffer): MZERO methodinfo array.
- (load_newly_created_array): Initialize `params` to NULL for the clone
- method.
+ * tests/Makefile.am, tests/regression/bugzilla/Makefile.am:
+ * tests/Makefile.am (EXTRA_DIST): Added $(srcdir) to actually find
+ the files.
+ * tests/regression/bugzilla/Makefile.am: Likewise.
+ [574e4f244959]
-2006-04-25 17:45 edwin
+2008-04-27 Stefan Ring <stefan@complang.tuwien.ac.at>
- * src/mm/memory.h (MZERO): Added macro MZERO for convenient memory
- cleaning.
+ * src/threads/posix/lock.c:
+ * src/threads/posix/lock.c (lock_record_notify): Skip the check for
+ interrupted. It was data-race ridden anyway.
+ [ea434f5851f4]
-2006-04-25 17:42 edwin
+2008-04-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
- * src/native/vm/VMSystemProperties.c
- (Java_gnu_classpath_VMSystemProperties_preInit): Use strcpy instead of
- strcat, since there is nothing to concat to and we may want to lift
- the
- assertion that MSET clears memory.
+ * * Merged with f9adc5b4d7f0.
+ [9e1c37400fc1]
-2006-04-25 15:46 edwin
+ * .hgignore, configure.ac, tests/regression/Makefile.am,
+ tests/regression/clinitexception.2output,
+ tests/regression/clinitexception.java,
+ tests/regression/junit/All.java, tests/regression/junit/Makefile.am,
+ tests/regression/junit/TestExceptionInStaticClassInitializer.java:
+ * .hgignore: Added tests/regression/junit/*.class.
- * src/vm/jit/i386/md.c (md_get_method_patch_address): Avoid compiler
- warning.
+ * configure.ac (AC_CONFIG_FILES): Added
+ tests/regression/junit/Makefile.
-2006-04-25 15:31 edwin
+ * tests/regression/Makefile.am (SUBDIRS): Added junit.
+ (SOURCE_FILES): Removed clinitexceptions.java. (EXTRA_DIST): Removed
+ clinitexceptions.2output. (OUTPUT_JAVA_TESTS): Removed
+ clinitexception.
- * src/cacao/cacao.c (main): Avoid warning about unused label.
- Cleaned up whitespace.
+ * tests/regression/junit/All.java: Likewise.
+ * tests/regression/junit/Makefile.am: Likewise
+ * tests/regression/junit/TestExceptionInStaticClassInitializer.java:
+ Likewise.
-2006-04-25 15:26 edwin
+ * tests/regression/clinitexception.2output: Removed.
+ * tests/regression/clinitexception.java: Likewise.
+ [4201a6a37d6e]
+
+ * tests/regression/bugzilla/Makefile.am:
+ * tests/regression/bugzilla/Makefile.am (build): Changed -cp to
+ -classpath so GCJ works too. (check): Likewise.
+ [5a22603f6b24]
+
+ * src/native/vm/gnu/java_lang_reflect_VMMethod.c:
+ * src/native/vm/gnu/java_lang_reflect_VMMethod.c (getDefaultValue):
+ Pass the correct method object to the Java method.
+ [e2470ff85c70]
+
+ * src/vm/vm.c:
+ * src/vm/vm.c (vm_get_mainclass_from_jar): Print error when Main-
+ Class attribute not found.
+ [d446954c2415]
+
+ * m4/jre-layout.m4:
+ * m4/jre-layout.m4 (AC_CHECK_WITH_JRE_LAYOUT): Fixed typo, used
+ enableval instead of withval.
+ [f9adc5b4d7f0]
+
+2008-04-24 Stefan Ring <stefan@complang.tuwien.ac.at>
+
+ * src/vm/jit/i386/darwin/md-os.c:
+ * src/vm/jit/i386/darwin/md-os.c: Added md-trap.h (same as
+ 42dc5863f378).
+ [1c792ca003e4]
+
+2008-04-24 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/vm/jit/i386/Makefile.am, src/vm/jit/i386/codegen.c,
+ src/vm/jit/i386/emit.c, src/vm/jit/i386/linux/md-os.c,
+ src/vm/jit/i386/md-trap.h:
+ * src/vm/jit/i386/Makefile.am (libarch_la_SOURCES): Added md-trap.h.
+ * src/vm/jit/i386/codegen.c: Use new trap stuff.
+ * src/vm/jit/i386/emit.c: Likewise.
+ * src/vm/jit/i386/linux/md-os.c: Likewise.
+ * src/vm/jit/i386/md-trap.h: New file.
+ [42dc5863f378]
+
+ * src/vm/jit/x86_64/Makefile.am:
+ * src/vm/jit/x86_64/Makefile.am (libarch_la_SOURCES): Added md-
+ trap.h.
+ [0db016f6b071]
+
+ * src/native/vm/gnu/gnu_classpath_jdwp_VMFrame.c,
+ src/native/vm/gnu/gnu_classpath_jdwp_VMMethod.c,
+ src/native/vm/gnu/gnu_classpath_jdwp_VMVirtualMachine.c,
+ src/native/vm/gnu/java_lang_VMClass.c,
+ src/native/vm/gnu/java_lang_VMClassLoader.c,
+ src/native/vm/gnu/java_lang_VMSystem.c,
+ src/native/vm/gnu/java_lang_reflect_VMMethod.c:
+ * src/native/vm/gnu/gnu_classpath_jdwp_VMFrame.c: Use stdint-types.
+ * src/native/vm/gnu/gnu_classpath_jdwp_VMMethod.c,
+ src/native/vm/gnu/gnu_classpath_jdwp_VMVirtualMachine.c,
+ src/native/vm/gnu/java_lang_VMClass.c,
+ src/native/vm/gnu/java_lang_VMClassLoader.c,
+ src/native/vm/gnu/java_lang_VMSystem.c,
+ src/native/vm/gnu/java_lang_reflect_VMMethod.c: Likewise.
+ [208f94c92da1]
+
+ * src/native/vm/gnu/gnu_java_lang_management_VMMemoryMXBeanImpl.c:
+ * src/native/vm/gnu/gnu_java_lang_management_VMMemoryMXBeanImpl.c:
+ Use stdint-types.
+ [555b5c4eefa9]
+
+ * src/cacaoh/dummy.c, src/mm/boehm.c, src/mm/gc-common.h:
+ * src/cacaoh/dummy.c (heap_alloc_uncollectable): Use stdint-types.
+ * src/mm/boehm.c: Likewise.
+ * src/mm/gc-common.h: Likewise.
+ [33887ab24ca7]
+
+ * src/vm/exceptions.c, src/vm/exceptions.h, src/vm/jit/Makefile.am,
+ src/vm/jit/trap.c, src/vm/jit/trap.h, src/vm/jit/x86_64/codegen.c,
+ src/vm/jit/x86_64/emit.c, src/vm/jit/x86_64/linux/md-os.c,
+ src/vm/jit/x86_64/md-trap.h, src/vm/signal.c, src/vm/signallocal.h,
+ src/vm/vm.c:
+ * src/vm/jit/trap.c: New file.
+ * src/vm/jit/trap.h: Likewise.
+
+ * src/vm/jit/Makefile.am [ENABLE_JIT] (TRAP_SOURCES): Added.
+ (libjit_la_SOURCES): Added TRAP_SOURCES.
+
+ * src/vm/exceptions.c (exceptions_init): Removed.
+ * src/vm/exceptions.h (EXCEPTION_HARDWARE_*): Removed.
+
+ * src/vm/signal.c (signal_handle): Removed.
+ * src/vm/signallocal.h: Likewise.
+
+ * src/vm/vm.c (vm_create): Removed exceptions_init call, added
+ trap_init call.
+
+ * src/vm/jit/x86_64/codegen.c: Use new trap stuff.
+ * src/vm/jit/x86_64/emit.c: Likewise.
+ * src/vm/jit/x86_64/linux/md-os.c: Likewise.
+ * src/vm/jit/x86_64/md-trap.h: New file.
+ [e1964528a1af]
+
+ * src/cacaoh/dummy.c, src/mm/memory.c, src/mm/memory.h,
+ src/vm/builtin.c, src/vm/builtin.h:
+ * src/cacaoh/dummy.c: Use stdint-types.
+ * src/mm/memory.c, src/mm/memory.h, src/vm/builtin.c,
+ src/vm/builtin.h: Likewise.
+ [3cf50ae219ef]
+
+ * src/native/vm/sun/jvm.c:
+ * src/native/vm/sun/jvm.c (JVM_GetHostName): Use TRACEJVMCALLSENTER
+ and TRACEJVMCALLSEXIT.
+ [999c2d2889c5]
+
+ * src/vm/jit/arm/codegen.h:
+ * src/vm/jit/arm/codegen.h (SPLIT_LOAD): Removed.
+ [9affd9c7a536]
+
+2008-04-23 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/vm/jit/abi.h, src/vm/jit/allocator/liveness.c,
+ src/vm/jit/allocator/lsra.c, src/vm/jit/allocator/lsra.h,
+ src/vm/jit/allocator/simplereg.c, src/vm/jit/alpha/md-abi.c,
+ src/vm/jit/arm/md-abi.c, src/vm/jit/i386/asmpart.S, src/vm/jit/i386
+ /md-abi.c, src/vm/jit/jit.h, src/vm/jit/loop/analyze.c,
+ src/vm/jit/m68k/linux/md-abi.c, src/vm/jit/mips/md-abi.c,
+ src/vm/jit/optimizing/lifetimes.h, src/vm/jit/optimizing/lsra.c,
+ src/vm/jit/parse.c, src/vm/jit/powerpc/darwin/md-abi.c,
+ src/vm/jit/powerpc/linux/md-abi.c, src/vm/jit/powerpc/netbsd/md-
+ abi.c, src/vm/jit/powerpc64/linux/md-abi.c, src/vm/jit/s390/md-
+ abi.c, src/vm/jit/sparc64/md-abi.c, src/vm/jit/stack.c,
+ src/vm/jit/stack.h, src/vm/jit/x86_64/md-abi.c:
+ * src/vm/jit/jit.h (stackptr): Removed. (stackelement): Moved from
+ here...
+ * src/vm/jit/stack.h (stackelement_t): ...to here.
+
+ * src/vm/jit/abi.h, src/vm/jit/allocator/liveness.c,
+ src/vm/jit/allocator/lsra.c, src/vm/jit/allocator/lsra.h,
+ src/vm/jit/allocator/simplereg.c, src/vm/jit/alpha/md-abi.c,
+ src/vm/jit/arm/md-abi.c, src/vm/jit/i386/asmpart.S, src/vm/jit/i386
+ /md-abi.c, src/vm/jit/loop/analyze.c, src/vm/jit/m68k/linux/md-
+ abi.c, src/vm/jit/mips/md-abi.c, src/vm/jit/optimizing/lifetimes.h,
+ src/vm/jit/optimizing/lsra.c, src/vm/jit/parse.c,
+ src/vm/jit/powerpc/darwin/md-abi.c, src/vm/jit/powerpc/linux/md-
+ abi.c, src/vm/jit/powerpc/netbsd/md-abi.c,
+ src/vm/jit/powerpc64/linux/md-abi.c, src/vm/jit/s390/md-abi.c,
+ src/vm/jit/sparc64/md-abi.c, src/vm/jit/stack.c, src/vm/jit/x86_64
+ /md-abi.c: Replaced stackptr with stackelement_t*.
+ [ab0f521edd32]
+
+2008-04-23 Stefan Ring <stefan@complang.tuwien.ac.at>
+
+ * src/native/vm/gnu/java_lang_VMRuntime.c,
+ src/vm/jit/executionstate.c:
+ * src/native/vm/gnu/java_lang_VMRuntime.c: Compiler warning
+ squashing.
+ * src/vm/jit/executionstate.c (executionstate_println): Likewise.
+ [d26a4fc535cd]
+
+2008-04-23 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * autogen.sh:
+ * autogen.sh: Fixed error output.
+ [a00932f0646f]
+
+ * autogen.sh:
+ * autogen.sh: Support libtool-2.x.
+ [3555026385e5]
+
+ * src/vmcore/system.h:
+ * src/vmcore/system.h (system_scandir) [__LINUX__]: The signature is
+ different on various OSs.
+ [f0e9ab27db0c]
+
+2008-04-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/vm/jit/verify/typecheck.c:
+ * src/vm/jit/verify/typecheck.c (typecheck): Fixed compiler warning.
+ [f402b152d1f4]
+
+ * src/cacaoh/dummy.c, src/native/jni.c, src/native/vm/Makefile.am,
+ src/native/vm/cldc1.1/java_lang_Class.c,
+ src/native/vm/gnu/java_lang_VMClass.c,
+ src/native/vm/gnu/java_lang_VMThrowable.c,
+ src/native/vm/java_lang_Class.c, src/native/vm/java_lang_Class.h,
+ src/native/vm/reflect.h, src/native/vm/sun/jvm.c,
+ src/vmcore/class.c, src/vmcore/class.h:
+ * src/native/vm/java_lang_Class.c: Removed.
+ * src/native/vm/java_lang_Class.h: Likewise.
+ * src/native/vm/Makefile.am (libnativevm_la_SOURCES): Removed
+ java_lang_Class.[ch].
+
+ * src/cacaoh/dummy.c (builtin_instanceof): New function.
+ (reflect_constructor_new, reflect_field_new, reflect_method_new):
+ Likewise.
- * src/vm/exceptions.c (exceptions_throw_verifyerror_for_stack): Avoid
- compiler warning.
+ * src/native/jni.c (_Jv_JNI_IsAssignableFrom): Use new class
+ functions. (_Jv_JNI_IsInstanceOf): Likewise.
+
+ * src/native/vm/cldc1.1/java_lang_Class.c (forName): Implemented
+ directly. (isInstance): Use new class functions. (isAssignableFrom):
+ Likewise. (getName): Likewise.
+
+ * src/native/vm/gnu/java_lang_VMClass.c (isInstance): Likewise.
+ (isAssignableFrom): Likewise. (getName): Likewise.
+ (getDeclaredClasses): Likewise. (getDeclaredFields): Likewise.
+ (getDeclaredMethods): Likewise. (getDeclaredConstructors): Likewise.
+ (forName): Implemented directly. (getDeclaredAnnotations): Likewise.
+ (getEnclosingConstructor): Use new class functions.
+ (getEnclosingMethod): Likewise.
+ * src/native/vm/gnu/java_lang_VMThrowable.c (getStackTrace): Likewise.
+
+ * src/native/vm/reflect.h (_REFLECT_H): Added.
+
+ * src/native/vm/sun/jvm.c (JVM_GetStackTraceElement): Use new class
+ functions. (JVM_GetClassName): Likewise.
+ (JVM_GetClassDeclaredFields): Likewise.
+ (JVM_GetClassDeclaredMethods): Likewise.
+ (JVM_GetClassDeclaredConstructors): Likewise. (JVM_LoadLibrary): Use
+ TRACEJVMCALLSENTER and TRACEJVMCALLSEXIT. (JVM_FindLibraryEntry):
+ Likewise.
-2006-04-25 12:35 edwin
-
- * src/vm/jit/verify/typecheck.c (typecheckverbose): Renamed to
- opt_typecheckverbose.
- * src/vm/jit/verify/typeinfo.h: Likewise.
-
- * src/vm/vm.c (OPT_VERBOSETC): Only define if both ENABLE_VERIFIER
- and TYPECHECK_VERBOSE are defined.
- (typecheckverbose): Renamed to opt_typecheckverbose.
-
-2006-04-25 12:25 edwin
-
- * src/vm/options.h, src/vm/options.c (getloadingtime): Renamed to
- opt_getloadingtime. Only defined for ENABLE_STATISTICS.
- (getcompilingtime): Renamed to opt_getcompilingtime.
- Only defined for ENABLE_STATISTICS.
-
- * src/vm/loader.c (getloadingtime, getcompilingtime): Renamed.
- * src/vm/jit/jit.c: Likewise.
- * src/vm/linker.c: Likewise.
- * src/native/vm/VMClassLoader.c: Likewise.
-
- * src/vm/vm.c (OPT_TIME): Only defined for ENABLE_STATISTICS.
-
- * configure.ac (--enable-statistics): Now statistics are disabled by
- default.
-
-2006-04-25 12:00 edwin
-
- * src/vm/options.h (opt_verify): Only declare for ENABLE_VERIFIER.
- (opt_liberalutf): Removed.
-
- * src/vm/options.c (opt_verify): Only declare for ENABLE_VERIFIER.
- (opt_liberalutf): Removed.
-
- * src/vm/jit/inline/inline.c (test_inlining): Only verify if
- ENABLE_VERIFIER.
-
- * src/vm/jit/parse.c (parse): Only check opt_verify if
- ENABLE_VERIFIER.
-
- * src/vm/global.h (ENABLE_VERIFIER): Removed. This is now defined in
- config.h.
-
- * src/vm/vm.c (OPT_NOVERIFY): Only define this option if
- ENABLE_VERIFIER.
- (OPT_LIBERALUTF): Removed.
-
- * configure.ac (--disable-verifier): Added configure option.
-
- * src/vm/jit/stacktrace.c (stacktrace_getStack): Gather a wider range
- for the cycle count statistics.
-
-2006-04-25 10:36 edwin
-
- * src/vm/cycles-stats.h (CYCLES_STATS_COUNT_OVER): Added.
-
-2006-04-24 18:28 edwin
-
- * src/vm/cycles-stats.c: Cleaned up whitespace.
-
-2006-04-24 18:22 edwin
-
- * src/vm/cycles-stats.c (cycles_stats_print_percentile): Also perform
- measurement overhead compensation for cumulated cycle counts.
-
-2006-04-24 17:16 edwin
-
- * src/vm/global.h (ACC_CLASS_REFLECT_MASK): Added.
- (ACC_CLASS_HAS_POINTERS): Likewise.
- (vim boilerplate): Added.
-
- * src/vm/loader.c (load_field): Set ACC_CLASS_HAS_POINTERS flag.
-
- * src/vm/linker.c (link_class_intern): OR ACC_CLASS_HAS_POINTERS flag.
-
- * src/vm/builtin.c (builtin_new): Use ACC_CLASS_HAS_POINTERS to
- determine
- which kind of memory to allocate.
-
- * src/native/vm/VMClass.c (Java_java_lang_VMClass_getModifiers): Mask
- reported access flags with ACC_CLASS_REFLECT_MASK.
-
-2006-04-24 16:24 twisti
-
- * src/vm/jit/x86_64/emit.c (x86_64_emit_ifcc): Changed signature of
- codegen_addreference.
- (x86_64_emit_if_lcc): Likewise.
- (x86_64_emit_if_icmpcc): Likewise.
- (x86_64_emit_if_lcmpcc): Likewise.
-
-2006-04-24 16:10 twisti
-
- * src/vm/jit/i386/codegen.c (codegen): Don't initialize mcode
- variables. New dseg_addlinenumber signature fix.
- (createnativestub): Don't initialize mcode variables.
-
-2006-04-24 16:06 twisti
-
- * src/vm/jit/codegen-common.c (codegen_increase): Changed signature.
- (codegen_addreference): Likewise.
- (codegen_add_exception_ref): Likewise.
- (codegen_add_arithmeticexception_ref): Likewise.
- (codegen_add_arrayindexoutofboundsexception_ref): Likewise.
- (codegen_add_arraystoreexception_ref): Likewise.
- (codegen_add_classcastexception_ref): Likewise.
- (codegen_add_nullpointerexception_ref): Likewise.
- (codegen_add_fillinstacktrace_ref): Likewise.
- (codegen_addpatchref): Likewise.
- (codegen_finish): Likewise.
- * src/vm/jit/codegen-common.h: Likewise.
-
- * src/vm/jit/dseg.c (dseg_increase): Made static.
- (dseg_adds4): Use dseg_increase.
- (dseg_adds8): Likewise.
- (dseg_addfloat): Likewise.
- (dseg_adddouble): Likewise.
- (dseg_adds4_increase): Removed.
- (dseg_adds8_increase): Likewise.
- (dseg_addfloat_increase): Likewise.
- (dseg_adddouble_increase): Likewise.
- (dseg_addlinenumber): Changed signature.
- (dseg_addlinenumber_inline_start): Likewise.
- (dseg_adddata): Likewise.
- * src/vm/jit/dseg.h: Likewise.
-
- * src/vm/jit/alpha/emit.c (vm/jit/alpha/emit.h): Removed.
- (vm/jit/emit.h): Added.
- (emit_lconst): New method.
- * src/vm/jit/alpha/Makefile.am (libarch_la_SOURCES): Added emit.c
-
- * src/vm/jit/alpha/codegen.c (vm/jit/emit.h): Added.
- (codegen): Use cd->mcodeptr instead of mcodeptr, and emit_load/store
- functions instead of macros. Saves over 50kB object code size. Use new
- signatures of codegen-common and dseg functions.
- * src/vm/jit/alpha/codegen.h (var_to_reg_int): Removed.
- (var_to_reg_flt): Likewise.
- (store_reg_to_var_int): Likewise.
- (store_reg_to_var_flt): Likewise.
-
- * src/vm/jit/i386/codegen.c: Use new signatures of codegen-common and
- dseg functions.
- * src/vm/jit/i386/codegen.h: Likewise.
- * src/vm/jit/intrp/codegen.c: Likewise.
- * src/vm/jit/intrp/codegen.h: Likewise.
- * src/vm/jit/mips/codegen.c: Likewise.
- * src/vm/jit/mips/codegen.h: Likewise.
- * src/vm/jit/powerpc/codegen.c: Likewise.
- * src/vm/jit/powerpc/codegen.h: Likewise.
- * src/vm/jit/x86_64/codegen.c: Likewise.
- * src/vm/jit/x86_64/codegen.h: Likewise.
+ * src/vmcore/class.c (class_is_assignable_from): New function.
+ (class_is_instance): Likewise. (class_get_declaredconstructors):
+ Likewise. (class_get_declaredfields): Likewise.
+ (class_get_declaredmethods): Likewise.
+ (class_get_enclosingconstructor): Likewise.
+ (class_get_enclosingmethod): Renamed to
+ class_get_enclosingmethod_raw. class_get_enclosingmethod): Likewise.
+ * src/vmcore/class.h (class_get_classname): New function.
+ [dfe0c5810056]
+
+ * src/vm/jit/code.h:
+ * src/vm/jit/code.h (codeinfo): Moved stackframesize outside of
+ ENABLE_REPLACEMENT.
+ [5c10cc5e0dce]
+
+ * * Merged twisti branch.
+ [989bfa895cd1]
+
+ * NEWS:
+ Dummy commit to remove twisti branch.
+ * NEWS: Useless.
+ [8bc236b29952]
+
+ * NEWS:
+ Dummy commit to create twisti branch.
+ * NEWS: Useless.
+ [c153a9d8f8ce]
+
+ * * Merged with tip.
+ [30024dee3c14]
+
+ * src/vm/jit/Makefile.am, src/vm/jit/alpha/linux/md-os.c,
+ src/vm/jit/i386/darwin/md-os.c, src/vm/jit/i386/linux/md-os.c,
+ src/vm/jit/powerpc/linux/md-os.c, src/vm/jit/replace.c,
+ src/vm/jit/x86_64/linux/md-os.c:
+ * Merged executionstate branch.
+ [becec2dbe184]
+
+ * src/native/vm/sun/jvm.c:
+ Reverted 40d6392fb38f.
+ * src/native/vm/sun/jvm.c (JVM_FindLibraryEntry): Using HPI function
+ crashes.
+ [8c0ddfb79909]
+
+ * src/vm/jit/i386/darwin/md-os.c:
+ * src/vm/jit/i386/darwin/md-os.c (md_replace_executionstate_read):
+ Renamed to md_executionstate_read.
+ (md_replace_executionstate_write): Renamed to
+ md_executionstate_write.
+ [9bb627fa59f1]
+
+ * src/native/vm/sun/jvm.c:
+ * src/native/vm/sun/jvm.c (JVM_FindLibraryEntry): Use HPI.
+ [40d6392fb38f]
+
+ * src/vm/jit/powerpc/linux/md-os.c:
+ * src/vm/jit/powerpc/linux/md-os.c (md_executionstate_write): Fixed
+ comment typo.
+ [3c102f278b7a]
+
+ * src/vm/jit/powerpc/linux/md-os.c:
+ * src/vm/jit/powerpc/linux/md-os.c (md_replace_executionstate_read):
+ Renamed to md_executionstate_read.
+ (md_replace_executionstate_write): Renamed to
+ md_executionstate_write.
+ [6f19ebc51c4c]
+
+ * * Merged with tip.
+ [d492fa9b3e05]
+
+2008-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/native/jni.c:
+ * src/native/jni.c (jni_GetPrimitiveArrayCritical): Implemented
+ correcly. (jni_ReleasePrimitiveArrayCritical): Likewise.
+ [9c681dc4dcc4]
+
+2008-04-21 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/native/jni.h:
+ * src/native/jni.h (_Jv_jni_invokeNative): Removed.
+ [50357bec0c1a]
+
+2008-04-17 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/vm/jit/linenumbertable.c:
+ * src/vm/jit/linenumbertable.c (linenumbertable_create): Changed the
+ direction of the list. (linenumbertable_list_entry_add): Likewise.
+ (linenumbertable_list_entry_add_inline_start): Likewise.
+ (linenumbertable_list_entry_add_inline_end): Likewise.
+ [2536b88d4f77]
+
+ * src/vm/jit/emit-common.c:
+ * src/vm/jit/emit-common.c (emit_label_bccz): Code restructured.
+ (emit_label): Likewise.
+ [770ec75a0101]
+
+ * src/vm/jit/codegen-common.c, src/vm/jit/patcher-common.c, src/vm/jit
+ /patcher-common.h:
+ * src/vm/jit/patcher-common.c (patcher_resolve): New function.
+ * src/vm/jit/patcher-common.h (patcher_resolve): Export.
+ * src/vm/jit/codegen-common.c (codegen_finish): Use patcher_resolve.
+ [4cc078f655ff]
+
+2008-04-16 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/vm/jit/reg.h, src/vm/jit/verify/typecheck-builtins.inc,
+ src/vm/jit/verify/typecheck-common.h, src/vm/jit/verify/typecheck-
+ fields.inc, src/vm/jit/verify/typecheck-invoke.inc,
+ src/vm/jit/verify/typecheck-stackbased.c,
+ src/vm/jit/verify/typecheck.c, src/vm/jit/verify/typeinfo.c,
+ src/vm/jit/verify/typeinfo.h, src/vm/resolve.c, src/vm/resolve.h:
+ * src/vm/jit/verify/typeinfo.h (typeinfo): Renamed to typeinfo_t.
+ (typeinfo_mergedlist): Renamed to typeinfo_mergedlist_t.
+ (typedescriptor): Renamed to typedescriptor_t.
+
+ * src/vm/jit/reg.h, src/vm/jit/verify/typecheck-builtins.inc,
+ src/vm/jit/verify/typecheck-common.h, src/vm/jit/verify/typecheck-
+ fields.inc, src/vm/jit/verify/typecheck-invoke.inc,
+ src/vm/jit/verify/typecheck-stackbased.c,
+ src/vm/jit/verify/typecheck.c, src/vm/jit/verify/typeinfo.c,
+ src/vm/resolve.c, src/vm/resolve.h: Likewise.
+ [2b2ea4de2f79]
+
+ * src/vmcore/descriptor.c, src/vmcore/references.h:
+ * src/vmcore/references.h (parseddesc): Renamed to parseddesc_t.
+
+ * src/vmcore/descriptor.c: Likewise.
+ [8bf03b52775b]
+
+ * src/native/jni.c, src/native/llni.h, src/vm/builtin.c,
+ src/vm/exceptions.c, src/vm/jit/replace.c, src/vm/jit/trace.c,
+ src/vm/jit/verify/typeinfo.c, src/vmcore/class.c,
+ src/vmcore/linker.c, src/vmcore/linker.h:
+ * src/vmcore/linker.h (_vftbl): Renamed class to clazz.
+
+ * src/native/jni.c, src/native/llni.h, src/vm/builtin.c,
+ src/vm/exceptions.c, src/vm/jit/replace.c, src/vm/jit/trace.c,
+ src/vm/jit/verify/typeinfo.c, src/vmcore/class.c,
+ src/vmcore/linker.c: Likewise.
+ [b28587b87dba]
+
+ * src/native/jni.c, src/native/native.c, src/native/native.h,
+ src/native/vm/gnu/gnu_classpath_VMStackWalker.c,
+ src/native/vm/gnu/java_lang_VMClass.c,
+ src/native/vm/gnu/java_lang_VMClassLoader.c,
+ src/native/vm/gnu/java_lang_VMRuntime.c,
+ src/native/vm/java_lang_Class.c, src/native/vm/sun/jvm.c,
+ src/native/vm/sun_misc_Unsafe.c, src/vm/jit/stacktrace.c,
+ src/vm/jit/stacktrace.h, src/vmcore/class.c, src/vmcore/class.h,
+ src/vmcore/classcache.c, src/vmcore/classcache.h,
+ src/vmcore/loader.c, src/vmcore/loader.h:
+ * src/vmcore/loader.h (classloader): Renamed to classloader_t.
+
+ * src/native/jni.c, src/native/native.c, src/native/native.h,
+ src/native/vm/gnu/gnu_classpath_VMStackWalker.c,
+ src/native/vm/gnu/java_lang_VMClass.c,
+ src/native/vm/gnu/java_lang_VMClassLoader.c,
+ src/native/vm/gnu/java_lang_VMRuntime.c,
+ src/native/vm/java_lang_Class.c, src/native/vm/sun/jvm.c,
+ src/native/vm/sun_misc_Unsafe.c, src/vm/jit/stacktrace.c,
+ src/vm/jit/stacktrace.h, src/vmcore/class.c, src/vmcore/class.h,
+ src/vmcore/classcache.c, src/vmcore/classcache.h,
+ src/vmcore/loader.c: Likewise.
+ [76cd2f513c2e]
+
+ * src/vmcore/annotation.c, src/vmcore/class.c, src/vmcore/field.c,
+ src/vmcore/loader.c, src/vmcore/loader.h, src/vmcore/method.c,
+ src/vmcore/stackmap.c, src/vmcore/suck.c, src/vmcore/zip.c:
+ * src/vmcore/loader.h (classbuffer): Renamed class to clazz.
+
+ * src/vmcore/annotation.c, src/vmcore/class.c, src/vmcore/field.c,
+ src/vmcore/loader.c, src/vmcore/method.c, src/vmcore/stackmap.c,
+ src/vmcore/suck.c, src/vmcore/zip.c: Likewise.
+ [1386fb01ffaf]
+
+2008-04-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/vm/jit/s390/patcher.c:
+ * src/vm/jit/s390/patcher.c (patcher_invokeinterface): Forgot to
+ rename class to clazz.
+ [c8a40a22ee20]
+
+ * src/native/vm/reflect.c, src/vm/access.c,
+ src/vm/jit/alpha/codegen.c, src/vm/jit/alpha/patcher.c,
+ src/vm/jit/arm/codegen.c, src/vm/jit/arm/patcher.c,
+ src/vm/jit/i386/codegen.c, src/vm/jit/i386/patcher.c,
+ src/vm/jit/intrp/codegen.c, src/vm/jit/intrp/disass.c,
+ src/vm/jit/intrp/patcher.c, src/vm/jit/m68k/codegen.c,
+ src/vm/jit/m68k/patcher.c, src/vm/jit/mips/codegen.c,
+ src/vm/jit/mips/patcher.c, src/vm/jit/powerpc/codegen.c,
+ src/vm/jit/powerpc/patcher.c, src/vm/jit/powerpc64/codegen.c,
+ src/vm/jit/powerpc64/patcher.c, src/vm/jit/python.c,
+ src/vm/jit/s390/codegen.c, src/vm/jit/s390/patcher.c,
+ src/vm/jit/sparc64/codegen.c, src/vm/jit/sparc64/patcher.c,
+ src/vm/jit/verify/typecheck-fields.inc, src/vm/jit/x86_64/codegen.c,
+ src/vm/jit/x86_64/patcher.c, src/vm/resolve.c,
+ src/vmcore/annotation.c, src/vmcore/field.c, src/vmcore/field.h,
+ src/vmcore/references.h:
+ * src/vmcore/field.h (fieldinfo): Renamed class to clazz.
+
+ * src/native/vm/reflect.c, src/vm/access.c,
+ src/vm/jit/alpha/codegen.c, src/vm/jit/alpha/patcher.c,
+ src/vm/jit/arm/codegen.c, src/vm/jit/arm/patcher.c,
+ src/vm/jit/i386/codegen.c, src/vm/jit/i386/patcher.c,
+ src/vm/jit/intrp/codegen.c, src/vm/jit/intrp/disass.c,
+ src/vm/jit/intrp/patcher.c, src/vm/jit/m68k/codegen.c,
+ src/vm/jit/m68k/patcher.c, src/vm/jit/mips/codegen.c,
+ src/vm/jit/mips/patcher.c, src/vm/jit/powerpc/codegen.c,
+ src/vm/jit/powerpc/patcher.c, src/vm/jit/powerpc64/codegen.c,
+ src/vm/jit/powerpc64/patcher.c, src/vm/jit/python.c,
+ src/vm/jit/s390/codegen.c, src/vm/jit/s390/patcher.c,
+ src/vm/jit/sparc64/codegen.c, src/vm/jit/sparc64/patcher.c,
+ src/vm/jit/verify/typecheck-fields.inc, src/vm/jit/x86_64/codegen.c,
+ src/vm/jit/x86_64/patcher.c, src/vm/resolve.c,
+ src/vmcore/annotation.c, src/vmcore/field.c,
+ src/vmcore/references.h: Likewise.
+ [5a14bfe129aa]
+
+ * src/cacaoh/headers.c, src/native/native.c,
+ src/native/vm/gnu/java_lang_VMThrowable.c, src/native/vm/reflect.c,
+ src/native/vm/sun/jvm.c, src/toolbox/logging.c, src/vm/access.c,
+ src/vm/exceptions.c, src/vm/jit/alpha/codegen.c,
+ src/vm/jit/alpha/patcher.c, src/vm/jit/arm/codegen.c,
+ src/vm/jit/arm/patcher.c, src/vm/jit/codegen-common.c,
+ src/vm/jit/i386/codegen.c, src/vm/jit/i386/patcher.c,
+ src/vm/jit/inline/inline.c, src/vm/jit/intrp/asmpart.c,
+ src/vm/jit/intrp/codegen.c, src/vm/jit/intrp/disass.c,
+ src/vm/jit/intrp/patcher.c, src/vm/jit/jit.c,
+ src/vm/jit/m68k/codegen.c, src/vm/jit/m68k/patcher.c,
+ src/vm/jit/mips/codegen.c, src/vm/jit/mips/patcher.c,
+ src/vm/jit/optimizing/dominators.c,
+ src/vm/jit/optimizing/lifetimes.c, src/vm/jit/optimizing/lsra.c,
+ src/vm/jit/optimizing/ssa.c, src/vm/jit/optimizing/ssa3.c,
+ src/vm/jit/optimizing/ssa_rename.c, src/vm/jit/parse.c,
+ src/vm/jit/powerpc/codegen.c, src/vm/jit/powerpc/patcher.c,
+ src/vm/jit/powerpc64/codegen.c, src/vm/jit/powerpc64/patcher.c,
+ src/vm/jit/python.c, src/vm/jit/s390/codegen.c,
+ src/vm/jit/s390/md.c, src/vm/jit/s390/patcher.c, src/vm/jit/show.c,
+ src/vm/jit/sparc64/codegen.c, src/vm/jit/sparc64/patcher.c,
+ src/vm/jit/stacktrace.c, src/vm/jit/trace.c,
+ src/vm/jit/verify/icmds.c, src/vm/jit/verify/typecheck-common.c,
+ src/vm/jit/verify/typecheck-fields.inc, src/vm/jit/verify/typecheck-
+ invoke.inc, src/vm/jit/verify/typecheck-stackbased-gen.inc,
+ src/vm/jit/verify/typecheck-stackbased.c, src/vm/jit/verify
+ /typecheck-typeinferer-gen.inc, src/vm/jit/verify/typecheck-
+ variablesbased-gen.inc, src/vm/jit/x86_64/codegen.c,
+ src/vm/jit/x86_64/patcher.c, src/vm/resolve.c,
+ src/vmcore/annotation.c, src/vmcore/linker.c, src/vmcore/loader.c,
+ src/vmcore/method.c, src/vmcore/method.h, src/vmcore/references.h:
+ * src/vmcore/method.h (methodinfo): Renamed class to clazz.
+
+ * src/cacaoh/headers.c, src/native/native.c,
+ src/native/vm/gnu/java_lang_VMThrowable.c, src/native/vm/reflect.c,
+ src/native/vm/sun/jvm.c, src/toolbox/logging.c, src/vm/access.c,
+ src/vm/exceptions.c, src/vm/jit/alpha/codegen.c,
+ src/vm/jit/alpha/patcher.c, src/vm/jit/arm/codegen.c,
+ src/vm/jit/arm/patcher.c, src/vm/jit/codegen-common.c,
+ src/vm/jit/i386/codegen.c, src/vm/jit/i386/patcher.c,
+ src/vm/jit/inline/inline.c, src/vm/jit/intrp/asmpart.c,
+ src/vm/jit/intrp/codegen.c, src/vm/jit/intrp/disass.c,
+ src/vm/jit/intrp/patcher.c, src/vm/jit/jit.c,
+ src/vm/jit/m68k/codegen.c, src/vm/jit/m68k/patcher.c,
+ src/vm/jit/mips/codegen.c, src/vm/jit/mips/patcher.c,
+ src/vm/jit/optimizing/dominators.c,
+ src/vm/jit/optimizing/lifetimes.c, src/vm/jit/optimizing/lsra.c,
+ src/vm/jit/optimizing/ssa.c, src/vm/jit/optimizing/ssa3.c,
+ src/vm/jit/optimizing/ssa_rename.c, src/vm/jit/parse.c,
+ src/vm/jit/powerpc/codegen.c, src/vm/jit/powerpc/patcher.c,
+ src/vm/jit/powerpc64/codegen.c, src/vm/jit/powerpc64/patcher.c,
+ src/vm/jit/python.c, src/vm/jit/s390/codegen.c,
+ src/vm/jit/s390/md.c, src/vm/jit/s390/patcher.c, src/vm/jit/show.c,
+ src/vm/jit/sparc64/codegen.c, src/vm/jit/sparc64/patcher.c,
+ src/vm/jit/stacktrace.c, src/vm/jit/trace.c,
+ src/vm/jit/verify/icmds.c, src/vm/jit/verify/typecheck-common.c,
+ src/vm/jit/verify/typecheck-fields.inc, src/vm/jit/verify/typecheck-
+ invoke.inc, src/vm/jit/verify/typecheck-stackbased-gen.inc,
+ src/vm/jit/verify/typecheck-stackbased.c, src/vm/jit/verify
+ /typecheck-typeinferer-gen.inc, src/vm/jit/verify/typecheck-
+ variablesbased-gen.inc, src/vm/jit/x86_64/codegen.c,
+ src/vm/jit/x86_64/patcher.c, src/vm/resolve.c,
+ src/vmcore/annotation.c, src/vmcore/linker.c, src/vmcore/loader.c,
+ src/vmcore/method.c, src/vmcore/references.h: Likewise.
+ [d3299bba3c70]
+
+2008-04-14 Stefan Ring <stefan@complang.tuwien.ac.at>
+
+ * src/threads/posix/thread-posix.c, src/threads/thread.c,
+ src/threads/thread.h:
+ Merging darwin compile fixes -> trunk.
+ [9d2e729a6841]
+
+ * src/threads/posix/thread-posix.c:
+ Merging fixes.
+ [d852f098fe45]
+
+ * src/native/vm/gnu/java_lang_VMThread.c, src/threads/thread.c,
+ src/threads/thread.h:
+ * src/native/vm/gnu/java_lang_VMThread.c
+ (Java_java_lang_VMThread_getState): Renamed thread_get_state because
+ of a name conflict with mach headers.
+ * src/threads/thread.c (thread_print_info, threads_thread_is_alive):
+ Likewise.
+ * src/threads/thread.h: Likewise.
+ [dfe2ed3a1417]
+
+ * src/threads/posix/thread-posix.c:
+ Merging fixes.
+ [61a938a77b77]
+
+ * src/threads/posix/thread-posix.c:
+ * src/threads/posix/thread-posix.c (threads_startup_thread): Compile
+ fix.
+ [be94e07a636c]
+
+ * src/threads/posix/thread-posix.c:
+ * src/threads/posix/thread-posix.c (sem_*): Fixed compile errors.
+ [bbaa09c52c9b]
+
+2008-04-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/threads/thread.c:
+ * src/threads/thread.c (thread_set_state_runnable): Moved
+ DEBUGTHREADS into if, so the output is correct.
+ (thread_set_state_waiting): Likewise.
+ (thread_set_state_timed_waiting): Likewise.
+ [43d16d77d6e5]
+
+ * src/threads/posix/thread-posix.c, src/threads/thread.c,
+ src/threads/thread.h, src/vm/signal.c:
+ * src/threads/thread.c (threads_thread_state_runnable): Renamed to
+ thread_set_state_runnable. (threads_thread_state_waiting): Renamed
+ to thread_set_state_waiting. (threads_thread_state_timed_waiting):
+ Renamed to thread_set_state_timed_waiting.
+ (thread_set_state_terminated): Renamed to
+ thread_set_state_terminated.
+ * src/threads/thread.h: Likewise.
+ * src/threads/posix/thread-posix.c: Use new function names.
+ * src/vm/signal.c: Likewise.
+ [9e11431508ae]
+
+ * src/threads/posix/thread-posix.c:
+ * src/threads/posix/thread-posix.c (threads_sleep): Clear
+ interrupted flag in exception case.
+ [39438e55e9d0]
+
+ * src/native/vm/gnu/java_lang_VMThread.c, src/threads/thread.c,
+ src/threads/thread.h:
+ * src/threads/thread.h (thread_get_state): New function.
+ (threads_thread_get_state): Removed.
+ * src/threads/thread.c (thread_print_info): Use thread_get_state.
+ (threads_thread_is_alive): Likewise. (threads_thread_get_state):
+ Removed.
+ * src/native/vm/gnu/java_lang_VMThread.c (getState): Implemented
+ directly.
+ [d6879d90499a]
+
+ * src/threads/posix/thread-posix.c, src/threads/posix/thread-posix.h:
+ * src/threads/posix/thread-posix.c (threads_sleep): Throw correct
+ exceptions, use stdint.h types
+ * src/threads/posix/thread-posix.h (threads_sleep): Use stdint.h
+ types.
+ [2a41965d0840]
+
+ * src/threads/posix/thread-posix.c:
+ * src/threads/posix/thread-posix.c (threads_detach_thread): Reset
+ threadgroup when thread has terminated.
+ [d10959c776b1]
+
+ * src/native/vm/sun/jvm.c:
+ * src/native/vm/sun/jvm.c (JVM_IsInterrupted): Handle
+ clear_interrupted.
+ [865bf6ced98b]
+
+ * src/threads/thread.c:
+ * src/threads/thread.c (threads_attach_current_thread)
+ [ENABLE_JAVASE]: Set group to NULL, as it might contain any value.
+ [770449e5df5e]
+
+ * src/threads/thread.c:
+ * src/threads/thread.c (threads_attach_current_thread): Set the
+ thread data-structure in the TSD.
+ [c4f96b0c4d7d]
+
+ * src/threads/posix/thread-posix.c:
+ * src/threads/posix/thread-posix.c (threads_startup_thread): Renamed
+ variable thread to t.
+ [fe21e42f3871]
+
+ * src/native/jni.c:
+ * src/native/jni.c (JNI_NEW_ARRAY): Fixed typo for short array.
+ [ba3de48b4c29]
+
+2008-04-13 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/vm/access.c, src/vm/access.h:
+ * src/vm/access.c [ENABLE_JAVASE] (access_check_field): Added
+ #ifdef. [ENABLE_JAVASE] (access_check_method): Likewise.
+ * src/vm/access.h: Likewise.
+ [0d747a4b03c4]
+
+ * src/native/vm/sun/hpi.c:
+ * src/native/vm/sun/hpi.c (hpi_initialize): Fixed compiler warning.
+ (hpi_initialize_socket_library): Likewise.
+ [04c6c41e37cb]
+
+ * src/vm/jit/stacktrace.c:
+ * src/vm/jit/stacktrace.c (stacktrace_print_entry): Print newline
+ for builtins.
+ [3864e0d2176b]
+
+2008-04-11 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * * Commited with tip.
+ [f86b8b643b79]
+
+ * src/threads/posix/thread-posix.c:
+ * src/threads/posix/thread-posix.c (threads_sleep): Removed
+ threads_check_if_interrupted_and_reset usage and use new functions.
+ [afc6c05d1704]
+
+ * src/native/vm/gnu/java_lang_reflect_VMField.c:
+ * src/native/vm/gnu/java_lang_reflect_VMField.c
+ (native/include/java_lang_reflect_Field.h): Added include.
+ [655d7c04e703]
+
+ * src/native/vm/gnu/java_lang_VMThread.c, src/threads/posix/thread-
+ posix.c, src/threads/posix/thread-posix.h, src/threads/thread.h:
+ * src/threads/thread.h (thread_set_interrupted): New function.
+ * src/threads/posix/thread-posix.c
+ (threads_check_if_interrupted_and_reset): Removed.
+ * src/threads/posix/thread-posix.h: Likewise.
+ * src/native/vm/gnu/java_lang_VMThread.c (interrupted): Use new
+ function.
+ [e33009dc3e7c]
+
+ * src/native/vm/gnu/java_lang_VMThread.c, src/native/vm/sun/jvm.c,
+ src/threads/posix/thread-posix.c, src/threads/posix/thread-posix.h,
+ src/threads/thread.h:
+ * src/threads/thread.h (thread_is_interrupted): New function.
+ * src/threads/posix/thread-posix.c
+ (threads_thread_has_been_interrupted): Removed.
+ * src/threads/posix/thread-posix.h: Likewise.
+ * src/native/vm/gnu/java_lang_VMThread.c (isInterrupted): Use new
+ function.
+ * src/native/vm/sun/jvm.c (JVM_IsInterrupted): Likewise.
+ [f7128be365f8]
+
+ * src/threads/none/thread-none.h, src/threads/posix/thread-posix.h,
+ src/threads/thread.h:
+ * src/threads/none/thread-none.h: Fixed define name.
+ * src/threads/posix/thread-posix.h: Likewise.
+ * src/threads/thread.h: Likewise.
+ [d3a4c83bd558]
+
+2008-04-10 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/vm/jit/arm/asmpart.S:
+ * src/vm/jit/arm/asmpart.S (asm_cacheflush) [__ARM_EABI__]: Use
+ syscall number 0.
+ [ec144df42ca1]
+
+ * src/Makefile.am, src/cacao/Makefile.am, src/threads/Makefile.am,
+ src/threads/none/Makefile.am, src/threads/none/thread-none.c,
+ src/threads/none/thread-none.h, src/threads/posix/Makefile.am,
+ src/threads/thread.c, src/threads/thread.h, src/vm/jit/methodtree.c,
+ src/vm/jit/s390/md.c, src/vm/jit/stacktrace.c,
+ src/vm/jit/stacktrace.h:
+ src/vm/jit/stacktrace.c (stacktrace_print_entry): New function.
+ (stacktrace_print_current): Likewise. [ENABLE_THREADS]
+ (stacktrace_print_of_thread): Likewise. [!ENABLE_THREADS]
+ (_no_threads_stackframeinfo): Removed.
+ * src/vm/jit/stacktrace.h: Likewise.
+
+ * src/Makefile.am [ENABLE_THREADS] (THREADS_DIR): Removed.
+ (SUBDIRS): Added threads.
+
+ * src/cacao/Makefile.am [ENABLE_THREADS] (THREAD_LIB): Removed.
+ (libjvm_la_LIBADD): Removed $(THREAD_LIB), added
+ $(top_builddir)/src/threads/libthreads.la.
+ * src/threads/Makefile.am [!ENABLE_THREADS]: Recurse into none/.
+ * src/threads/none/Makefile.am (EXTRA_DIST): Removed. (AM_CPPFLAGS):
+ Added. (LIBS): Likewise. (noinst_LTLIBRARIES): Likewise.
+ (libthreadsnone_la_SOURCES): Likewise.
+
+ * src/threads/none/thread-none.c: New file.
+ * src/threads/none/thread-none.h (_no_threads_stackframeinfo): Export.
+
+ * src/threads/posix/Makefile.am (noinst_LTLIBRARIES): Renamed
+ library from libposix to libthreadsposix. (libposix_la_SOURCES):
+ Renamed to libthreadsposix_la_SOURCES.
+
+ * src/threads/thread.c (threads_dump): Use
+ stacktrace_print_of_thread. (threads_thread_print_stacktrace):
+ Removed. (threads_print_stacktrace): Likewise.
+ * src/threads/thread.h (threads_thread_print_stacktrace): Likewise.
+ (threads_print_stacktrace): Likewise.
+
+ * src/vm/jit/methodtree.c (methodtree_find): Use
+ stacktrace_print_current.
+ * src/vm/jit/s390/md.c (md_dump_context): Likewise.
+ [3457d7de230f]
+
+ * src/vm/jit/arm/linux/md-os.c:
+ * src/vm/jit/arm/linux/md-os.c (md_signal_handler_sigill): Use
+ vm_abort instead of assert.
+ [98fd037a7854]
+
+ * src/vm/exceptions.c:
+ * src/vm/exceptions.c (exceptions_print_stacktrace) [!NDEBUG]:
+ #ifdef'ed class_print.
+ [6b3787897afb]
+
+ * src/threads/thread.h:
+ * src/threads/thread.h (thread_current_is_attached): Check if t is
+ NULL and return false in this case.
+ [79e7e22055fa]
+
+2008-04-07 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/classes/Makefile.am,
+ src/classes/gnu/gnu/java/lang/CPStringBuilder.java,
+ src/classes/gnu/gnu/java/lang/VMCPStringBuilder.java,
+ src/classes/gnu/java/lang/reflect/Constructor.java,
+ src/classes/gnu/java/lang/reflect/Field.java,
+ src/classes/gnu/java/lang/reflect/Method.java,
+ src/classes/gnu/java/lang/reflect/Modifier.java,
+ src/classes/gnu/java/lang/reflect/VMConstructor.java,
+ src/classes/gnu/java/lang/reflect/VMField.java,
+ src/classes/gnu/java/lang/reflect/VMMethod.java,
+ src/native/include/Makefile.am, src/native/jni.c,
+ src/native/vm/gnu/Makefile.am,
+ src/native/vm/gnu/gnu_java_lang_VMCPStringBuilder.c,
+ src/native/vm/gnu/java_lang_reflect_Constructor.c,
+ src/native/vm/gnu/java_lang_reflect_Field.c,
+ src/native/vm/gnu/java_lang_reflect_Method.c,
+ src/native/vm/gnu/java_lang_reflect_VMConstructor.c,
+ src/native/vm/gnu/java_lang_reflect_VMField.c,
+ src/native/vm/gnu/java_lang_reflect_VMMethod.c,
+ src/native/vm/nativevm.c, src/native/vm/nativevm.h,
+ src/native/vm/reflect.c, src/native/vm/sun_misc_Unsafe.c,
+ src/vmcore/class.c, src/vmcore/class.h, src/vmcore/linker.c,
+ src/vmcore/loader.c, src/vmcore/utf8.c, src/vmcore/utf8.h:
+ * src/classes/Makefile.am (VM_JAVA_FILES_GNU): Added new VM
+ interface files.
+ * src/native/include/Makefile.am (JAVASE_HEADER_FILES): Likewise.
+
+ * src/classes/gnu/gnu/java/lang/CPStringBuilder.java,
+ src/classes/gnu/gnu/java/lang/VMCPStringBuilder.java,
+ src/classes/gnu/java/lang/reflect/Modifier.java: New file.
+
+ * src/classes/gnu/java/lang/reflect/Constructor.java,
+ src/classes/gnu/java/lang/reflect/Field.java,
+ src/classes/gnu/java/lang/reflect/Method.java: Updated.
+
+ * src/classes/gnu/java/lang/reflect/VMConstructor.java,
+ src/classes/gnu/java/lang/reflect/VMField.java,
+ src/classes/gnu/java/lang/reflect/VMMethod.java: New file.
+
+ * src/native/jni.c (FromReflectedMethod): Adapted to new VM
+ interface. (FromReflectedField): Likewise.
+
+ * src/native/vm/gnu/Makefile.am (libnativevmcore_la_SOURCES):
+ Removed java_lang_reflect_Constructor.c, java_lang_reflect_Field.c,
+ java_lang_reflect_Method.c, added gnu_java_lang_VMCPStringBuilder.c,
+ java_lang_reflect_VMConstructor.c, java_lang_reflect_VMField.c,
+ java_lang_reflect_VMMethod.c.
+
+ * src/native/vm/gnu/java_lang_reflect_Constructor.c,
+ src/native/vm/gnu/java_lang_reflect_Field.c,
+ src/native/vm/gnu/java_lang_reflect_Method.c: Removed.
+
+ * src/native/vm/gnu/gnu_java_lang_VMCPStringBuilder.c,
+ src/native/vm/gnu/java_lang_reflect_VMConstructor.c,
+ src/native/vm/gnu/java_lang_reflect_VMField.c,
+ src/native/vm/gnu/java_lang_reflect_VMMethod.c: New file.
+
+ * src/native/vm/nativevm.c (nativevm_preinit): Added
+ _Jv_gnu_java_lang_VMCPStringBuilder_init.
+ * src/native/vm/nativevm.h: Likewise.
+
+ * src/native/vm/reflect.c (reflect_constructor_new): Adapted to new
+ VM interface. (reflect_field_new): Likewise. (reflect_method_new):
+ Likewise.
-2006-04-24 15:43 edwin
+ * src/native/vm/sun_misc_Unsafe.c (objectFieldOffset): Likewise.
+ (staticFieldBase): Likewise.
+
+ * src/vmcore/class.c [WITH_CLASSPATH_GNU]
+ (class_java_lang_reflect_VMConstructor)
+ (class_java_lang_reflect_VMField, class_java_lang_reflect_VMMethod):
+ New global variable.
+ * src/vmcore/class.h: Likewise.
+ * src/vmcore/linker.c (linker_init): Added new classes.
+ * src/vmcore/loader.c (loader_init): Likewise.
+
+ * src/vmcore/utf8.c [WITH_CLASSPATH_GNU]
+ (utf_java_lang_reflect_VMConstructor, utf_java_lang_reflect_VMField)
+ (utf_java_lang_reflect_VMMethod): New global variable.
+ * src/vmcore/utf8.h: Likewise.
+ [1dba59001474]
+
+ * src/native/jni.c, src/native/vm/Makefile.am,
+ src/native/vm/gnu/java_lang_reflect_Constructor.c,
+ src/native/vm/gnu/java_lang_reflect_Method.c,
+ src/native/vm/java_lang_reflect_Constructor.c,
+ src/native/vm/java_lang_reflect_Constructor.h,
+ src/native/vm/java_lang_reflect_Method.c,
+ src/native/vm/java_lang_reflect_Method.h, src/native/vm/reflect.c,
+ src/native/vm/reflect.h, src/native/vm/sun/jvm.c:
+ * src/native/vm/java_lang_reflect_Constructor.c: Removed.
+ * src/native/vm/java_lang_reflect_Constructor.h: Likewise.
+ * src/native/vm/java_lang_reflect_Method.c: Likewise.
+ * src/native/vm/java_lang_reflect_Method.h: Likewise.
+
+ * src/native/jni.c (_Jv_jni_invokeNative): Likewise.
+
+ * src/native/vm/Makefile.am (JAVA_LANG_REFLECT_CONSTRUCTOR_SOURCES):
+ Removed. (JAVA_LANG_REFLECT_METHOD_SOURCES): Likewise.
+ (libnativevm_la_SOURCES): Removed
+ JAVA_LANG_REFLECT_CONSTRUCTOR_SOURCES and
+ JAVA_LANG_REFLECT_METHOD_SOURCES.
+
+ * src/native/vm/reflect.c (reflect_invoke): New function.
+ (reflect_constructor_newinstance): Likewise.
+ (reflect_method_invoke): Likewise.
+ * src/native/vm/reflect.h (reflect_constructor_newinstance): Export.
+ (reflect_method_invoke): Likewise.
+
+ * src/native/vm/gnu/java_lang_reflect_Constructor.c
+ (constructNative): Use reflect_constructor_newinstance.
+ * src/native/vm/gnu/java_lang_reflect_Method.c (invokeNative): Use
+ reflect_method_invoke.
+ * src/native/vm/sun/jvm.c (JVM_InvokeMethod): Use
+ reflect_method_invoke. (JVM_NewInstanceFromConstructor): Use
+ reflect_constructor_newinstance.
+ [a3189e2fbd34]
+
+ * src/native/vm/gnu/java_lang_reflect_Constructor.c,
+ src/native/vm/java_lang_reflect_Constructor.c,
+ src/native/vm/java_lang_reflect_Constructor.h:
+ * src/native/vm/gnu/java_lang_reflect_Constructor.c (getSignature):
+ Implemented directly.
+ * src/native/vm/java_lang_reflect_Constructor.c (getSignature):
+ Removed.
+ * src/native/vm/java_lang_reflect_Constructor.h: Likewise.
+ [d1ea50387ceb]
+
+ * src/native/vm/gnu/java_lang_reflect_Constructor.c,
+ src/native/vm/java_lang_reflect_Constructor.c,
+ src/native/vm/java_lang_reflect_Constructor.h:
+ * src/native/vm/gnu/java_lang_reflect_Constructor.c
+ (getExceptionTypes): Implemented directly.
+ * src/native/vm/java_lang_reflect_Constructor.c (getExceptionTypes):
+ Removed.
+ * src/native/vm/java_lang_reflect_Constructor.h: Likewise.
+ [2bfcb5cbdd18]
+
+ * src/native/vm/gnu/java_lang_reflect_Constructor.c,
+ src/native/vm/java_lang_reflect_Constructor.c,
+ src/native/vm/java_lang_reflect_Constructor.h:
+ * src/native/vm/gnu/java_lang_reflect_Constructor.c
+ (getParameterTypes): Implemented directly.
+ * src/native/vm/java_lang_reflect_Constructor.c (getParameterTypes):
+ Removed.
+ * src/native/vm/java_lang_reflect_Constructor.h: Likewise.
+ [5b6da046d461]
+
+ * src/native/vm/gnu/java_lang_reflect_Constructor.c,
+ src/native/vm/java_lang_reflect_Constructor.c,
+ src/native/vm/java_lang_reflect_Constructor.h:
+ * src/native/vm/gnu/java_lang_reflect_Constructor.c
+ (getModifiersInternal): Implemented directly.
+ * src/native/vm/java_lang_reflect_Constructor.c (getModifiers):
+ Removed.
+ * src/native/vm/java_lang_reflect_Constructor.h: Likewise.
+ [f1da619c1b0b]
+
+2008-04-03 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/threads/posix/Makefile.am, src/threads/posix/threadlist-posix.c,
+ src/threads/threadlist.c:
+ * src/threads/posix/threadlist-posix.c: Removed.
+ * src/threads/posix/Makefile.am (libposix_la_SOURCES): Removed
+ threadlist-posix.c.
+ * src/threads/threadlist.c (threads/mutex.h): Added.
+ (threadlist_mutex): New global variable. (threadlist_init):
+ Initialize mutex. (threadlist_lock, threadlist_unlock): New
+ functions.
+ [d8f389d4b3f7]
+
+2008-04-02 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/vm/exceptions.c:
+ * src/vm/exceptions.c (exceptions_new_class_utf): Check for c ==
+ NULL when VM is initializing.
+ [3ac1ce7dadb2]
+
+ * src/native/vm/sun/jvm.c:
+ * src/native/vm/sun/jvm.c (TRACEJVMCALLSENTER, TRACEJVMCALLSEXIT):
+ New macro. (JVM_GetClassLoader): Trace return value.
+ [c4ceb9518a19]
+
+ * src/vm/jit/stacktrace.c:
+ * src/vm/jit/stacktrace.c (stacktrace_get): Correctly skip
+ Throwable.init() functions. (stacktrace_stackframeinfo_fill):
+ Changed debugging messge.
+ [18f868142155]
+
+ * src/threads/thread.c, src/threads/thread.h:
+ * src/threads/thread.c (threads_thread_print_info): Renamed to
+ thread_print_info, removed assert on THREAD_STATE_NEW but print as
+ much info as possible. (threads_dump): Use new functio name.
+ * src/threads/thread.h: Likewise.
+ [d6c927d2e029]
+
+ * * Merged with tip.
+ [da113f4ae466]
+
+ * src/vm/string.c:
+ * src/vm/string.c (javastring_safe_new_from_utf8): Don't assert on
+ text is NULL, but return NULL. Checked with jconsole.
+ [af3aa1b2e676]
+
+ * src/mm/Makefile.am:
+ * src/mm/Makefile.am: Changed copyright.
+ [906626e18451]
+
+2008-04-02 Michael Starzinger <michi@complang.tuwien.ac.at>
+
+ * src/cacao/cacao.c, src/native/jvmti/cacaodbg.c,
+ src/native/jvmti/cacaodbg.h, src/native/jvmti/jvmti.c,
+ src/threads/Makefile.am, src/threads/mutex.h,
+ src/threads/posix/Makefile.am, src/threads/posix/generic-
+ primitives.h, src/threads/posix/lock.c, src/threads/posix/lock.h,
+ src/threads/posix/mutex-posix.h, src/threads/posix/thread-posix.c,
+ src/threads/posix/thread-posix.h, src/threads/posix/threadlist-
+ posix.c, src/vm/vm.c:
+ * src/threads/Makefile.am: Added mutex.h.
+ * src/threads/posix/Makefile.am: Added mutex-posix.h.
+
+ * src/threads/mutex.h: Added new file.
+ * src/threads/posix/mutex-posix.h: Likewise. (mutex_init): Implemented
+ inline wrapper function. (mutex_lock): Likewise. (mutex_unlock):
+ Likewise. (mutex_destroy): Likewise.
+
+ * src/cacao/cacao.c, src/native/jvmti/cacaodbg.c,
+ src/native/jvmti/cacaodbg.h, src/native/jvmti/jvmti.c,
+ src/threads/posix/generic-primitives.h, src/threads/posix/lock.c,
+ src/threads/posix/lock.h, src/threads/posix/thread-posix.c,
+ src/threads/posix/thread-posix.h, src/threads/posix/threadlist-
+ posix.c, src/vm/vm.c: Included mutex.h and used wrapper functions
+ throughout the whole file.
+ [30bdc35a0486]
+
+2008-04-01 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/threads/none/thread-none.h, src/threads/none/threads.h,
+ src/threads/thread.h:
+ * src/threads/none/threads.h: Renamed from here...
+ * src/threads/none/thread-none.h: ...to here.
+ * src/threads/thread.h: Fixed include.
+ [cce680c919ac]
+
+ * src/native/jni.c, src/native/vm/cldc1.1/java_lang_Thread.c,
+ src/native/vm/gnu/java_lang_VMThread.c, src/native/vm/sun/jvm.c,
+ src/threads/none/threads.h, src/threads/posix/thread-posix.c,
+ src/threads/thread.c, src/threads/thread.h, src/vm/exceptions.c:
+ * src/native/jni.c (_Jv_JNI_FindClass): Renamed to jni_FindClass,
+ call resolve_handle_pending_exception in exception case.
+ (_Jv_JNI_ExceptionDescribe): Renamed to jni_ExceptionDescribe, use
+ exceptions_print_stacktrace. (_Jv_JNI_ExceptionClear): Renamed to
+ jni_ExceptionClear.
+
+ * src/threads/thread.h (threads_thread_get_object): Renamed to
+ thread_get_object. (threads_thread_set_object): Renamed to
+ thread_set_object. (threads_get_current_object): Renamed to
+ thread_get_current_object. (thread_is_attached): Use new function
+ names. (thread_fprint_name): Export.
+
+ * src/threads/none/threads.h (threads_get_current_object): Renamed
+ to thread_get_current_object.
+
+ * src/native/vm/cldc1.1/java_lang_Thread.c (currentThread): Use new
+ function names.
+ * src/native/vm/gnu/java_lang_VMThread.c (currentThread): Likewise.
+ * src/native/vm/sun/jvm.c (JVM_CurrentThread): Likewise.
+ * src/threads/posix/thread-posix.c (threads_startup_thread): Likewise.
+ (threads_detach_thread): Likewise.
+ * src/threads/thread.c (thread_create_object): Likewise.
+ (thread_free): Likewise. (threads_thread_start): Likewise.
+ (thread_fprint_name): New function. (threads_thread_print_info): Use
+ thread_fprint_name.
+
+ * src/vm/exceptions.c (exceptions_print_stacktrace): Implemented
+ (mostly) as in HotSpot.
+ [10f85b96a2de]
+
+ * src/vm/string.c, src/vm/stringlocal.h:
+ * src/vm/string.c (javastring_print): Renamed to javastring_fprint
+ and added a stream argument.
+ * src/vm/stringlocal.h: Likewise.
+ [abde7ae98d1d]
+
+ * src/vm/vm.c:
+ * src/vm/vm.c (vm_run) [ENABLE_THREADS]: #ifdef'ed threading stuff.
+ [9d9bdfdef420]
+
+ * configure.ac:
+ * configure.ac (AC_CHECK_HEADERS): Added stdio.h.
+ [68c3572dec69]
+
+ * src/threads/thread.c, src/threads/thread.h,
+ src/threads/threadlist.c:
+ * src/threads/thread.c (thread_create_object): New function.
+ (thread_method_init): Made static. (threadgroup_system,
+ threadgroup_main): Changed type to java_handle_t.
+ (thread_create_initial_threadgroup): Chnaged type of
+ threadgroup_system and threadgroup_main.
+ (thread_create_initial_thread): Use thread_create_object.
+ (threads_thread_start_internal): Likewise.
+ (threads_attach_current_thread): Likewise.
+ (threads_thread_print_info): Use thread_is_daemon.
+ * src/threads/thread.h (thread_method_init): Removed.
+ (thread_is_daemon): New function.
+ * src/threads/threadlist.c (threadlist_get_non_daemons): Use
+ thread_is_daemon.
+ [ea1ec101d6fe]
+
+ * src/threads/posix/thread-posix.c, src/threads/thread.c,
+ src/threads/thread.h:
+ * src/threads/thread.c (threads_thread_new): Renamed to thread_new
+ and made static. (threads_thread_free): Renamed to thread_free.
+ (threads_thread_start_internal): Use new function names.
+ (threads_thread_start): Likewise. (threads_attach_current_thread):
+ Likewise.
+ * src/threads/thread.h (threads_thread_new): Removed.
+ (threads_thread_free): Renamed to thread_free.
+
+ * src/threads/posix/thread-posix.c (threads_detach_thread): Use new
+ function names.
+ [e5e0b246a78b]
+
+ * src/mm/cacao-gc/gc.c, src/mm/cacao-gc/gc.h, src/mm/cacao-
+ gc/rootset.c, src/mm/cacao-gc/rootset.h, src/mm/codememory.c,
+ src/mm/dumpmemory.c, src/mm/memory.c, src/native/jni.c,
+ src/native/jvmti/cacaodbg.c, src/native/jvmti/cacaodbg.h,
+ src/native/jvmti/jvmti.c, src/native/llni.c, src/native/llni.h,
+ src/native/localref.c, src/native/vm/cldc1.1/java_lang_Thread.c,
+ src/native/vm/gnu/java_lang_VMThread.c, src/native/vm/sun/jvm.c,
+ src/threads/Makefile.am, src/threads/posix/Makefile.am,
+ src/threads/posix/lock.c, src/threads/posix/thread-posix.c,
+ src/threads/posix/thread-posix.h, src/threads/posix/threads.c,
+ src/threads/posix/threads.h, src/threads/thread.c,
+ src/threads/thread.h, src/threads/threadlist.c,
+ src/threads/threadlist.h, src/threads/threads-common.c, src/threads
+ /threads-common.h, src/toolbox/logging.c, src/vm/builtin.c,
+ src/vm/exceptions.c, src/vm/finalizer.c, src/vm/jit/alpha/linux/md-
+ os.c, src/vm/jit/arm/linux/md-os.c, src/vm/jit/codegen-common.c,
+ src/vm/jit/i386/darwin/md-os.c, src/vm/jit/i386/linux/md-os.c,
+ src/vm/jit/inline/inline.c, src/vm/jit/intrp/asmpart.c,
+ src/vm/jit/intrp/engine.c, src/vm/jit/jit.c,
+ src/vm/jit/methodtree.c, src/vm/jit/optimizing/profile.c,
+ src/vm/jit/optimizing/recompile.c, src/vm/jit/powerpc/codegen.c,
+ src/vm/jit/powerpc/darwin/md-os.c, src/vm/jit/powerpc/linux/md-os.c,
+ src/vm/jit/powerpc64/linux/md-os.c, src/vm/jit/replace.c,
+ src/vm/jit/s390/md.c, src/vm/jit/show.c, src/vm/jit/stacktrace.c,
+ src/vm/jit/trace.c, src/vm/jit/x86_64/freebsd/md-os.c,
+ src/vm/jit/x86_64/linux/md-os.c, src/vm/signal.c, src/vm/vm.c:
+ * src/threads/posix/threads.c: Renamed from here...
+ * src/threads/posix/threads.h, src/threads/threads-common.c,
+ src/threads/threads-common.h: Likewise.
+
+ * src/threads/posix/thread-posix.c: ...to here.
+ * src/threads/posix/thread-posix.h, src/threads/thread.c,
+ src/threads/thread.h: Likewise.
+
+ * src/mm/cacao-gc/gc.c, src/mm/cacao-gc/gc.h, src/mm/cacao-
+ gc/rootset.c, src/mm/cacao-gc/rootset.h, src/mm/codememory.c,
+ src/mm/dumpmemory.c, src/mm/memory.c, src/native/jni.c,
+ src/native/jvmti/cacaodbg.c, src/native/jvmti/cacaodbg.h,
+ src/native/jvmti/jvmti.c, src/native/llni.c, src/native/llni.h,
+ src/native/localref.c, src/native/vm/cldc1.1/java_lang_Thread.c,
+ src/native/vm/gnu/java_lang_VMThread.c, src/native/vm/sun/jvm.c,
+ src/threads/Makefile.am, src/threads/posix/lock.c,
+ src/threads/posix/Makefile.am, src/threads/threadlist.c,
+ src/threads/threadlist.h, src/toolbox/logging.c, src/vm/builtin.c,
+ src/vm/exceptions.c, src/vm/finalizer.c, src/vm/jit/alpha/linux/md-
+ os.c, src/vm/jit/arm/linux/md-os.c, src/vm/jit/codegen-common.c,
+ src/vm/jit/i386/darwin/md-os.c, src/vm/jit/i386/linux/md-os.c,
+ src/vm/jit/inline/inline.c, src/vm/jit/intrp/asmpart.c,
+ src/vm/jit/intrp/engine.c, src/vm/jit/jit.c,
+ src/vm/jit/methodtree.c, src/vm/jit/optimizing/profile.c,
+ src/vm/jit/optimizing/recompile.c, src/vm/jit/powerpc/codegen.c,
+ src/vm/jit/powerpc/darwin/md-os.c, src/vm/jit/powerpc/linux/md-os.c,
+ src/vm/jit/powerpc64/linux/md-os.c, src/vm/jit/replace.c,
+ src/vm/jit/s390/md.c, src/vm/jit/show.c, src/vm/jit/stacktrace.c,
+ src/vm/jit/trace.c, src/vm/jit/x86_64/freebsd/md-os.c,
+ src/vm/jit/x86_64/linux/md-os.c, src/vm/signal.c, src/vm/vm.c:
+ Changed filename occurrences.
+ [38d26f1a1c95]
+
+2008-03-31 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/native/jni.c, src/threads/posix/threads.c, src/threads/threads-
+ common.c, src/threads/threads-common.h, src/vm/global.h,
+ src/vm/vm.c:
+ Fixes PR59.
+ * src/native/jni.c (_Jv_JNI_Get##name##Field): Added TRACEJNICALLS.
+ (_Jv_JNI_Set##name##Field): Likewise.
+ (_Jv_JNI_CallStaticObjectMethod): Likewise.
+ (_Jv_JNI_CallStaticObjectMethodV): Likewise.
+ (_Jv_JNI_CallStaticObjectMethodA): Likewise.
+ (_Jv_JNI_CallStaticVoidMethod): Likewise.
+ (_Jv_JNI_CallStaticVoidMethodV): Likewise.
+ (_Jv_JNI_CallStaticVoidMethodA): Likewise. (_Jv_JNI_GetArrayLength):
+ Likewise. (_Jv_JNI_Get##name##ArrayElements): Likewise.
+ (_Jv_JNI_Get##name##ArrayRegion): Likewise.
+ (jni_attach_current_thread): Check correctly if current thread is
+ already attached. (_Jv_JNI_DetachCurrentThread): Check if current
+ thread is already detached.
+ * src/threads/posix/threads.c (threads_detach_thread): Likewise.
+
+ * src/threads/threads-common.c (threads_init) [WITH_CLASSPATH_SUN]:
+ Resolve correct thread init method. (thread_create_object): New
+ function, but not yet implemented. (thread_create_initial_thread):
+ Lot of changes.
+
+ * src/threads/threads-common.h (thread_is_attached): New function.
+ (thread_current_is_attached): Likewise.
+
+ * src/vm/global.h (STR): New macro, stolen from OpenJDK.
+
+ * src/vm/vm.c (vm_run): Detach the main thread before calling
+ vm_destroy. (vm_destroy): Attach the main thread again as
+ DestroyJavaVM thread.
+ [5b1738cbdeac]
+
+ * src/native/jni.c, src/native/jvmti/cacaodbg.c,
+ src/threads/posix/threads.c, src/threads/posix/threads.h,
+ src/threads/threads-common.c, src/threads/threads-common.h:
+ * src/threads/posix/threads.c (threads_set_current_threadobject):
+ Moved from here... (threads_get_current_threadobject): Likewise.
+ * src/threads/posix/threads.h (thread_get_current): ...to here.
+ (thread_set_current): Likewise.
+ * src/threads/threads-common.h (threads_set_current_threadobject):
+ Removed.
- * src/vm/jit/stacktrace.c (stacktrace_create): Do not free dump
- memory here,
- this is now done in the parent functions. Also removed the copy to gc
- memory.
- (stacktrace_fillInStackTrace): Copy stacktrace to gc memory.
- Free dump memory.
- (stacktrace_getClassContext): Free dump memory.
- (stacktrace_getCurrentClass): Likewise.
- (stacktrace_getStack): Likewise.
- (stacktrace_dump_trace): Likewise.
-
-2006-04-24 11:40 edwin
-
- * src/vm/jit/stacktrace.c (stacktrace_fillInStackTrace)
- (stacktrace_getClassContext, stacktrace_getCurrentClass)
- (stacktrace_getStack): Added cycle count statistics.
- (stacktrace_print_cycles_stats): Added.
-
- * src/vm/jit/stacktrace.h (stacktrace_print_cycles_stats): Added.
-
- * src/vm/vm.c (vm_exit_handler): Call stacktrace_print_cycles_stats.
-
-2006-04-24 11:36 edwin
-
- * src/vm/cycles-stats.h (CYCLES_STATS_END_WITH_OVERHEAD): Fix
- arguments of
- empty macro definition.
-
-2006-04-24 11:27 edwin
-
- * src/vm/cycles-stats.h (CYCLES_STATS_DECLARE_AND_START)
- (CYCLES_STATS_DECLARE_AND_START_WITH_OVERHEAD)
- (CYCLES_STATS_END, CYCLES_STATS_END_WITH_OVERHEAD): Added convenience
- macros.
-
- * src/vm/cycles-stats.c (cycles_stats_print): Fixed divide-by-zero.
- Minor
- output changes.
-
-2006-04-24 10:08 twisti
-
- * src/vm/jit/mips/md.c (md_get_method_patch_address): Renamed from
- md_assembler_get_patch_address.
- * src/vm/jit/mips/asmpart.S (asm_call_jit_compiler): Renamed
- md_assembler_get_patch_address to md_get_method_patch_address.
-
-2006-04-24 10:00 twisti
-
- * src/vm/jit/powerpc/md.c (md_get_method_patch_address): New method.
- * src/vm/jit/powerpc/asmpart.S (asm_call_jit_compiler): Use new
- jit_asm_compile method. This fixes the ecj bugs seens with some mauve
- tests and eclipse.
-
-2006-04-24 09:58 twisti
-
- * src/vm/jit/powerpc/codegen.c (codegen): Replaced those ugly
- M_TINTMOVE macros. Use M_LLD macros where possible.
- * src/vm/jit/powerpc/codegen.h (M_LNGMOVE): Check for equal registers.
- (M_TINTMOVE): Removed.
-
-2006-04-24 00:19 edwin
-
- * src/vm/jit/i386/asmpart.S (asm_get_cycle_count): Omit the
- stackframe.
- This saves a couple of cycles of measurement overhead.
-
-2006-04-23 23:03 twisti
-
- * src/vm/jit/alpha/md.c (md_get_method_patch_address): Renamed from
- md_assembler_get_patch_address.
- * src/vm/jit/alpha/asmpart.S (asm_call_jit_compiler): Renamed
- md_assembler_get_patch_address to md_get_method_patch_address.
-
-2006-04-23 19:18 edwin
-
- * src/vm/cycles-stats.c (cycles_stats_print_percentile): Better
- extrapolation.
- * src/vm/cycles-stats.h (CYCLES_STATS_DECLARE, CYCLES_STATS_COUNT)
- (CYCLES_STATS_PRINT, CYCLES_STATS_PRINT_OVERHEAD): Added total cycles
- counter.
-
-2006-04-23 19:16 edwin
-
- * src/vm/builtin.c (builtin_new): Renamed rt-timing identifier.
- (builtin_newarray): Added rt-timing.
-
- * src/vm/rt-timing.h: Added rt-timing for builtin_newarray.
- * src/vm/rt-timing.c: Likewise.
-
-2006-04-23 16:11 edwin
-
- * src/vm/builtin.c (builtin_print_cycles_stats): Use
- CYCLES_STATS_PRINT_OVERHEAD.
-
- * src/vm/cycles-stats.h (CYCLES_STATS_PRINT_OVERHEAD): Added.
-
- * src/vm/cycles-stats.c (cycles_stats_print_percentile): Added.
- (cycles_stats_print): Added `overhead` argument and automatic
- measurement overhead compensation.
-
-2006-04-23 15:39 edwin
-
- * src/vm/builtin.c (builtin_new): Added rt-timing.
- (builtin_print_cycles_stats): Removed unused variable.
- (builtin_monitorenter): Removed rt-timing.
- (builtin_monitorexit): Likewise.
-
- * src/vm/rt-timing.c: rt-timing for buitin_new.
- * src/vm/rt-timing.h: Likewise.
+ * src/native/jni.c (jni_attach_current_thread): Use new function
+ name. (_Jv_JNI_DetachCurrentThread): Likewise. (_Jv_JNI_GetEnv):
+ Likewise.
+ * src/native/jvmti/cacaodbg.c (jvmti_get_current_thread): Likewise.
+ * src/threads/threads-common.c (threads_preinit): Likewise.
+ [6bdc40cea36e]
+
+ * configure.ac, m4/classpath.m4, m4/hpi.m4, src/native/vm/nativevm.c,
+ src/native/vm/sun/Makefile.am, src/native/vm/sun/hpi.c,
+ src/native/vm/sun/hpi.h, src/native/vm/sun/jvm.c,
+ src/vmcore/options.c, src/vmcore/options.h:
+ * configure.ac (AC_CHECK_WITH_HPI_MD_H): Added.
+ (AC_CHECK_WITH_HPI_H): Likewise.
+ * m4/classpath.m4 (AC_CHECK_WITH_CLASSPATH_CLASSES): Changed default
+ for OpenJDK. (AC_CHECK_WITH_CLASSPATH_LIBDIR): Likewise.
+ (AC_CHECK_WITH_JNI_MD_H): Likewise. (AC_CHECK_WITH_JNI_H): Likewise.
+
+ * m4/hpi.m4: New file.
+ * src/native/vm/nativevm.c (nativevm_preinit): Call hpi_initialize.
+ * src/native/vm/sun/Makefile.am (libnativevmcore_la_SOURCES): Added
+ hpi.[ch].
+ * src/native/vm/sun/hpi.c: New file.
+ * src/native/vm/sun/hpi.h: Likewise.
+
+ * src/native/vm/sun/jvm.c (JVM_GetLastErrorString): Use HPI
+ function. (JVM_NativePath): Likewise. (JVM_Open): Likewise.
+ (JVM_Close): Likewise. (JVM_Read): Likewise. (JVM_Write): Likewise.
+ (JVM_Available): Likewise. (JVM_Lseek): Likewise. (JVM_SetLength):
+ Likewise. (JVM_Sync): Likewise. (JVM_InitializeSocketLibrary): Call
+ hpi_initialize_socket_library.
+
+ * src/vmcore/options.c (opt_TraceHPI): Added global variable.
+ (options_xx): Handle new option.
+ * src/vmcore/options.h: Likewise.
+ [fceac7c38a1b]
+
+ * src/native/vm/nativevm.c:
+ * src/native/vm/nativevm.c (nativevm_preinit) [WITH_CLASSPATH_SUN]:
+ Check for native_library_open error.
+ [fc69ca6c9fbe]
+
+2008-03-29 Edwin Steiner <edwin.steiner@gmx.net>
+
+ * src/vm/jit/stack.c:
+ * src/vm/jit/stack.c (stack_analyse): Clean up: removed an obsolete
+ assignment to copy->varkind. (It is set in SET_TEMPVAR anyway.)
+ [da706966db7d]
+
+ * src/vm/jit/stack.c:
+ * src/vm/jit/stack.c (stack_analyse): Use the javaindex instead of
+ the CACAO varindex for checking conflicts with local variables.
+ While there is no real conflict between CACAO variables of different
+ types, the register allocator makes the implicit assumption that
+ variables corresponding to the same javaindex may be coalesced. As
+ long as this assumption is made, we must consider variables with the
+ same javaindex as conflicting (and also check against that in the
+ verifier). This fixes [Bug 49] VerifyError with obfuscated classes.
+ [08444c22b833]
+
+ * src/vm/jit/stack.c:
+ * src/vm/jit/stack.c (stack_analyse): Clean up the ICMD_IINC case so
+ it uses the javaindex variable. (No functional change.)
+ [18e1045d35f2]
+
+ * src/vm/jit/jit.h, src/vm/jit/parse.c, src/vm/jit/verify/typecheck-
+ common.h, src/vm/jit/verify/typecheck.c:
+ * src/vm/jit/jit.h (jitdata): Added reverselocalmap.
+
+ * src/vm/jit/parse.c (parse): Fill the reverselocalmap.
+
+ * src/vm/jit/verify/typecheck-common.h (verifier_state): Removed the
+ reverselocalmap.
+
+ * src/vm/jit/verify/typecheck.c (typecheck_invalidate_locals): Use
+ jd->reverselocalmap. (typecheck): Likewise.
+ [8a9d9cd39976]
+
+ * tests/regression/jasmin/Makefile.am,
+ tests/regression/jasmin/test_load_store_conflict_different_types.j:
+ *
+ tests/regression/jasmin/test_load_store_conflict_different_types.j:
+ New test exposing the bug in conflict checking for local variables
+ ([Bug 49] VerifyError with obfuscated classes).
+
+ * tests/regression/jasmin/Makefile.am: Added new test.
+ [e5dbef3898c1]
+
+ * contrib/vmlog/vmlog_cacao.h:
+ * contrib/vmlog/vmlog_cacao.h: Removed #include of a header that
+ does not exist anymore.
+ [5b8c6c097400]
+
+2008-03-27 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/threads/posix/threads.c, src/threads/posix/threads.h,
+ src/threads/threads-common.c, src/threads/threads-common.h:
+ * src/threads/posix/threads.c (threads_attach_current_thread):
+ Removed.
+ * src/threads/posix/threads.h: Likewise.
+ * src/threads/threads-common.c (threads_attach_current_thread): Added.
+ * src/threads/threads-common.h: Likewise.
+ [e1fa9148b033]
+
+ * src/native/vm/nativevm.c, src/native/vm/nativevm.h,
+ src/native/vm/sun/jvm.c, src/vm/global.h, src/vm/initialize.c,
+ src/vm/initialize.h, src/vm/vm.c, src/vmcore/options.c,
+ src/vmcore/options.h:
+ * src/native/vm/nativevm.c (nativevm_preinit): Changed signature,
+ use system_* functions. (nativevm_init): Changed signature.
+ * src/native/vm/nativevm.h: Likewise.
+
+ * src/native/vm/sun/jvm.c (JVM_InitProperties): Added
+ sun.nio.MaxDirectMemorySize handling.
+
+ * src/vm/global.h (PRINTF_FORMAT_INT64_T): Added define for int64_t
+ formater.
+
+ * src/vm/initialize.c (initialize_init): New function.
+ * src/vm/initialize.h: Likewise.
+
+ * src/vm/vm.c (vm_create): Added initialize_init.
+
+ * src/vmcore/options.c (opt_MaxDirectMemorySize): New global
+ variable. (options_xx): Use system_* functions.
+ * src/vmcore/options.h: Likewise.
+ [bd1fba089d84]
+
+ * configure.ac, src/vmcore/system.h:
+ * configure.ac (AC_CHECK_FUNCS): Added strcat, strcpy.
+ * src/vmcore/system.h (system_atoi): New function. (system_strcat):
+ Likewise. (system_strcpy): Likewise.
+ [3bc1e510dba5]
+
+2008-03-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/vmcore/loader.c, tests/regression/bugzilla/PR58.java:
+ * src/vmcore/loader.c (load_class_from_classbuffer_intern): Also
+ call resolve_handle_pending_exception for super interfaces.
+ * tests/regression/bugzilla/PR58.java (test): Renamed to
+ testSuperClass. (testSuperInterface): New method.
+ [a9203003de40]
+
+ * src/cacaoh/dummy.c, src/native/vm/sun/jvm.c, src/vm/exceptions.c,
+ src/vm/exceptions.h, src/vm/resolve.c, src/vm/resolve.h,
+ src/vmcore/class.c, src/vmcore/class.h, src/vmcore/linker.c,
+ src/vmcore/loader.c, src/vmcore/utf8.c, src/vmcore/utf8.h,
+ tests/regression/bugzilla/All.java,
+ tests/regression/bugzilla/PR58.java:
+ * src/cacaoh/dummy.c (resolve_handle_pending_exception): New
+ function.
-2006-04-23 15:31 edwin
+ * src/native/vm/sun/jvm.c (JVM_FindClassFromClassLoader): Added
+ assert on throwError. (JVM_DoPrivileged): Throw
+ PrivilegedActionException only if the exception is an instance of
+ java.lang.Exception but not of java.lang.RuntimeException.
- * src/vm/cycles-stats.c (cycles_stats_get_cpu_MHz): Better error
- handling.
+ * src/vm/exceptions.c (exceptions_new_class_utf): New function.
+ (exceptions_throw_class_utf): Likewise.
+ (exceptions_throw_classnotfoundexception): Use
+ exceptions_throw_class_utf.
+ (exceptions_classnotfoundexception_to_noclassdeffounderror):
+ Removed.
+ * src/vm/exceptions.h: Likewise.
-2006-04-23 15:24 edwin
-
- * src/vm/builtin.c (builtin_new): Gather cycle count statistics.
- (CYCLES_STATS_DECLARE): Moved declarations to beginning of file.
-
- * src/vm/cycles-stats.c (cycles_stats_get_cpu_MHz): Added function for
- automatic CPU frequency detection via /proc/cpuinfo.
- (cycles_stats_print): Calculate estimated CPU times.
-
-2006-04-22 09:35 edwin
-
- * src/vm/cycles-stats.c (cycles_stats_print): Made count, floor, and
- ceiling
- of type u8. This should avoid overflow problems.
-
- * src/vm/cycles-stats.h (cycles_stats_print): Made count an u8.
-
-2006-04-21 21:36 edwin
-
- * src/vm/cycles-stats.c: New file. Better cycle count statistics.
-
- * src/vm/cycles-stats.h (CYCLES_STATS_PRINT): This is now a wrapper
- for
- cycles_stats_print.
-
- * src/vm/Makefile.am (cycles-stats.c): Added to sources.
-
-2006-04-21 14:32 edwin
-
- * src/vm/jit/stacktrace.c (stacktrace_inline_fillStackTrace): Assert
- that
- there is an exception before dereferencing it.
- (stacktrace_create): Document that this function may return NULL.
- (stacktrace_getClassContext): Check return value of stacktrace_create.
- (stacktrace_getCurrentClass): Likewise.
- (stacktrace_getStack): Likewise. Document that this function may
- return NULL.
-
-2006-04-21 13:08 edwin
-
- * src/vm/jit/stacktrace.c (stacktrace_getClassContext): Document that
- return
- value may be NULL (in case of an exception).
-
- * src/native/vm/VMStackWalker.c
- (Java_gnu_classpath_VMStackWalker_getCallingClass): Check return
- value of
- stacktrace_getClassContext.
- (Java_gnu_classpath_VMStackWalker_getCallingClassLoader): Likewise.
-
- * src/native/vm/Field.c (cacao_get_field_address): Check return value
- of
- stacktrace_getClassContext.
-
- * src/native/vm/Method.c (Java_java_lang_reflect_Method_invokeNative):
- Check return value of stacktrace_getClassContext.
-
-2006-04-21 11:07 twisti
-
- * src/vm/jit/i386/md.c (md_get_method_patch_address): New method.
- (md_icacheflush): Added.
- (md_dcacheflush): Likewise.
-
-2006-04-21 10:54 twisti
-
- * src/vm/jit/jit.c (jit_asm_compile): New method.
- * src/vm/jit/jit.h (jit_asm_compile): Added.
- (md_get_method_patch_address): Likewise.
-
- * src/vm/jit/x86_64/asmpart.S (asm_vm_call_method): Store
- asm_call_jit_compiler on stack as for the other architectures.
- (asm_call_jit_compiler): Use new jit_asm_compile.
-
- * src/vm/jit/x86_64/codegen.c (codegen): Use REG_ITMP3 for calling
- methods. This is required for asm_vm_call_method to work.
-
- * src/vm/jit/x86_64/md.c (md_get_method_patch_address): New method.
- (md_icacheflush): Added.
- (md_dcacheflush): Added.
- * src/vm/jit/x86_64/md-asm.h (mptr): Defined.
-
-2006-04-21 10:45 twisti
-
- * src/vm/jit/stacktrace.c (stacktrace_add_method_intern): Reformatted
+ * src/vm/resolve.c (resolve_handle_pending_exception): New function.
+ (resolve_class_from_name): Don't convert exception.
+ * src/vm/resolve.h (resolve_handle_pending_exception): Added.
+
+ * src/vmcore/class.c (class_java_lang_Exception): New global
+ variable. (class_java_lang_ClassNotFoundException): Likewise.
+ (class_java_lang_RuntimeException): Likewise.
+ * src/vmcore/class.h: Likewise.
+
+ * src/vmcore/linker.c (linker_init): Link new global classes.
+ * src/vmcore/loader.c (loader_init): Load new global classes.
+
+ * src/vmcore/utf8.c (utf_java_lang_RuntimeException): New global
+ variable. (utf8_init): Initialize new global variable.
+ * src/vmcore/utf8.h (utf_java_lang_RuntimeException): Export.
+
+ * tests/regression/bugzilla/All.java: Added PR58.
+ * tests/regression/bugzilla/PR58.java: New file.
+ [4067fe3a3bee]
+
+ * tests/A2.java, tests/AA.java, tests/AA1.java, tests/AA2.java,
+ tests/BB.java, tests/C.java, tests/C2.java, tests/C3.java,
+ tests/CC.java, tests/D.java, tests/DD.java, tests/EE.java,
+ tests/GG.java, tests/HI2.java, tests/II.java, tests/IIAA.java,
+ tests/IIBB.java, tests/IICC.java, tests/IIexample.java,
+ tests/Makefile.am, tests/n.java, tests/scribble.java:
+ * tests/Makefile.am: Cleanup, removed checkall, added build target.
+ * tests/A2.java: Removed.
+ * tests/AA.java, tests/AA1.java, tests/AA2.java, tests/BB.java,
+ tests/C.java, tests/C2.java, tests/C3.java, tests/CC.java,
+ tests/D.java, tests/DD.java, tests/EE.java, tests/GG.java,
+ tests/HI2.java, tests/II.java, tests/IIAA.java, tests/IIBB.java,
+ tests/IICC.java, tests/IIexample.java, tests/n.java,
+ tests/scribble.java: Likewise.
+ [91251aac4dec]
+
+ * tests/regression/bugzilla/All.java,
+ tests/regression/bugzilla/PR57.java:
+ * tests/regression/bugzilla/All.java: Added PR57.
+ * tests/regression/bugzilla/PR57.java: New file.
+ [8a65518935cf]
+
+ * tests/regression/bugzilla/Makefile.am:
+ * tests/regression/bugzilla/Makefile.am (JAVA): Added
+ LD_LIBRARY_PATH so we can really overrite JAVA. (build): Added
+ $(srcdir) to find .java files. (check): Removed LD_LIBRARY_PATH.
+ [dbf4b68b6d25]
+
+2008-03-25 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/threads/native/Makefile.am, src/threads/native/generic-
+ primitives.h, src/threads/native/lock.c, src/threads/native/lock.h,
+ src/threads/native/threadlist-posix.c, src/threads/native/threads.c,
+ src/threads/native/threads.h:
+ * src/threads/native/Makefile.am: Removed.
+ * src/threads/native/generic-primitives.h, src/threads/native/lock.c,
+ src/threads/native/lock.h, src/threads/native/threadlist-posix.c,
+ src/threads/native/threads.c, src/threads/native/threads.h:
+ Likewise.
+ [0337947f848f]
+
+ * configure.ac, src/mm/cacao-gc/gc.h, src/mm/cacao-gc/rootset.h,
+ src/native/jvmti/cacaodbg.c, src/native/jvmti/cacaodbg.h,
+ src/native/jvmti/jvmti.c, src/native/llni.h,
+ src/threads/Makefile.am, src/threads/lock-common.h,
+ src/threads/posix/Makefile.am, src/threads/posix/generic-
+ primitives.h, src/threads/posix/lock.c, src/threads/posix/lock.h,
+ src/threads/posix/threadlist-posix.c, src/threads/posix/threads.c,
+ src/threads/posix/threads.h, src/threads/threads-common.c,
+ src/threads/threads-common.h, src/vm/builtintable.inc,
+ src/vm/jit/alpha/linux/md-os.c, src/vm/jit/arm/linux/md-os.c,
+ src/vm/jit/intrp/asmpart.c, src/vm/jit/intrp/dynamic-super.c,
+ src/vm/jit/intrp/engine.c, src/vm/jit/powerpc/darwin/md-os.c,
+ src/vm/jit/powerpc/linux/md-os.c, src/vm/jit/powerpc64/linux/md-
+ os.c, src/vm/jit/s390/codegen.c, src/vm/jit/s390/emit.c,
+ src/vm/jit/s390/md.c, src/vm/jit/show.c, src/vm/jit/stacktrace.c,
+ src/vm/jit/x86_64/freebsd/md-os.c, src/vm/jit/x86_64/linux/md-os.c:
+ * configure.ac (AC_CONFIG_FILES): Moved src/threads/native/Makefile
+ to src/threads/posix/Makefile.
+
+ * src/threads/posix/Makefile.am, src/threads/posix/generic-
+ primitives.h, src/threads/posix/lock.c, src/threads/posix/lock.h,
+ src/threads/posix/threadlist-posix.c, src/threads/posix/threads.c,
+ src/threads/posix/threads.h: Moved from src/threads/native/.
+
+ * src/mm/cacao-gc/gc.h, src/mm/cacao-gc/rootset.h,
+ src/native/jvmti/cacaodbg.c, src/native/jvmti/cacaodbg.h,
+ src/native/jvmti/jvmti.c, src/native/llni.h,
+ src/threads/Makefile.am, src/threads/lock-common.h, src/threads
+ /threads-common.c, src/threads/threads-common.h,
+ src/vm/builtintable.inc, src/vm/jit/alpha/linux/md-os.c,
+ src/vm/jit/arm/linux/md-os.c, src/vm/jit/intrp/asmpart.c,
+ src/vm/jit/intrp/dynamic-super.c, src/vm/jit/intrp/engine.c,
+ src/vm/jit/powerpc/darwin/md-os.c, src/vm/jit/powerpc/linux/md-os.c,
+ src/vm/jit/powerpc64/linux/md-os.c, src/vm/jit/s390/codegen.c,
+ src/vm/jit/s390/emit.c, src/vm/jit/s390/md.c, src/vm/jit/show.c,
+ src/vm/jit/stacktrace.c, src/vm/jit/x86_64/freebsd/md-os.c,
+ src/vm/jit/x86_64/linux/md-os.c: Fixed header includes.
+ [e852f2d0d4c4]
+
+ * src/cacaoh/Makefile.am:
+ * src/cacaoh/Makefile.am: Changed copyright.
+ [5974a060a410]
+
+2008-03-25 Peter Molnar <pm@complang.tuwien.ac.at>
+
+ * src/vm/jit/optimizing/ssa.h:
+ Dummy push for testing.
+ [484dcf446038]
+
+ * src/vm/jit/optimizing/ssa.h:
+ Dummy push for testing.
+ [177737032317]
+
+ * src/vm/jit/optimizing/ssa.h:
+ Dummy push for testing.
+ [119782e1ae60]
+
+ * src/vm/jit/optimizing/ssa.h:
+ Dummy push for testing.
+ [0a173b247580]
+
+2008-03-25 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/mm/cacao-gc/gc.c, src/mm/cacao-gc/mark.c, src/mm/cacao-
+ gc/rootset.c, src/threads/native/lock.c, src/threads/threadlist.c,
+ src/toolbox/list.c, src/toolbox/list.h, src/vm/assertion.c,
+ src/vm/jit/codegen-common.c, src/vm/jit/emit-common.c,
+ src/vm/jit/linenumbertable.c, src/vm/jit/optimizing/recompile.c,
+ src/vm/jit/patcher-common.c, src/vm/jit/s390/codegen.c,
+ src/vm/properties.c:
+ * src/toolbox/list.c (list_add_first_unsynced): Removed.
+ (list_add_last_unsynced): Likewise. (list_remove_unsynced):
+ Likewise. (list_first_unsynced): Likewise. (list_last_unsynced):
+ Likewise. (list_next_unsynced): Likewise. (list_prev_unsynced):
+ Likewise.
+ * src/toolbox/list.h: Likewise.
+
+ * src/mm/cacao-gc/gc.c, src/mm/cacao-gc/mark.c, src/mm/cacao-
+ gc/rootset.c, src/threads/native/lock.c, src/threads/threadlist.c,
+ src/vm/assertion.c, src/vm/jit/codegen-common.c, src/vm/jit/emit-
+ common.c, src/vm/jit/linenumbertable.c,
+ src/vm/jit/optimizing/recompile.c, src/vm/jit/patcher-common.c,
+ src/vm/jit/s390/codegen.c, src/vm/properties.c: Use normal list
+ functions instead of the unsynced ones.
+ [0795aaaa726c]
+
+2008-03-22 Peter Molnar <pm@complang.tuwien.ac.at>
+
+ * src/vm/jit/cfg.c:
+ * src/vm/jit/cfg.c (cfg_build): Fixed off by one in predecessorcount
+ for exception handler blocks. See #53.
+ [2065c6bdf8b7]
+
+2008-03-21 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * .hgignore, configure.ac, src/vm/array.c,
+ tests/regression/Makefile.am, tests/regression/bugzilla/All.java,
+ tests/regression/bugzilla/Makefile.am,
+ tests/regression/bugzilla/PR52.java:
+ Fixes PR52.
+ * src/vm/array.c (array_objectarray_element_set): Use
+ builtin_canstore.
+
+ * .hgignore (tests/regression/assertion/*.class)
+ (tests/regression/assertion/packagetest/*.class)
+ (tests/regression/bugzilla/*.class): Added.
+ * configure.ac (AC_CONFIG_FILES): Added
+ tests/regression/bugzilla/Makefile.
+ * tests/regression/Makefile.am (SUBDIRS): Added bugzilla.
+ * tests/regression/bugzilla/All.java: New file.
+ * tests/regression/bugzilla/Makefile.am: Likewise.
+ * tests/regression/bugzilla/PR52.java: Likewise.
+ [a5fe9a36676e]
+
+2008-03-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/native/vm/sun/jvm.c, src/vm/array.c:
+ * src/vm/array.c (array_length_get): Removed
+ IllegalArgumentException check for size.
+ * src/native/vm/sun/jvm.c (JVM_NewMultiArray): Explicitely check for
+ exceptions.
+ [c6ca807dc249]
+
+ * src/native/vm/gnu/java_lang_reflect_Field.c,
+ src/native/vm/java_lang_reflect_Constructor.c,
+ src/native/vm/java_lang_reflect_Method.c, src/vm/access.c,
+ src/vm/access.h:
+ * src/vm/access.c (access_check_field): Changed signature, use
+ stacktrace_get_caller_class. (access_check_method): Likewise.
+ * src/vm/access.h: Likewise.
+ * src/native/vm/gnu/java_lang_reflect_Field.c (_field_access_check):
+ Adapted access_check_field call.
+ * src/native/vm/java_lang_reflect_Constructor.c (newInstance):
+ Likewise.
+ * src/native/vm/java_lang_reflect_Method.c (invoke): Likewise.
+ [b4a54e5c1918]
+
+ * src/vm/array.c:
+ * src/vm/array.c (array_element_get): Do a null-pointer check.
+ (array_element_primitive_get): Likewise.
+ (array_element_primitive_set): Likewise.
+ (array_objectarray_element_set): Check if the object can be stored
+ in the array.
+ [5054ec21e133]
+
+ * src/native/vm/sun/jvm.c:
+ * src/native/vm/sun/jvm.c (JVM_NewArray): Check for error on
+ primitive_arrayclass_get_by_name. (JVM_NewMultiArray): Check for
+ error on array_length_get.
+ [7d1278cb4b5c]
+
+ * src/vm/array.c:
+ * src/vm/array.c (array_##name##array_element_get): Fixed
+ ArrayIndexOutOfBoundsException check.
+ (array_objectarray_element_get): Likewise.
+ (array_##name##array_element_set): Likewise.
+ (array_objectarray_element_set): Likewise.
+ [8dd39f5428c8]
+
+ * src/vm/array.c:
+ * src/vm/array.c (array_length_get): Check length and thrown an
+ exception in case.
+ [73b479b0dc93]
+
+ * src/vm/primitive.c:
+ * src/vm/primitive.c (primitive_unbox): Check for NULL values.
+ [868526f93774]
+
+ * src/native/vm/gnu/gnu_classpath_VMStackWalker.c,
+ src/native/vm/sun/jvm.c, src/vm/jit/stacktrace.c,
+ src/vm/jit/stacktrace.h, src/vm/vm.c, src/vmcore/method.c,
+ src/vmcore/method.h, src/vmcore/utf8.c, src/vmcore/utf8.h:
+ * src/vm/jit/stacktrace.c [ENABLE_JAVASE]
+ (stacktrace_get_caller_class): New function.
+ * src/vm/jit/stacktrace.h: Likewise.
+
+ * src/native/vm/gnu/gnu_classpath_VMStackWalker.c (getCallingClass):
+ Use stacktrace_get_caller_class. (getCallingClassLoader): Likewise.
+ (firstNonNullClassLoader): Use stacktrace_first_nonnull_classloader.
+
+ * src/native/vm/sun/jvm.c (JVM_GetCallerClass): Use
+ stacktrace_get_caller_class.
+
+ * src/vm/vm.c (vm_create): Call method_init.
+
+ * src/vmcore/method.c (method_java_lang_reflect_Method_invoke): New
+ global variable. (method_init): New function.
+ * src/vmcore/method.h: Likewise.
+
+ * src/vmcore/utf8.c (utf_invoke): New global variable.
+ * src/vmcore/utf8.h: Likewise.
+ [fd282c9caa0b]
+
+ * src/vm/jit/trace.c:
+ * src/vm/jit/trace.c (trace_java_call_print_argument): Pass
+ methodinfo, added sun.misc.Unsafe check. (trace_java_call_enter,
+ trace_java_call_exit): Pass methodinfo to
+ trace_java_call_print_argument.
+ [b6cdad87ff4c]
+
+ * src/native/vm/sun_misc_Unsafe.c:
+ * src/native/vm/sun_misc_Unsafe.c (putIntVolatile): Implemented.
+ (putLongVolatile): Likewise. (putOrderedObject): Likewise.
+ (putOrderedInt): Likewise. (putOrderedLong): Likewise.
+ (UNSAFE_GET_VOLATILE): Added macro. (UNSAFE_PUT_VOLATILE): Likewise.
+ (getIntVolatile): Use UNSAFE_GET_VOLATILE. (getLongVolatile
+ [10f08de2a96c]
+
+ * src/vm/jit/trace.c:
+ * src/vm/jit/trace.c (trace_java_call_exit): Workaround for
+ sun.misc.Unsafe.staticFieldBase().
+ [08b89131a6f0]
+
+2008-03-19 Peter Molnar <pm@complang.tuwien.ac.at>
+
+ * src/lib/Makefile.am,
+ src/lib/cldc1.1/com/sun/cldchi/jvm/FileDescriptor.java,
+ src/lib/gnu/gnu/classpath/VMStackWalker.java,
+ src/lib/gnu/gnu/classpath/VMSystemProperties.java,
+ src/lib/gnu/gnu/java/lang/management/VMMemoryMXBeanImpl.java,
+ src/lib/gnu/gnu/java/lang/management/VMRuntimeMXBeanImpl.java,
+ src/lib/gnu/java/lang/VMClassLoader.java,
+ src/lib/gnu/java/lang/VMString.java,
+ src/lib/gnu/java/lang/VMThread.java,
+ src/lib/gnu/java/lang/VMThrowable.java,
+ src/lib/gnu/java/lang/reflect/Constructor.java,
+ src/lib/gnu/java/lang/reflect/Field.java,
+ src/lib/gnu/java/lang/reflect/Method.java,
+ src/lib/gnu/java/security/VMAccessController.java,
+ src/lib/gnu/sun/misc/Unsafe.java,
+ src/lib/gnu/sun/reflect/ConstantPool.java,
+ src/lib/gnu/sun/reflect/annotation/AnnotationParser.java,
+ src/lib/gnu/sun/reflect/annotation/AnnotationType.java, src/lib/gnu/
+ sun/reflect/annotation/AnnotationTypeMismatchExceptionProxy.java, sr
+ c/lib/gnu/sun/reflect/annotation/EnumConstantNotPresentExceptionProx
+ y.java, src/lib/gnu/sun/reflect/annotation/ExceptionProxy.java, src/
+ lib/gnu/sun/reflect/annotation/TypeNotPresentExceptionProxy.java,
+ src/native/vm/java_lang_Thread.c, src/native/vm/java_lang_Thread.h,
+ tests/threadInterrupt.java:
+ Merging 7971:887db7d64bc9 with 7970:21b063622472.
+ [d870367cbe49]
+
+ * src/vm/jit/cfg.c, src/vm/jit/jit.c, src/vm/jit/optimizing/ssa3.c,
+ src/vm/jit/stack.c:
+ * src/vm/jit/cfg.c (cfg_build): Support for strange basicblocks,
+ where an IF can be followed by a NOP and GOTO.
+ * src/vm/jit/jit.c (jit_compile_intern) [ENABLE_SSA]: Adapted for
+ changes.
+ * src/vm/jit/optimizing/ssa3.c: Changed a lot.
+ * src/vm/jit/stack.c (stack_reach_next_block) [STACK_VERBOSE]: More
+ verbosity to identify basicblocks where an IF can be followed by a
+ GOTO.
+ [887db7d64bc9]
+
+2008-03-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/threads/native/generic-primitives.h, src/vm/jit/alpha/machine-
+ instr.h, src/vm/jit/arm/machine-instr.h, src/vm/jit/i386/machine-
+ instr.h, src/vm/jit/m68k/machine-instr.h, src/vm/jit/mips/machine-
+ instr.h, src/vm/jit/powerpc/machine-instr.h, src/vm/jit/powerpc64
+ /machine-instr.h, src/vm/jit/s390/machine-instr.h,
+ src/vm/jit/sparc64/machine-instr.h, src/vm/jit/x86_64/machine-
+ instr.h:
+ * src/threads/native/generic-primitives.h
+ (MEMORY_BARRIER_BEFORE_ATOMIC): Removed.
+ * src/vm/jit/alpha/machine-instr.h, src/vm/jit/arm/machine-instr.h,
+ src/vm/jit/i386/machine-instr.h, src/vm/jit/m68k/machine-instr.h,
+ src/vm/jit/mips/machine-instr.h, src/vm/jit/powerpc/machine-instr.h,
+ src/vm/jit/powerpc64/machine-instr.h, src/vm/jit/s390/machine-
+ instr.h, src/vm/jit/sparc64/machine-instr.h, src/vm/jit/x86_64
+ /machine-instr.h: Likewise.
+ [21b063622472]
+
+ * src/native/vm/sun_misc_Unsafe.c:
+ * src/native/vm/sun_misc_Unsafe.c (setMemory): Fixed compiler
+ warning on 32-bit architectures. (copyMemory): Likewise.
+ [a7e35749c949]
+
+ * src/threads/native/generic-primitives.h,
+ src/threads/native/threads.c, src/vm/jit/alpha/machine-instr.h,
+ src/vm/jit/arm/machine-instr.h, src/vm/jit/i386/machine-instr.h,
+ src/vm/jit/mips/machine-instr.h, src/vm/jit/powerpc/machine-instr.h,
+ src/vm/jit/s390/machine-instr.h, src/vm/jit/sparc64/machine-instr.h,
+ src/vm/jit/x86_64/machine-instr.h:
+ * src/threads/native/generic-primitives.h (atomic_add): Removed.
+ * src/threads/native/threads.c [USE_FAKE_ATOMIC_INSTRUCTIONS]
+ (_atomic_add_lock): Removed.
+ * src/vm/jit/alpha/machine-instr.h (atomic_add): Removed.
+ * src/vm/jit/arm/machine-instr.h, src/vm/jit/i386/machine-instr.h,
+ src/vm/jit/mips/machine-instr.h, src/vm/jit/powerpc/machine-instr.h,
+ src/vm/jit/s390/machine-instr.h, src/vm/jit/sparc64/machine-instr.h,
+ src/vm/jit/x86_64/machine-instr.h: Likewise.
+ [c2f69cf3790e]
+
+2008-03-18 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/native/vm/gnu/java_lang_VMThread.c, src/native/vm/sun/jvm.c:
+ * src/native/vm/gnu/java_lang_VMThread.c (interrupt): Use
+ thread_get_thread. (isInterrupted): Likewise. (nativeSetPriority):
+ Likewise. (getState): Likewise.
+ * src/native/vm/sun/jvm.c (threads/threadlist.h): Removed.
+ (JVM_IsThreadAlive): Use thread_get_thread. (JVM_SetThreadPriority):
+ Likewise. (JVM_Interrupt): Implemented. (JVM_IsInterrupted): Use
+ thread_get_thread.
+ [056edaebc79b]
+
+ * src/threads/threads-common.c, src/threads/threads-common.h:
+ * src/threads/threads-common.c (thread_get_thread): New function.
+ * src/threads/threads-common.h: Likewise.
+ [ae7763ff1c13]
+
+ * src/classes/gnu/sun/misc/Unsafe.java,
+ src/native/vm/sun_misc_Unsafe.c:
+ * src/classes/gnu/sun/misc/Unsafe.java: Imported the OpenJDK 6
+ version.
+ * src/native/vm/sun_misc_Unsafe.c (vmcore/system.h): Added.
+ (setMemory, copyMemory): Changed to be OpenJDK 6 compatible.
+ [162965872cfb]
+
+ * contrib/setenvinstalled.in, contrib/setenvsource.in:
+ * contrib/setenvinstalled.in: Updated BOOTCLASSPATH.
+ * contrib/setenvsource.in: Likewise.
+ [ccd8958ff259]
+
+ * .hgignore:
+ * .hgignore: Removed src/lib/classes/ and src/lib/vm.zip, added
+ src/classes/classes/ and src/classes/vm.zip.
+ [3b80e57be422]
+
+ * configure.ac, m4/classpath.m4, src/Makefile.am,
+ src/classes/Makefile.am,
+ src/classes/cldc1.1/com/sun/cldchi/jvm/FileDescriptor.java,
+ src/classes/gnu/gnu/classpath/VMStackWalker.java,
+ src/classes/gnu/gnu/classpath/VMSystemProperties.java,
+ src/classes/gnu/gnu/java/lang/management/VMMemoryMXBeanImpl.java,
+ src/classes/gnu/gnu/java/lang/management/VMRuntimeMXBeanImpl.java,
+ src/classes/gnu/java/lang/VMClassLoader.java,
+ src/classes/gnu/java/lang/VMString.java,
+ src/classes/gnu/java/lang/VMThread.java,
+ src/classes/gnu/java/lang/reflect/Constructor.java,
+ src/classes/gnu/java/lang/reflect/Field.java,
+ src/classes/gnu/java/lang/reflect/Method.java,
+ src/classes/gnu/java/security/VMAccessController.java,
+ src/classes/gnu/sun/misc/Unsafe.java,
+ src/classes/gnu/sun/reflect/ConstantPool.java,
+ src/classes/gnu/sun/reflect/annotation/AnnotationParser.java,
+ src/classes/gnu/sun/reflect/annotation/AnnotationType.java, src/clas
+ ses/gnu/sun/reflect/annotation/AnnotationTypeMismatchExceptionProxy.
+ java, src/classes/gnu/sun/reflect/annotation/EnumConstantNotPresentE
+ xceptionProxy.java,
+ src/classes/gnu/sun/reflect/annotation/ExceptionProxy.java, src/clas
+ ses/gnu/sun/reflect/annotation/TypeNotPresentExceptionProxy.java,
+ src/lib/Makefile.am,
+ src/lib/cldc1.1/com/sun/cldchi/jvm/FileDescriptor.java,
+ src/lib/gnu/gnu/classpath/VMStackWalker.java,
+ src/lib/gnu/gnu/classpath/VMSystemProperties.java,
+ src/lib/gnu/gnu/java/lang/management/VMMemoryMXBeanImpl.java,
+ src/lib/gnu/gnu/java/lang/management/VMRuntimeMXBeanImpl.java,
+ src/lib/gnu/java/lang/VMClassLoader.java,
+ src/lib/gnu/java/lang/VMString.java,
+ src/lib/gnu/java/lang/VMThread.java,
+ src/lib/gnu/java/lang/reflect/Constructor.java,
+ src/lib/gnu/java/lang/reflect/Field.java,
+ src/lib/gnu/java/lang/reflect/Method.java,
+ src/lib/gnu/java/security/VMAccessController.java,
+ src/lib/gnu/sun/misc/Unsafe.java,
+ src/lib/gnu/sun/reflect/ConstantPool.java,
+ src/lib/gnu/sun/reflect/annotation/AnnotationParser.java,
+ src/lib/gnu/sun/reflect/annotation/AnnotationType.java, src/lib/gnu/
+ sun/reflect/annotation/AnnotationTypeMismatchExceptionProxy.java, sr
+ c/lib/gnu/sun/reflect/annotation/EnumConstantNotPresentExceptionProx
+ y.java, src/lib/gnu/sun/reflect/annotation/ExceptionProxy.java, src/
+ lib/gnu/sun/reflect/annotation/TypeNotPresentExceptionProxy.java,
+ src/native/include/Makefile.am:
+ * configure.ac (AC_CONFIG_FILES): Removed src/lib/Makefile, added
+ src/classes/Makefile.
+ * m4/classpath.m4 (AC_CHECK_WITH_CLASSPATH_CLASSES): Fixed
+ BOOTCLASSPATH.
+ * src/Makefile.am (DIST_SUBDIRS): Removed lib, added classes.
+ (SUBDIRS): Likewise.
+
+ * src/classes/Makefile.am,
+ src/classes/cldc1.1/com/sun/cldchi/jvm/FileDescriptor.java,
+ src/classes/gnu/gnu/classpath/VMStackWalker.java,
+ src/classes/gnu/gnu/classpath/VMSystemProperties.java,
+ src/classes/gnu/gnu/java/lang/management/VMMemoryMXBeanImpl.java,
+ src/classes/gnu/gnu/java/lang/management/VMRuntimeMXBeanImpl.java,
+ src/classes/gnu/java/lang/VMClassLoader.java,
+ src/classes/gnu/java/lang/VMString.java,
+ src/classes/gnu/java/lang/VMThread.java,
+ src/classes/gnu/java/lang/reflect/Constructor.java,
+ src/classes/gnu/java/lang/reflect/Field.java,
+ src/classes/gnu/java/lang/reflect/Method.java,
+ src/classes/gnu/java/security/VMAccessController.java,
+ src/classes/gnu/sun/misc/Unsafe.java,
+ src/classes/gnu/sun/reflect/ConstantPool.java,
+ src/classes/gnu/sun/reflect/annotation/AnnotationParser.java,
+ src/classes/gnu/sun/reflect/annotation/AnnotationType.java, src/clas
+ ses/gnu/sun/reflect/annotation/AnnotationTypeMismatchExceptionProxy.
+ java, src/classes/gnu/sun/reflect/annotation/EnumConstantNotPresentE
+ xceptionProxy.java,
+ src/classes/gnu/sun/reflect/annotation/ExceptionProxy.java, src/clas
+ ses/gnu/sun/reflect/annotation/TypeNotPresentExceptionProxy.java,
+ src/native/include/Makefile.am: Moved from lib.
+
+ * src/lib/Makefile.am,
+ src/lib/cldc1.1/com/sun/cldchi/jvm/FileDescriptor.java,
+ src/lib/gnu/gnu/classpath/VMStackWalker.java,
+ src/lib/gnu/gnu/classpath/VMSystemProperties.java,
+ src/lib/gnu/gnu/java/lang/management/VMMemoryMXBeanImpl.java,
+ src/lib/gnu/gnu/java/lang/management/VMRuntimeMXBeanImpl.java,
+ src/lib/gnu/java/lang/VMClassLoader.java,
+ src/lib/gnu/java/lang/VMString.java,
+ src/lib/gnu/java/lang/VMThread.java,
+ src/lib/gnu/java/lang/reflect/Constructor.java,
+ src/lib/gnu/java/lang/reflect/Field.java,
+ src/lib/gnu/java/lang/reflect/Method.java,
+ src/lib/gnu/java/security/VMAccessController.java,
+ src/lib/gnu/sun/misc/Unsafe.java,
+ src/lib/gnu/sun/reflect/ConstantPool.java,
+ src/lib/gnu/sun/reflect/annotation/AnnotationParser.java,
+ src/lib/gnu/sun/reflect/annotation/AnnotationType.java, src/lib/gnu/
+ sun/reflect/annotation/AnnotationTypeMismatchExceptionProxy.java, sr
+ c/lib/gnu/sun/reflect/annotation/EnumConstantNotPresentExceptionProx
+ y.java, src/lib/gnu/sun/reflect/annotation/ExceptionProxy.java, src/
+ lib/gnu/sun/reflect/annotation/TypeNotPresentExceptionProxy.java:
+ Moved to lib.
+ [79be8092620d]
+
+ * m4/classpath.m4, tests/regression/Makefile.am,
+ tests/regression/assertion/Makefile.am,
+ tests/regression/codepatching/Makefile.am,
+ tests/regression/jasmin/Makefile.am,
+ tests/regression/native/Makefile.am,
+ tests/regression/resolving/Makefile.am:
+ * m4/classpath.m4 (AC_CHECK_WITH_CLASSPATH_CLASSES): Set
+ BOOTCLASSPATH for Makefiles.
+ * tests/regression/Makefile.am,
+ tests/regression/assertion/Makefile.am,
+ tests/regression/codepatching/Makefile.am,
+ tests/regression/jasmin/Makefile.am,
+ tests/regression/native/Makefile.am,
+ tests/regression/resolving/Makefile.am (BOOTCLASSPATH): Removed.
+ [c8c412f3563d]
+
+2008-03-17 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/vm/jit/stacktrace.c:
+ * Merged with 60f051a3c5ae.
+ [66c52d0ae7d3]
+
+ * * Merged with b78ab2bd233a.
+ [60f051a3c5ae]
+
+ * src/vm/jit/m68k/md.h:
+ * src/vm/jit/m68k/md.h: Replaced codegen_get_pv_from_pc with
+ methodtree_find.
+ [17f63c532b66]
+
+ * src/vm/jit/intrp/asmpart.c:
+ * src/vm/jit/intrp/asmpart.c: Replaced codegen_get_pv_from_pc with
+ methodtree_find.
+ [b78ab2bd233a]
+
+ * src/vm/jit/s390/md.c, src/vm/jit/s390/md.h:
+ * src/vm/jit/s390/md.c: Replaced codegen_get_pv_from_pc with
+ methodtree_find.
+ * src/vm/jit/s390/md.h: Likewise.
+ [ba13719a1aab]
+
+ * src/vm/jit/methodtree.c:
+ * src/vm/jit/methodtree.c (threads/threads-common.h): Added.
+ (methodtree_find): Removed unnecessary assert.
+ [929aa234977f]
+
+ * src/vm/jit/i386/asmpart.S, src/vm/jit/i386/cygwin/md-asm.h,
+ src/vm/jit/i386/darwin/md-asm.h, src/vm/jit/i386/md.h:
+ * src/vm/jit/i386/asmpart.S: Replaced codegen_get_pv_from_pc with
+ methodtree_find.
+ * src/vm/jit/i386/cygwin/md-asm.h src/vm/jit/i386/darwin/md-asm.h,
+ src/vm/jit/i386/md.h: Likewise.
+ [726425cd358a]
+
+2008-03-13 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/vm/jit/Makefile.am, src/vm/jit/code.c, src/vm/jit/codegen-
+ common.c, src/vm/jit/codegen-common.h, src/vm/jit/methodtree.c,
+ src/vm/jit/methodtree.h, src/vm/jit/optimizing/profile.c,
+ src/vm/jit/stacktrace.c, src/vm/jit/x86_64/asmpart.S,
+ src/vm/jit/x86_64/md.h, src/vm/signal.c, src/vm/vm.c:
+ * src/vm/jit/methodtree.c: New file.
+ * src/vm/jit/methodtree.h: Likewise.
+ * src/vm/jit/Makefile.am (libjit_la_SOURCES): Added methodtree.[ch].
+
+ * src/vm/jit/codegen-common.c (methodtree): Removed. (codegen_init):
+ Removed methodtree stuff. (methodtree_comparator): Removed.
+ (codegen_insertmethod): Likewise. (codegen_get_pv_from_pc):
+ Likewise. (codegen_get_pv_from_pc_nocheck): Likewise.
+ (codegen_finish): Call methodtree_insert.
+ * src/vm/jit/codegen-common.h (methodtree_element): Removed.
+ (codegen_insertmethod): Likewise. (codegen_get_pv_from_pc):
+ Likewise. (codegen_get_pv_from_pc_nocheck): Likewise.
+
+ * src/vm/vm.c (vm_create): Call methodtree_init.
+
+ * src/vm/jit/code.c, src/vm/jit/optimizing/profile.c,
+ src/vm/jit/stacktrace.c, src/vm/jit/x86_64/asmpart.S,
+ src/vm/jit/x86_64/md.h, src/vm/signal.c: Replaced
+ codegen_get_pv_from_pc* with methodtree_find*.
+ [414c5fa5f01e]
+
+ * src/vm/jit/inline/inline.c, src/vm/jit/inline/inline_debug.inc:
+ * src/vm/jit/inline/inline.c (inline_add_blocknr_reference):
+ Commented as it's not used and produces a compiler warning.
+ * src/vm/jit/inline/inline_debug.inc (debug_dump_inline_context):
+ Likewise.
+ [9c8901fcff0a]
+
+ * src/lib/Makefile.am, src/lib/gnu/java/lang/VMThrowable.java,
+ src/native/vm/gnu/java_lang_VMThrowable.c, src/vm/jit/stacktrace.c:
+ * src/lib/gnu/java/lang/VMThrowable.java: Removed, as the local
+ changes made years ago are not necessary.
+ * src/lib/Makefile.am (VM_JAVA_FILES_GNU): Removed
+ gnu/java/lang/VMThrowable.java.
+
+ * src/native/vm/gnu/java_lang_VMThrowable.c (fillInStackTrace): Use
+ vmdata instead of vmData. (getStackTrace): Likewise.
+ * src/vm/jit/stacktrace.c (stacktrace_print_exception)
+ [WITH_CLASSPATH_GNU]: Likewise.
+ [ac9fca996d5e]
+
+ * src/threads/native/threads.c:
+ * src/threads/native/threads.c (threads_detach_thread): Fixed
+ compiler warning.
+ [2f60b3f9a1da]
+
+ * src/vm/jit/alpha/linux/md-os.c:
+ * src/vm/jit/alpha/linux/md-os.c (md_replace_executionstate_read):
+ Renamed to md_executionstate_read.
+ (md_replace_executionstate_write): Renamed to
+ md_executionstate_write.
+ [190dab35c7f0]
+
+ * src/vm/jit/x86_64/linux/md-os.c:
+ * src/vm/jit/x86_64/linux/md-os.c (md_replace_executionstate_read):
+ Renamed to md_executionstate_read.
+ (md_replace_executionstate_write): Renamed to
+ md_executionstate_write.
+ [28eb425cbf17]
+
+ * src/vm/jit/executionstate.c, src/vm/jit/executionstate.h:
+ * src/vm/jit/executionstate.c: Fixed file comment.
+ * src/vm/jit/executionstate.h: Fixed copyright.
+ [d044bbdb3010]
+
+ * src/vm/jit/Makefile.am, src/vm/jit/executionstate.c,
+ src/vm/jit/executionstate.h, src/vm/jit/i386/linux/md-os.c,
+ src/vm/jit/replace.c, src/vm/jit/replace.h:
+ * src/vm/jit/executionstate.c: New file.
+ * src/vm/jit/executionstate.h: Likewise.
+ * src/vm/jit/Makefile.am (libjit_la_SOURCES): Added
+ executionstate.[ch].
+
+ * src/vm/jit/replace.c (replace_executionstate_println): Moved to
+ executionstate.[ch]. (replace_sanity_check_read_write): Likewise.
+ * src/vm/jit/replace.h (executionstate_t): Likwise.
+ (replace_executionstate_println): Likewise.
+ (md_replace_executionstate_read): Likewise.
+ (md_replace_executionstate_write): Likewise.
+
+ * src/vm/jit/i386/linux/md-os.c (md_replace_executionstate_read):
+ Renamed to md_executionstate_read.
+ (md_replace_executionstate_write): Renamed to
+ md_executionstate_write.
+ [015609f9c237]
+
+ * src/vm/jit/alpha/codegen.c:
+ * src/vm/jit/alpha/codegen.c (codegen_emit): Added thread unsafe
comments.
+ [fe0f7708d735]
+
+ * src/threads/none/threads.h, src/threads/threads-common.h:
+ * src/threads/none/threads.h (threads_get_current_object): Changed
+ return type to java_handle_t.
+ * src/threads/threads-common.h: Likewise.
+ [ba1986e7117c]
+
+ * src/native/vm/sun/jvm.c:
+ * src/native/vm/sun/jvm.c (TRACEJVMCALLS): Changed to normal macro
+ instead of a variadic one.
+ [ac949484e6cd]
+
+ * src/native/vm/sun/jvm.c:
+ * src/native/vm/sun/jvm.c (PRINTJVMWARNINGS): Changed to normal
+ macro instead of variadic. (JVM_GetStackTraceDepth): Fixed compiler
+ warning. (JVM_GetStackTraceElement): Likewise. (JVM_IsThreadAlive):
+ Likewise.
+ [4a49aeff7fd7]
-2006-04-21 00:00 edwin
-
- * src/vm/linker.c (link_class_intern): Impose loading constraints on
- the
- more general types of the overwritten method, instead of on the over-
- writing method. Don't impose loading constraints when "overwriting"
- the
- instance initializaton method <init>, as it is not called virtually.
-
-2006-04-20 22:28 edwin
-
- * src/vm/classcache.c (classcache_add_constraint): Also constrain the
- return type of the given method.
-
-2006-04-20 21:47 edwin
-
- * src/vm/linker.c (linker_addinterface): Add loading constraints when
- an
- interface method is overwritten.
- (link_class_intern): Check new return value of linker_addinterface.
-
-2006-04-20 20:40 edwin
-
- * src/vm/linker.c (link_class_intern): Only record loading constraints
- for ENABLE_VERIFIER.
-
-2006-04-20 20:38 edwin
-
- * src/vm/classcache.c (classcache_add_constraints_for_params): Added.
- (classcache_add_constraint): Only define for ENABLE_VERIFIER.
-
- * src/vm/classcache.h (classcache_add_constraints_for_params): Added.
- (classcache_add_constraint): Only define for ENABLE_VERIFIER.
-
- * src/vm/linker.c (link_class_intern): When overwriting a method,
- record loading constraints for the parameter types, as required
- by the spec.
-
-2006-04-20 19:18 edwin
-
- * src/mm/memory.c (Changes): Added my name.
- (vim boilerplate): Added.
-
-2006-04-20 18:59 edwin
-
- * src/mm/memory.c: Added comments and some cleanup.
+ * src/native/localref.c:
+ * src/native/localref.c [!NDEBUG] (localref_check_uncleared): Fixed
+ compiler warning.
+ [4126ae263bbd]
+
+2008-03-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/cacaoh/dummy.c, src/vm/jit/code.c, src/vm/jit/code.h,
+ src/vm/jit_interface.h, src/vmcore/method.c:
+ * src/vm/jit/code.c (code_find_codeinfo_for_pc): Use void* instead
+ of u1*. (code_find_codeinfo_for_pc_nocheck): Likewise.
+ (code_get_methodinfo_for_pv): Likewise.
+ * src/vm/jit/code.h: Likewise.
+ * src/cacaoh/dummy.c (vm/jit/code.h): Added.
+ (code_get_methodinfo_for_pv): Likewise.
+ * src/vm/jit_interface.h (code_get_methodinfo_for_pv): Removed.
+ * src/vmcore/method.c (vm/jit/code.h): Added.
+ [a2f65e9ce093]
+
+ * src/native/jni.c:
+ * src/native/jni.c (_Jv_JNI_GetDirectBufferAddress): Fixed compiler
+ warnings.
+ [42e52f1166c9]
-2006-04-20 18:04 edwin
+ * src/threads/none/threads.h, src/threads/threads-common.c,
+ src/threads/threads-common.h, src/vm/jit/stacktrace.c,
+ src/vm/jit/stacktrace.h:
+ * src/threads/none/threads.h (threads_get_current_object): New
+ function. (threads_get_current_stackframeinfo): Fixed name to
+ threads_set_current_stackframeinfo.
- * configure.ac (ENABLE_LOOP): Changed default to "no".
-
- * src/vm/options.h (opt_loops): Only define for ENABLE_LOOP.
-
- * src/vm/options.c (opt_loops): Only define for ENABLE_LOOP.
-
- * src/vm/vm.c (-oloop, -i): Only recognize these options if
- enabled with ENABLE_LOOP/ENABLE_INLINING.
-
- * src/vm/jit/allocator/lsra.c (opt_loops): Only use for ENABLE_LOOP.
+ * src/threads/threads-common.c (threads_get_current_object):
+ Removed.
+ * src/threads/threads-common.h (threads_get_current_object): New
+ function. (threads_get_current_object): Removed.
+
+ * src/vm/jit/stacktrace.c: Small fix.
+ * src/vm/jit/stacktrace.h [!ENABLE_THREADS]
+ (_no_threads_stackframeinfo): Added.
+ [2b9f0242d4f6]
+
+ * src/native/vm/reflect.c:
+ * src/native/vm/reflect.c (reflect_field_new): Fixed compiler
+ warnings. (reflect_method_new): Likewise.
+ [c71069a7c75a]
+
+ * src/vm/jit/code.c, src/vm/jit/code.h, src/vm/vm.c:
+ * src/vm/jit/code.c (code_init): Changed signature, use vm_abort
+ instead of assert.
+ * src/vm/jit/code.h (code_init): Change signature.
+ * src/vm/vm.c (vm_create): Call code_init.
+ [9f0c6db8a687]
+
+2008-03-12 Stefan Ring <stefan@complang.tuwien.ac.at>
+
+ * src/threads/native/threads.c:
+ Oh no, it worketh!
+
+ * src/threads/native/threads.c: Include Boehm header on Darwin.
+ [ac7444e86ffc]
+
+2008-03-11 Stefan Ring <stefan@complang.tuwien.ac.at>
+
+ * configure.ac, src/mm/boehm-gc/AmigaOS.c, src/mm/boehm-
+ gc/BCC_MAKEFILE, src/mm/boehm-gc/ChangeLog, src/mm/boehm-
+ gc/EMX_MAKEFILE, src/mm/boehm-gc/MacOS.c, src/mm/boehm-
+ gc/Makefile.am, src/mm/boehm-gc/Makefile.direct, src/mm/boehm-
+ gc/Makefile.dj, src/mm/boehm-gc/NT_MAKEFILE, src/mm/boehm-
+ gc/NT_STATIC_THREADS_MAKEFILE, src/mm/boehm-gc/NT_THREADS_MAKEFILE,
+ src/mm/boehm-gc/NT_X64_STATIC_THREADS_MAKEFILE, src/mm/boehm-
+ gc/OS2_MAKEFILE, src/mm/boehm-gc/PCR-Makefile, src/mm/boehm-
+ gc/README.QUICK, src/mm/boehm-gc/SMakefile.amiga, src/mm/boehm-
+ gc/WCC_MAKEFILE, src/mm/boehm-gc/allchblk.c, src/mm/boehm-
+ gc/alloc.c, src/mm/boehm-gc/autogen.sh, src/mm/boehm-gc/backgraph.c,
+ src/mm/boehm-gc/bdw-gc.pc.in, src/mm/boehm-gc/blacklst.c, src/mm
+ /boehm-gc/callprocs, src/mm/boehm-gc/checksums.c, src/mm/boehm-
+ gc/configure.ac, src/mm/boehm-gc/configure.in, src/mm/boehm-
+ gc/configure_atomic_ops.sh, src/mm/boehm-gc/cord/cord.am, src/mm
+ /boehm-gc/cord/de_win.ICO, src/mm/boehm-gc/cord/de_win.c, src/mm
+ /boehm-gc/darwin_stop_world.c, src/mm/boehm-gc/dbg_mlc.c, src/mm
+ /boehm-gc/digimars.mak, src/mm/boehm-gc/doc/Makefile.am, src/mm
+ /boehm-gc/doc/README, src/mm/boehm-gc/doc/README.Mac, src/mm/boehm-
+ gc/doc/README.changes, src/mm/boehm-gc/doc/README.darwin, src/mm
+ /boehm-gc/doc/README.environment, src/mm/boehm-gc/doc/README.linux,
+ src/mm/boehm-gc/doc/README.macros, src/mm/boehm-
+ gc/doc/README.solaris2, src/mm/boehm-gc/doc/README.win32, src/mm
+ /boehm-gc/doc/README.win64, src/mm/boehm-gc/doc/doc.am, src/mm
+ /boehm-gc/doc/gcdescr.html, src/mm/boehm-gc/doc/gcinterface.html,
+ src/mm/boehm-gc/doc/leak.html, src/mm/boehm-gc/doc/overview.html,
+ src/mm/boehm-gc/doc/porting.html, src/mm/boehm-gc/dyn_load.c, src/mm
+ /boehm-gc/finalize.c, src/mm/boehm-gc/gc.mak, src/mm/boehm-
+ gc/gc_cpp.cc, src/mm/boehm-gc/gc_dlopen.c, src/mm/boehm-
+ gc/gcc_support.c, src/mm/boehm-gc/gcj_mlc.c, src/mm/boehm-
+ gc/headers.c, src/mm/boehm-gc/if_mach.c, src/mm/boehm-
+ gc/if_not_there.c, src/mm/boehm-gc/include/Makefile.am, src/mm
+ /boehm-gc/include/gc.h, src/mm/boehm-gc/include/gc_alloc.h, src/mm
+ /boehm-gc/include/gc_allocator.h, src/mm/boehm-
+ gc/include/gc_config_macros.h, src/mm/boehm-gc/include/gc_cpp.h,
+ src/mm/boehm-gc/include/gc_gcj.h, src/mm/boehm-gc/include/gc_inl.h,
+ src/mm/boehm-gc/include/gc_inline.h, src/mm/boehm-
+ gc/include/gc_local_alloc.h, src/mm/boehm-gc/include/gc_mark.h,
+ src/mm/boehm-gc/include/gc_pthread_redirects.h, src/mm/boehm-
+ gc/include/gc_tiny_fl.h, src/mm/boehm-gc/include/gc_typed.h, src/mm
+ /boehm-gc/include/include.am, src/mm/boehm-
+ gc/include/new_gc_alloc.h, src/mm/boehm-
+ gc/include/private/dbg_mlc.h, src/mm/boehm-
+ gc/include/private/gc_hdrs.h, src/mm/boehm-
+ gc/include/private/gc_locks.h, src/mm/boehm-
+ gc/include/private/gc_pmark.h, src/mm/boehm-
+ gc/include/private/gc_priv.h, src/mm/boehm-
+ gc/include/private/gcconfig.h, src/mm/boehm-
+ gc/include/private/msvc_dbg.h, src/mm/boehm-
+ gc/include/private/pthread_support.h, src/mm/boehm-
+ gc/include/private/solaris_threads.h, src/mm/boehm-
+ gc/include/private/specific.h, src/mm/boehm-
+ gc/include/private/thread_local_alloc.h, src/mm/boehm-
+ gc/libatomic_ops-1.2/AUTHORS, src/mm/boehm-
+ gc/libatomic_ops-1.2/COPYING, src/mm/boehm-
+ gc/libatomic_ops-1.2/ChangeLog, src/mm/boehm-
+ gc/libatomic_ops-1.2/INSTALL, src/mm/boehm-
+ gc/libatomic_ops-1.2/Makefile.am, src/mm/boehm-
+ gc/libatomic_ops-1.2/NEWS, src/mm/boehm-gc/libatomic_ops-1.2/README,
+ src/mm/boehm-gc/libatomic_ops-1.2/autogen.sh, src/mm/boehm-
+ gc/libatomic_ops-1.2/configure.ac, src/mm/boehm-
+ gc/libatomic_ops-1.2/doc/COPYING, src/mm/boehm-
+ gc/libatomic_ops-1.2/doc/LICENSING.txt, src/mm/boehm-
+ gc/libatomic_ops-1.2/doc/Makefile.am, src/mm/boehm-
+ gc/libatomic_ops-1.2/doc/README.txt, src/mm/boehm-
+ gc/libatomic_ops-1.2/doc/README_malloc.txt, src/mm/boehm-
+ gc/libatomic_ops-1.2/doc/README_stack.txt, src/mm/boehm-
+ gc/libatomic_ops-1.2/doc/README_win32.txt, src/mm/boehm-
+ gc/libatomic_ops-1.2/mkinstalldirs, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/Makefile.am, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/Makefile.msft, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops.c, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops.h, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/Makefile.am, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/generalize-small.h, src/mm
+ /boehm-gc/libatomic_ops-1.2/src/atomic_ops/generalize-
+ small.template, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/generalize.h, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/Makefile.am, src/mm
+ /boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/README, src/mm
+ /boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/acquire_release_v
+ olatile.h, src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/
+ aligned_atomic_load_store.h, src/mm/boehm-gc/libatomic_ops-1.2/src/a
+ tomic_ops/sysdeps/all_acquire_release_volatile.h, src/mm/boehm-gc/li
+ batomic_ops-1.2/src/atomic_ops/sysdeps/all_aligned_atomic_load_store
+ .h, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/all_atomic_load_store.h,
+ src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/ao_t_is_int.h, src/mm
+ /boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/atomic_load_store.h,
+ src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/char_acquir
+ e_release_volatile.h, src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_o
+ ps/sysdeps/char_atomic_load_store.h, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/emul_cas.h, src/mm
+ /boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/alpha.h,
+ src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/arm.h,
+ src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/cris.h,
+ src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/hppa.h,
+ src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/ia64.h,
+ src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/m68k.h,
+ src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/powerpc.h, src/mm
+ /boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/s390.h,
+ src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/sparc.h, src/mm
+ /boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/x86.h, src/mm
+ /boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/x86_64.h,
+ src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/generic_pthread.h,
+ src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/hpc/hppa.h,
+ src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/hpc/ia64.h,
+ src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/ibmc/powerpc.h, src/mm
+ /boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/icc/ia64.h,
+ src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/int_acquire
+ _release_volatile.h, src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_op
+ s/sysdeps/int_aligned_atomic_load_store.h, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/int_atomic_load_store.h,
+ src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/msftc/x86.h, src/mm
+ /boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/msftc/x86_64.h,
+ src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/ordered.h,
+ src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/ordered_except_wr.h,
+ src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/read_ordered.h, src/mm
+ /boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/short_acquire_rel
+ ease_volatile.h, src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sy
+ sdeps/short_aligned_atomic_load_store.h, src/mm/boehm-gc/libatomic_o
+ ps-1.2/src/atomic_ops/sysdeps/short_atomic_load_store.h, src/mm
+ /boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/standard_ao_double_t.h,
+ src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/sunc/sparc.S, src/mm
+ /boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/sunc/sparc.h,
+ src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysdeps/test_and_se
+ t_t_is_ao_t.h, src/mm/boehm-gc/libatomic_ops-1.2/src/atomic_ops/sysd
+ eps/test_and_set_t_is_char.h, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops_malloc.c, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops_malloc.h, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops_stack.c, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops_stack.h, src/mm/boehm-
+ gc/libatomic_ops-1.2/src/atomic_ops_sysdeps.S, src/mm/boehm-
+ gc/libatomic_ops-1.2/tests/Makefile.am, src/mm/boehm-
+ gc/libatomic_ops-1.2/tests/list_atomic.c, src/mm/boehm-
+ gc/libatomic_ops-1.2/tests/list_atomic.template, src/mm/boehm-
+ gc/libatomic_ops-1.2/tests/run_parallel.inc, src/mm/boehm-
+ gc/libatomic_ops-1.2/tests/test_atomic.c, src/mm/boehm-
+ gc/libatomic_ops-1.2/tests/test_atomic.template, src/mm/boehm-
+ gc/libatomic_ops-1.2/tests/test_atomic_include.h, src/mm/boehm-
+ gc/libatomic_ops-1.2/tests/test_malloc.c, src/mm/boehm-
+ gc/libatomic_ops-1.2/tests/test_stack.c, src/mm/boehm-gc/libtool.m4,
+ src/mm/boehm-gc/ltconfig, src/mm/boehm-gc/mach_dep.c, src/mm/boehm-
+ gc/malloc.c, src/mm/boehm-gc/mallocx.c, src/mm/boehm-gc/mark.c,
+ src/mm/boehm-gc/mark_rts.c, src/mm/boehm-gc/misc.c, src/mm/boehm-
+ gc/mkinstalldirs, src/mm/boehm-gc/msvc_dbg.c, src/mm/boehm-
+ gc/new_hblk.c, src/mm/boehm-gc/obj_map.c, src/mm/boehm-gc/os_dep.c,
+ src/mm/boehm-gc/pc_excludes, src/mm/boehm-gc/pcr_interface.c, src/mm
+ /boehm-gc/powerpc_darwin_mach_dep.s, src/mm/boehm-
+ gc/pthread_stop_world.c, src/mm/boehm-gc/pthread_support.c, src/mm
+ /boehm-gc/ptr_chck.c, src/mm/boehm-gc/real_malloc.c, src/mm/boehm-
+ gc/reclaim.c, src/mm/boehm-gc/setjmp_t.c, src/mm/boehm-
+ gc/solaris_pthreads.c, src/mm/boehm-gc/solaris_threads.c, src/mm
+ /boehm-gc/sparc_mach_dep.S, src/mm/boehm-gc/specific.c, src/mm
+ /boehm-gc/stubborn.c, src/mm/boehm-gc/tests/leak_test.c, src/mm
+ /boehm-gc/tests/middle.c, src/mm/boehm-gc/tests/test.c, src/mm
+ /boehm-gc/tests/test_cpp.cc, src/mm/boehm-gc/tests/tests.am, src/mm
+ /boehm-gc/tests/thread_leak_test.c, src/mm/boehm-
+ gc/tests/trace_test.c, src/mm/boehm-gc/thread_local_alloc.c, src/mm
+ /boehm-gc/threadlibs.c, src/mm/boehm-gc/typd_mlc.c, src/mm/boehm-
+ gc/version.h, src/mm/boehm-gc/win32_threads.c, src/mm/boehm.c:
+ Imported and merged Boehm GC 7.0
+ [85f594678514]
+
+ * src/mm/boehm.c:
+ * src/mm/boehm.c: Define GC_DARWIN_THREADS.
+ [6342939f5ec7]
+
+ * Merge -> trunk
+ [785419807437]
+
+2008-03-05 Stefan Ring <stefan@complang.tuwien.ac.at>
+
+ * src/mm/boehm-gc/BCC_MAKEFILE, src/mm/boehm-gc/digimars.mak:
+ * src/mm/boehm-gc/BCC_MAKEFILE, src/mm/boehm-gc/digimars.mak:
+ unix2dos'ed the way they were in gc6.8.
+ [70786a061a3c]
+
+2008-03-11 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/threads/threads-common.c:
+ * src/threads/threads-common.c (threads_thread_start_internal): Code
+ reworked. (threads_thread_start): Likewise.
+ [28798cbb3598]
+
+ * src/threads/threads-common.c:
+ * src/threads/threads-common.c [ENABLE_JAVASE] (threadgroup_system,
+ (threadgroup_main): New variables. (threads_init): Call
+ thread_create_initial_threadgroups and thread_create_initial_thread.
+ (thread_create_initial_threadgroups): New function.
+ (thread_create_initial_thread): Likewise.
+ (threads_get_current_object): Removed empty-group hack.
+ [4587829c96e0]
+
+ * src/vmcore/utf8.c, src/vmcore/utf8.h:
+ * src/vmcore/utf8.c
+ (utf_Ljava_lang_ThreadGroup_Ljava_lang_String__V): Added.
+ * src/vmcore/utf8.h: Likewise.
+ [11c519559b6e]
+
+ * src/native/jni.c, src/vm/vm.c, src/vm/vm.h:
+ * src/vm/vm.c (vm_created): Added. (vm_create): Set vm_created.
+ (vm_destroy): Unset vm_created.
+ * src/vm/vm.h: (vm_created): Added.
+ * src/native/jni.c (_Jv_JNI_DestroyJavaVM): Added vm_created check.
+ (_Jv_JNI_AttachCurrentThread): Likewise. (_Jv_JNI_GetEnv): Likewise.
+ (_Jv_JNI_AttachCurrentThreadAsDaemon): Likewise.
+ [df45c6a94042]
+
+ * src/cacaoh/cacaoh.c, src/vm/vm.c, src/vmcore/utf8.c,
+ src/vmcore/utf8.h:
+ * src/vmcore/utf8.c (utf_main): Added. (utf8_init): Changed
+ signature.
+ * src/vmcore/utf8.h: Likewise.
+ * src/cacaoh/cacaoh.c (main): Removed return value check for
+ utf8_init.
+ * src/vm/vm.c (vm_create): Likewise.
+ [b02fb9ce8032]
+
+ * src/threads/native/threads.c, src/threads/native/threads.h,
+ src/threads/threads-common.c, src/threads/threads-common.h,
+ src/vm/vm.c:
+ * src/threads/native/threads.c (method_thread_init): Removed.
+ (threads_init): Removed. (threads_impl_init): New function.
+ (threads_attach_current_thread): Renamed method_thread_init to
+ thread_method_init.
+ * src/threads/native/threads.h (threads_init): Removed
+
+ * src/threads/threads-common.c (native/native.h): Added.
+ [ENABLE_JAVASE] (native/include/java_lang_ThreadGroup.h): Likewise.
+ [WITH_CLASSPATH_GNU] (native/include/java_lang_Throwable.h):
+ Removed. (toolbox/list.h): Likewise. (vm/exceptions.h): Added.
+ (vmcore/method.h): Likewise. (thread_method_init): Likewise.
+ (threads_init): New function.
+ * src/threads/threads-common.h (thread_method_init): Added.
+ (threads_init): Likewise. (threads_impl_init): Likewise.
+
+ * src/vm/vm.c (vm_create) [ENABLE_THREADS]: Removed return value
+ check for threads_init.
+ [a55398aa6b7a]
+
+ * src/vm/vm.c:
+ * src/vm/vm.c (vm_create) [!NDEBUG]: Removed conditional, as we want
+ the config for production builds too.
+ [634e86c4c855]
+
+2008-03-10 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/threads/native/Makefile.am, src/threads/native/lock.c,
+ src/threads/native/threadlist-posix.c, src/threads/native/threads.c,
+ src/threads/threadlist.c, src/threads/threadlist.h, src/threads
+ /threads-common.c, src/threads/threads-common.h,
+ src/vm/jit/optimizing/profile.c:
+ * src/threads/native/threadlist-posix.c: New file.
+ * src/threads/native/Makefile.am (libthreadsposix_la_SOURCES): Added
+ threadlist-posix.c.
+
+ * src/threads/native/threads.c (mutex_threads_list): Removed.
+ (threads_impl_preinit): Removed mutex_threads_list initialization.
+ (threads_list_lock, threads_list_unlock): Removed.
+
+ * src/threads/threadlist.c (threadlist_init): Call
+ threadlist_impl_init.
+
+ * src/threads/threadlist.h (threadlist_impl_init, threadlist_lock)
+ (threadlist_unlock): Added.
+
+ * src/threads/threads-common.h (threads_list_lock)
+ (threads_list_unlock): Removed.
+
+ * src/threads/native/lock.c, src/threads/threads-common.c,
+ src/vm/jit/optimizing/profile.c: Use new threadlist_{lock,unlock}
+ functions.
+ [f47de576dda1]
-2006-04-20 10:55 twisti
+ * src/threads/threads-common.c:
+ * src/threads/threads-common.c [ENABLE_JAVASE]
+ (native/include/java_lang_ThreadGroup.h): Only a temporary hack.
+ [8ba3980d54fa]
- * src/vm/jit/x86_64/codegen.h (M_ALD32): Added.
+ * src/vm/signal.c, src/vmcore/options.c, src/vmcore/options.h:
+ * src/vmcore/options.c (opt_TraceTraps): Added.
+ * src/vmcore/options.h: Likewise.
-2006-04-20 10:42 twisti
+ * src/vm/signal.c (signal_handle) [!NDEBUG]: Added opt_TraceTraps
+ debug output. This is not finished yet.
+ [ea6e9a832c48]
- * src/vm/jit/x86_64/md-abi.h (REG_METHODPTR): Added.
+ * src/cacaoh/dummy.c, src/vmcore/options.c:
+ * src/cacaoh/dummy.c (errno.h): Added. (vmcore/system.h): Likewise.
+ (vm_abort_errno): New function. (vm_abort_errnum): Likewise.
-2006-04-20 08:45 twisti
+ * src/vmcore/options.c (errno.h): Removed. (options_xx): Use
+ vm_abort_errno.
+ [96dddc7f5487]
- * src/lib/vm/reference/java/lang/VMClassLoader.java: Updated to GNU
- Classpath version.
+ * src/vm/signal.c:
+ * src/vm/signal.c (errno.h): Removed. (signal_init): Use
+ vm_abort_errno. (signal_register_signal): Likewise. (signal_thread):
+ Likewise.
+ [b85835120e85]
-2006-04-19 01:05 edwin
+ * NEWS:
+ * NEWS: Added 0.99 news.
+ [09791a7c5a1b]
- * src/vm/builtin.c (builtin_print_cycles_stats): Added.
- (builtin_monitorenter): Gather cycle count statistics.
- (builtin_monitorexit): Likewise.
-
- * src/vm/builtin.h (builtin_print_cycles_stats): Added.
-
- * src/vm/jit/i386/asmpart.S (asm_get_cycle_count): Added.
-
- * src/vm/jit/asmpart.h (asm_get_cycle_count): Added.
-
- * src/vm/vm.c (vm_exit_handler): Call builtin_print_cycles_stats.
-
- * src/vm/cycles-stats.h: New file.
-
- * src/vm/Makefile.am (CYCLES_STATS_SOURCE): Added.
-
- * src/cacaoh/headers.c (asm_get_cycle_count): Dummy implementation
- added.
-
- * configure.ac (--enable-cycles-stats): Added configure option.
-
-2006-04-18 21:16 twisti
-
- * src/vm/jit/x86_64/emitfuncs.c: Moved to emit.c.
- * src/vm/jit/x86_64/emitfuncs.h: Moved to md-emit.h
-
- * src/vm/jit/x86_64/codegen.c (vm/jit/x86_64/emitfuncs.h): Removed.
- (vm/jit/x86_64/md-emit.h): Added.
-
- * src/vm/jit/x86_64/Makefile.am (libarch_la_SOURCES): Added emit.c and
- md-emit.h, removed emitfuncs.c and emitfuncs.h.
-
-2006-04-18 20:36 twisti
-
- * src/vm/jit/jit.h (IS_ADR_TYPE): Changed to use ==.
- (IS_INT_TYPE): Added.
- (IS_LNG_TYPE): Likewise.
-
-2006-04-18 20:34 twisti
-
- * src/vm/jit/x86_64/codegen.c (vm/jit/emit.h): Added.
- (codegen): Use emit_load/store functions instead of macors. Saves over
- 25kB object code size.
-
- * src/vm/jit/x86_64/codegen.h (ALIGNCODENOP): Added.
- (var_to_reg_int): Removed.
- (var_to_reg_flt): Likewise.
- (store_reg_to_var_int): Likewise.
- (store_reg_to_var_flt): Likewise.
- (M_INEG, M_LNEG, M_INEG_MEMBASE, M_LNEG_MEMBASE): Added.
- (M_CMOVEQ_MEMBASE, M_CMOVNE_MEMBASE, M_CMOVLT_MEMBASE)
- (M_CMOVLE_MEMBASE, M_CMOVGE_MEMBASE, M_CMOVGT_MEMBASE): Likewise.
-
- * src/vm/jit/x86_64/emitfuncs.c (emit_load_s1): Added.
- (emit_load_s2): Likewise.
- (emit_load_s3): Likewise.
- (emit_store): Likewise.
- (emit_copy): Likewise.
- (emit_cmovxx): Likewise.
-
- * src/vm/jit/x86_64/emitfuncs.h (emit_cmovxx): Added.
-
-2006-04-18 20:20 twisti
-
- * src/vm/jit/x86_64/md-abi.h (REG_IFTMP): Defined.
-
-2006-04-18 20:17 edwin
-
- * src/vm/jit/stack.c (stack_show_icmd): Updated to use the correct
- macros for
- (un)resolved methods. Minor output format changes.
-
- * src/vm/field.c (field_print): Print the class name.
-
-2006-04-18 20:10 twisti
-
- * src/vm/jit/alpha/Makefile.am (DISASS_SOURCES): Added.
- * src/vm/jit/mips/Makefile.am: Likewise.
-
-2006-04-18 15:55 twisti
-
- * configure.ac (intl): Check on NetBSD too.
-
-2006-04-18 15:40 twisti
-
- * configure.ac: Fixed typos.
-
-2006-04-18 13:36 twisti
-
- * src/vm/jit/mips/codegen.h (M_FLTMOVE): Removed.
- (M_TFLTMOVE): Likewise.
- (M_TFLD): Likewise.
- (M_TFST): Likewise.
- (M_CCFLTMOVE): Likewise.
- (M_CCFLD): Likewise.
- (M_CCFST): Likewise.
- * src/vm/jit/mips/codegen.c (codegen): Use float and double
- explicitely.
- * src/vm/jit/mips/emit.c: Likewise.
+2008-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
-2006-04-17 15:49 edwin
+ * src/native/vm/sun_misc_Unsafe.c:
+ * src/native/vm/sun_misc_Unsafe.c (putObjectVolatile): OK, this time
+ WITHOUT debug output. Damn.
+ [f1757b2a1bb3]
- * src/vm/jit/intrp/codegen.c (intrp_codegen): Cast mcodeptr to u1*.
- This should fix intrp on archs with u4* mcodeptr.
+ * src/native/vm/sun_misc_Unsafe.c:
+ * src/native/vm/sun_misc_Unsafe.c (putObjectVolatile): Implemented.
+ [a8989730157b]
-2006-04-17 15:20 edwin
-
- * src/vm/builtin.c (builtin_monitorenter, builtin_monitorexit): Added
- rt-timing.
-
- * src/vm/rt-timing.c, src/vm/rt-timing.h: rt-timing for locks.
+2008-03-05 Christian Thalinger <twisti@complang.tuwien.ac.at>
-2006-04-17 11:47 twisti
+ * src/threads/threadlist.c:
+ * src/threads/threadlist.c (threadlist_index_add): Actually set the
+ index in the structure.
+ [70cea5d87e1a]
- * src/vm/jit/codegen-common.h (codegendata): Define lastmcodeptr on
- all architectures. I think it does not matter.
+ * src/mm/cacao-gc/rootset.c, src/native/vm/sun/jvm.c,
+ src/vm/jit/optimizing/profile.c:
+ * src/mm/cacao-gc/rootset.c (threads/threadlist.h): Added.
+ (rootset_readout): Use threadlist_* functions.
-2006-04-14 23:50 edwin
+ * src/native/vm/sun/jvm.c (threads/threadlist.h): Added.
+ (JVM_IsThreadAlive): Use threadlist_* functions.
+ (JVM_SetThreadPriority): Likewise. (JVM_IsInterrupted): Likewise.
- * src/vm/jit/codegen-common.h: Typo fix.
+ * src/vm/jit/optimizing/profile.c (threads/threadlist.h): Added.
+ (profile_thread): Use threadlist_* functions.
+ [bfdd735b3ecb]
-2006-04-14 23:48 edwin
-
- * src/vm/jit/parse.c (parse): Removed unused variable `mi`.
-
-2006-04-14 23:46 edwin
-
- * src/vm/rt-timing.c: include stdlib.h to fix warning.
+ * src/native/vm/Makefile.am, src/native/vm/cldc1.1/java_lang_Thread.c,
+ src/native/vm/gnu/java_lang_VMThread.c,
+ src/native/vm/java_lang_Thread.c, src/native/vm/java_lang_Thread.h,
+ src/native/vm/sun/jvm.c, src/threads/threads-common.c, src/threads
+ /threads-common.h:
+ * src/native/vm/java_lang_Thread.c: Removed.
+ * src/native/vm/java_lang_Thread.h: Likewise.
-2006-04-14 12:40 twisti
-
- * src/vm/jit/mips/emit.c: New file.
- * src/vm/jit/mips/Makefile.am (libarch_la_SOURCES): Added emit.c
-
- * src/vm/jit/mips/codegen.c (vm/jit/emit.h): Added.
- (codegen): Use cd->mcodeptr instead of mcodeptr, and emit_load/store
- functions instead of macors. Saves over 50kB object code size.
-
- * src/vm/jit/mips/codegen.h (var_to_reg_int): Removed.
- (var_to_reg_flt): Likewise.
- (store_reg_to_var_int): Likewise.
- (store_reg_to_var_flt): Likewise.
-
-2006-04-14 11:57 twisti
+ * src/native/vm/Makefile.am (libnativevm_la_SOURCES): Removed
+ java_lang_Thread.[ch].
- * src/vm/jit/codegen-common.c (codegen_setup): Fixed compiler
- warnings, set lastmcodeptr.
- (codegen_increase): Fixed compiler warnings.
- (codegen_finish): Likewise.
- (codegen_createnativestub): Likewise.
+ * src/threads/threads-common.c (threads_get_current_object): New
+ function.
+ * src/threads/threads-common.h: Likewise.
+
+ * src/native/vm/cldc1.1/java_lang_Thread.c,
+ src/native/vm/gnu/java_lang_VMThread.c, src/native/vm/sun/jvm.c:
+ Implemented thread functions directly.
+ [e0404195c823]
+
+ * configure.ac, m4/classpath.m4:
+ * configure.ac (AM_CPPFLAGS): Set to CPPFLAGS.
+
+ * m4/classpath.m4 (AC_CHECK_WITH_JNI_MD_H): Preserve CPPFLAGS.
+ (AC_CHECK_WITH_JNI_H): Likewise.
+ [285ff795b4ba]
+
+ * src/Makefile.am:
+ * src/Makefile.am: Changed copyright.
+ [1c3bd7bb8db1]
+
+ * src/threads/Makefile.am, src/threads/lock-common.h,
+ src/threads/native/lock.c, src/threads/native/threads.c,
+ src/threads/threadlist.c, src/threads/threadlist.h, src/threads
+ /threads-common.c, src/threads/threads-common.h, src/vm/vm.c:
+ * src/threads/threadlist.c: New file.
+ * src/threads/threadlist.h: Likewise.
+
+ * src/threads/Makefile.am (libthreads_la_SOURCES): Added
+ threadlist.[ch].
+
+ * src/threads/lock-common.h: Changed copyright.
+
+ * src/threads/native/lock.c (threads/threadlist.h): Added.
+ (threads_lookup_thread_id): Use threadlist_* functions.
+
+ * src/threads/native/threads.c (threads/threadlist.h): Added.
+ (threads_cast_sendsignals): Use threadlist_* functions.
+ (threads_stopworld): Likewise. (threads_startworld): Likewise.
+ (threads_init): Likewise. (threads_attach_current_thread): Likewise.
+ (threads_join_all_threads): Likewise.
+
+ * src/threads/threads-common.c (threads/threadlist.h): Added.
+ (list_threads, list_free_threads, list_free_thread_index): Removed.
+ (thread_index_t): Removed. (threads_preinit): Don't initialize the
+ thread lists, moved lock_init and critical_init calls into
+ vm_create. (threads_list_first, threads_list_next): Removed.
+ (threads_list_get_non_daemons): Likewise. (threads_thread_new,
+ threads_thread_free): Use threadlist_* functions.
+
+ * src/threads/threads-common.h (threads_list_first): Removed.
+ (threads_list_next): Likewise. (threads_list_get_non_daemons):
+ Likewise.
-2006-04-14 11:28 twisti
+ * src/vm/vm.c (threads/lock-common.h): Added.
+ (threads/threadlist.h): Added. (vm_create) [ENABLE_THREADS]: Call
+ threadlist_init, lock_init and critical_init.
+ [88c7c1a68bda]
- * src/vm/jit/alpha/emit.h: Removed. There's now a common one in
- src/vm/jit/.
+ * src/vm/jit/codegen-common.c:
+ * src/vm/jit/codegen-common.c [WITH_CLASSPATH_CLDC1_1]
+ (native/include/java_lang_String.h): Added.
+ [5856f0d523a2]
-2006-04-14 11:20 twisti
+ * configure.ac, m4/classpath.m4, src/native/jni.h:
+ * configure.ac (AC_CHECK_WITH_CLASSPATH_INCLUDEDIR): Removed.
+ [!WITH_JRE_LAYOUT] (AC_CHECK_WITH_CLASSPATH_LIBDIR): Conditional.
+ (AC_CHECK_WITH_JNI_MD_H): Added. (AC_CHECK_WITH_JNI_H): Likewise.
+ (AM_CPPFLAGS): Added.
- * src/vm/jit/emit.h: New file.
- * src/vm/jit/Makefile.am (noinst_HEADERS): Added emit.h.
-
- * src/vm/jit/powerpc/emit.c: New file.
- * src/vm/jit/powerpc/Makefile.am (libarch_la_SOURCES): Added emit.c.
-
- * src/vm/jit/powerpc/codegen.c (vm/jit/emit.h): Added.
- (codegen): Use cd->mcodeptr instead of mcodeptr, and emit_load/store
- functions instead of macors. Saves over 100kB object code size.
-
- * src/vm/jit/powerpc/codegen.h (var_to_reg_int): Removed.
- (var_to_reg_lng): Likewise.
- (var_to_reg_lng_low): Likewise.
- (var_to_reg_lng_high): Likewise.
- (var_to_reg_flt): Likewise.
- (var_to_reg_dbl): Likewise.
- (store_reg_to_var_int): Likewise.
- (store_reg_to_var_lng): Likewise.
- (store_reg_to_var_adr): Likewise.
- (store_reg_to_var_flt): Likewise.
- (store_reg_to_var_dbl): Likewise.
- (M_LLD_INTERN): Added.
- (M_LLD): Likewise.
- (M_LST_INTERN): Likewise.
- (M_LST): Likewise.
+ * m4/classpath.m4 (AC_CHECK_WITH_CLASSPATH_INCLUDEDIR): Removed.
+ (AC_CHECK_WITH_JNI_MD_H): New macro. (AC_CHECK_WITH_JNI_H):
+ Likewise.
-2006-04-13 20:45 edwin
+ * src/native/jni.h (__GCJ_JNI_MD_H__): Removed the quick hack.
+ (CLASSPATH_JNI_MD_H): Removed. (CLASSPATH_JNI_H): Likewise.
+ (INCLUDE_JNI_MD_H): Added. (INCLUDE_JNI_H): Likewise.
+ [eab0c7885c52]
- * src/vm/loader.c (load_class_from_classloader): Detailed rt-timing.
- (load_class_bootstrap): Likewise.
-
- * src/vm/rt-timing.c: Added rt-timing for loading from classloaders.
- * src/vm/rt-timing.h: Likewise.
+ * src/lib/Makefile.am:
+ * src/lib/Makefile.am [WITH_CLASSPATH_GNU || WITH_CLASSPATH_CLDC1_1]
+ (pkgdata_DATA): Only define it for GNU or CLDC-1.1 configurations.
+ [1d15fd390244]
-2006-04-13 18:21 edwin
+ * src/cacao/Makefile.am:
+ * src/cacao/Makefile.am (libjvm_la_LDFLAGS): Use -version-info
+ instead of -release, as the library interface of libjvm.so will not
+ change.
+ [46784cb01dc1]
- * src/vm/loader.c (load_class_from_classbuffer): Separate timing for
- descriptor_pool_new.
-
- * src/vm/rt-timing.c: Likewise.
-
- * src/vm/rt-timing.h: Likewise.
+2008-03-04 Christian Thalinger <twisti@complang.tuwien.ac.at>
-2006-04-13 18:00 edwin
-
- * src/vm/loader.c (load_class_from_classbuffer): Added real-time
- loading time
- measurements.
-
- * src/vm/rt-timing.c: Likewise.
- * src/vm/rt-timing.h: Likewise.
-
-2006-04-13 17:23 edwin
+ * man/Makefile.am:
+ * man/Makefile.am: Changed copyright.
+ [46f2ae819ff5]
- * src/vm/rt-timing.c: Added timing of linker stages.
- * src/vm/rt-timing.h: Likewise.
- * src/vm/linker.c: Likewise.
-
-2006-04-13 16:58 edwin
-
- * src/vm/rt-timing.h (RT_TIMING_TIME_DIFF): Added.
-
- * src/vm/jit/jit.c (jit_compile_intern): Use RT_TIMING_TIME_DIFF.
-
- * src/vm/linker.c (link_class): Use rt-timing for measuring link time.
-
- * src/cacaoh/Makefile.am (cacaoh_LDFLAGS): Link with librt for
- ENABLE_RT_TIMING.
-
-2006-04-13 16:48 edwin
-
- * src/vm/rt-timing.c (rt_timing_stat): Added field `totalindex`.
- (rt_timing_stat_defs): Likewise.
- (rt_timing_diff): Renamed to rt_timing_time_diff.
- (rt_timing_print_time_stats): Use `totalindex` to calculate
- percentage.
-
- * src/vm/rt-timing.h (RT_TIMING_LINK_TOTAL): Added.
- (rt_timing_diff): Renamed to rt_timing_time_diff.
-
-2006-04-13 14:09 twisti
-
- * src/vm/jit/alpha/emit.c: New file.
- * src/vm/jit/alpha/emit.h: Likewise.
-
-2006-04-13 13:10 twisti
-
- * src/vm/jit/codegen-common.h (codegendata): Changed mcodeend to
- u1*. Define mcodeptr to u4* for non-i386/x86_64 architectures.
-
-2006-04-13 09:32 twisti
-
- * src/vm/jit/x86_64/codegen.c (codegen): Use argument registers
- directly in exception stubs, instead of temporary ones. This reduces
- code-size about 150kB for -all.
-
-2006-04-13 09:19 twisti
-
- * src/vm/jit/x86_64/emitfuncs.c (x86_64_emit_ishift): Bugfixes found
- by javver.
- (x86_64_emit_lshift): Likewise.
-
-2006-04-12 22:20 edwin
-
- * src/vm/rt-timing.c: Added file.
- * src/vm/rt-timing.h: Likewise.
-
- * src/vm/jit/jit.c: Moved real-time timing stuff to rt-timing.[ch]
- * src/vm/jit/jit.h: Likewise.
-
- * src/vm/vm.c (vm_exit_handler): Call rt_timing_print_time_stats.
-
- * src/vm/Makefile.am (rt-timing.c, rt-timing.h): Added.
+ * doc/Makefile.am:
+ * doc/Makefile.am: Changed copyright.
+ [6c354dd4fcd8]
-2006-04-12 22:16 edwin
+ * contrib/Makefile.am:
+ * contrib/Makefile.am: Changed copyright.
+ [3f9fc73789e5]
- * src/vm/jit/allocator/simplereg.c (allocate_scratch_registers): Fixed
- compiler warning.
+ * Makefile.am:
+ * Makefile.am: Changed copyright.
+ [23e283b63784]
-2006-04-12 20:06 edwin
-
- * src/vm/jit/parse.c (parse): New unresolved reference scheme: Data
- structures
- for unresolved fields/methods are only created if really needed.
- Otherwise
- a lazy resolving is done on-the-fly. This reduced compile time by
- over 10% for
- SpecJVM98 and eclipse.
-
- * src/vm/resolve.c (resolve_subtype_check): Added.
- (resolve_lazy_subtype_checks): Likewise.
- (resolve_and_check_subtype_set): Use resolve_subtype_check. Return
- resolve_result_t instead of bool. Removed `checked` argument.
- (resolve_class): Use resolve_subtype_check.
- (resolve_field_verifier_checks): Added.
- (resolve_field_lazy): Added.
- (resolve_field): Use resolve_field_verifier_checks.
- (resolve_method_invokespecial_lookup): Added.
- (resolve_method_verifier_checks): Added.
- (resolve_method_lazy): Added.
- (resolve_method): Use resolve_method_invokespecial_lookup and
- resolve_method_verifier_checks.
- (constrain_unresolved_method): Adapted to new unresolved reference
- scheme.
- (constrain_unresolved_field): Likewise.
- (unresolved_field_debug_dump): Likewise.
- (unresolved_method_debug_dump): Likewise.
-
- * src/vm/jit/patcher.h (intrp_patcher_get_putstatic_clinit): Added.
-
- * src/vm/jit/intrp/intrp.h (vm_Cell2afi): Added.
- (vm_afi2Cell): Likewise.
- (printarg_afi): Added.
- (vim boilerplate): Added.
- (Changes): Added my name.
-
- * src/vm/jit/intrp/patcher.c (intrp_patcher_get_putstatic_clinit):
- Added.
-
- * src/vm/jit/intrp/disass.c (printarg_afi): Added.
- (Changes): Added my name.
- (vim boilerplate): Added.
-
- * src/vm/jit/intrp/java.vmg (GETSTATIC_CELL, GETSTATIC_INT,
- GETSTATIC_FLOAT)
- (GETSTATIC_LONG, PUTSTATIC_CELL, PUTSTATIC_INT, PUTSTATIC_FLOAT)
- (PUTSTATIC_LONG, GETFIELD_CELL, GETFIELD_INT, GETFIELD_FLOAT)
- (GETFIELD_LONG, PUTFIELD_CELL, PUTFIELD_INT, PUTFIELD_FLOAT)
- (PUTFIELD_LONG): Now take a fieldinfo instead of an unresolved_field.
- (INVOKEVIRTUAL, INVOKESTATIC, INVOKESPECIAL, INVOKEINTERFACE): Now
- take
- a methodinfo instead of an unresolved_method.
- (PATCHER_GETSTATIC_CLINIT_INT, PATCHER_GETSTATIC_CLINIT_FLOAT)
- (PATCHER_GETSTATIC_CLINIT_LONG, PATCHER_GETSTATIC_CLINIT_CELL): Added.
- (PATCHER_PUTSTATIC_CLINIT_INT, PATCHER_PUTSTATIC_CLINIT_FLOAT)
- (PATCHER_PUTSTATIC_CLINIT_LONG, PATCHER_PUTSTATIC_CLINIT_CELL): Added.
-
- * src/vm/jit/allocator/simplereg.c (allocate_scratch_registers):
- Use INSTRUCTION_GET_METHODDESC to get method descriptor.
-
- * src/vm/jit/stack.c (stack_analyse): Ported to new unresolved
- reference
- scheme.
- (stack_show_icmd): Likewise.
-
- * src/vm/jit/verify/typecheck.c (verify_invocation): Ported to new
- unresolved
- reference scheme.
- (verify_basic_block): Likewise.
-
- * src/vm/jit/powerpc/codegen.c (codegen): Ported to new unresolved
- reference
- scheme.
-
- * src/vm/jit/alpha/codegen.c (codegen): Ported to new unresolved
- reference
- scheme.
-
- * src/vm/jit/mips/codegen.c (codegen): Ported to new unresolved
- reference
- scheme.
-
- * src/vm/jit/i386/codegen.c (codegen): Ported to new unresolved
- reference
- scheme.
-
- * src/vm/jit/x86_64/codegen.c (codegen): Ported to new unresolved
- reference
- scheme.
-
- * src/vm/jit/intrp/codegen.c (codegen): Ported to new unresolved
- reference
- scheme.
- (Changes): Added my name.
-
- * src/vm/jit/intrp/codegen.h (vim boilerplate): Added.
-
-2006-04-12 18:07 edwin
-
- * src/vm/resolve.h (resolve_result_t): Added.
- (resolve_method_lazy): Added prototype.
- (resolve_field_lazy): Added prototype.
- (resolve_and_check_subtype_set): Removed prototype. This function is
- becoming static.
-
-2006-04-12 17:51 edwin
-
- * src/vm/class.c (class_showconstantpool): Use the new functions
- method_methodref_print and field_fieldref_print.
-
- * src/vm/loader.c (load_constantpool): Use p.index in constant_FMIref.
- (load_class_from_classbuffer): Likewise.
-
- * src/vm/jit/stack.c (stack_show_icmd): Use p.index in
- constant_FMIref.
-
- * src/vm/jit/verify/typecheck.c (verify_invocation): Use p.index in
- constant_FMIref.
-
- * src/vm/resolve.c (resolve_field, resolve_method,
- constrain_unresolved_field)
- (unresolved_field_debug_dump, unresolved_method_debug_dump):
- Use p.index in constant_FMIref.
-
- * src/vm/method.c, src/vm/method.h (method_methodref_print): Added.
- (method_methodref_println): Likewise.
-
- * src/vm/field.c, src/vm/field.h (field_fieldref_print): Added.
- (field_fieldref_println): Likewise.
-
- * src/vm/references.h (constant_FMIref): Changed field `classref`
- into a
- union that is used for caching of already resolved fields/methods.
- (IS_FMIREF_RESOLVED): Added.
- (METHODREF_CLASSNAME): Added.
- (FIELDREF_CLASSNAME): Added.
-
- * src/vm/jit/jit.h (INSTRUCTION_IS_RESOLVED): Added. This is a
- preparation
- for the lazy resolving rewrite.
- (INSTRUCTION_IS_UNRESOLVED): Likewise.
- (INSTRUCTION_GET_FIELDREF): Likewise.
- (INSTRUCTION_GET_METHODREF): Likewise.
- (INSTRUCTION_GET_FIELDDESC): Likewise.
- (INSTRUCTION_GET_METHODDESC): Likewise.
- (INSTRUCTION_UNRESOLVED_METHOD): Likewise.
- (INSTRUCTION_UNRESOLVED_FIELD): Likewise.
- (INSTRUCTION_RESOLVED_FMIREF): Likewise.
- (INSTRUCTION_RESOLVED_FIELDINFO): Likewise.
- (INSTRUCTION_RESOLVED_METHODINFO): Likewise.
-
- * src/vm/jit/intrp/disass.c (printarg_auf): Use METHODREF_CLASSNAME.
-
-2006-04-12 11:51 twisti
-
- * src/vm/jit/alpha/codegen.c (codegen): Use directly argument
- registers in exception stubs, instead of temporary ones. This reduces
- code-size about 200kB for -all.
-
-2006-04-12 09:49 twisti
-
- * src/vm/jit/powerpc/codegen.c (codegen): Fixed displacement overflow
- problem when restoring LR. We can't use r0 here.
-
-2006-04-12 09:30 twisti
-
- * NEWS: Line-number fix added.
-
-2006-04-12 09:20 edwin
-
- * src/vm/jit/parse.c (parse): Skip line number entries that span over
- zero
- bytecode instructions.
-
-2006-04-12 08:52 edwin
-
- * src/vm/method.h (methodinfo): Forward declaration moved to
- refereneces.h.
- * src/vm/field.h (fieldinfo): Forward declaration moved to
- refereneces.h.
- * src/vm/references.h (methodinfo, fieldinfo): Added forward
- references.
-
-2006-04-12 08:34 edwin
-
- * src/vm/class.c (class_showconstanti): Removed.
- (class_showconstantpool): Documented.
- (class_showmethods): Documented.
- (vim boilerplate): Added.
- (Changes): Finally added my name.
-
-2006-04-11 13:13 twisti
-
- * src/vm/jit/x86_64/codegen.c (codegen): Changed signature to use
- jitdata. Renamed reg_of_var by codegen_reg_of_var.
- * src/vm/jit/x86_64/codegen.h (M_COPY): Likewise.
-
-2006-04-11 10:54 twisti
-
- * tests/regression/clinitexception.2output: Updated.
- * tests/regression/native/checkjni.output: Likewise.
- * tests/regression/extest.2output: Likewise.
-
-2006-04-11 10:20 twisti
-
- * src/vm/builtin.c (builtin_throw_exception): Changed return type and
- return NULL. This is less error-prone in asm_vm_call_method.
- * src/vm/builtin.h: Likewise.
-
- * src/vm/jit/alpha/asmpart.S (asm_vm_call_method_exception_handler):
- Don't set v0 to NULL. This is now done in builtin_throw_exception.
- * src/vm/jit/i386/asmpart.S: Likewise.
- * src/vm/jit/mips/asmpart.S: Likewise.
- * src/vm/jit/powerpc/asmpart.S: Likewise.
- * src/vm/jit/x86_64/asmpart.S: Likewise.
+ * NEWS:
+ * NEWS: Fixed month for 0.99.
+ [0fc50ddc4a9f]
-2006-04-11 10:04 twisti
+2008-03-03 Christian Thalinger <twisti@complang.tuwien.ac.at>
- * src/vm/jit/ifconv/ifconv.c (ifconv_static): Keep compiler happy.
+ * NEWS:
+ * NEWS: Added some 0.99 release notes.
+ [5b338798aa0b]
-2006-04-11 09:00 edwin
+2008-03-03 Stefan Ring <stefan@complang.tuwien.ac.at>
- * src/vm/jit/stack.c (stack_print_stack): Only use `regs` if
- ENABLE_DISASSEMBLER is defined.
- (stack_show_method): Likewise.
-
- * src/vm/jit/replace.c (replace_executionstate_println): Likewise.
+ * tests/threadInterrupt.java:
+ Merge -> trunk.
+ [2fa6a94596b0]
-2006-04-11 05:10 edwin
+ * src/threads/native/lock.c, src/threads/native/threads.c,
+ src/threads/native/threads.h:
+ interrupt() / notify() fix.
- * src/vm/jit/intrp/asmpart.c (intrp_asm_handle_exception): Do not
- trace
- exception when NDEBUG.
-
- * src/vm/jit/intrp/dynamic-super.c (disassemble_prim): Only enable for
- ENABLE_DISASSEMBLER.
- (dynamic_super_init): Only call disassemble_prim for
- ENABLE_DISASSEMBLER.
-
- * src/vm/jit/intrp/java.vmg: Disable builtin_displaymethodstop and
- builtin_trace_args for NDEBUG.
+ * src/threads/native/lock.c (lock_record_wait, lock_record_notify):
+ Correctly handling the signaled and interrupted flags.
-2006-04-06 12:54 twisti
+ * src/threads/native/threads.c (threads_wait_with_timeout)
+ (threads_wait_with_timeout_relative): No return value, not touching
+ flags. (threads_check_if_interrupted_and_reset): Now locking the
+ waitmutex. (threads_sleep): Adapted to change.
- * src/vm/jit/mips: Added TAGS.
- * src/vm/jit/mips/irix: Likewise.
- * src/vm/jit/mips/irix/.cvsignore: Likewise.
- * src/vm/jit/mips/.cvsignore: Likewise.
+ * src/threads/native/threads.h (threads_wait_with_timeout_relative):
+ No return value.
+ [9ffa63aa1415]
-2006-04-06 12:51 twisti
+ * tests/threads/waitAndInterrupt.java:
+ * tests/threads/waitAndInterrupt.java: New test hanging CACAO.
+ [831d66c6b70a]
- * src/vm/jit/mips/codegen.c (codegen): Changed signature to use
- jitdata. Renamed reg_of_var by codegen_reg_of_var.
- (createcompilerstub): Replaced docacheflush by md_cacheflush.
- * src/vm/jit/mips/codegen.h (M_COPY): Likewise.
- * src/vm/jit/mips/md.c (sys/mman.h): Removed.
- (docacheflush): Likewise.
+ * .hgignore, tests/threadInterrupt.java,
+ tests/threads/threadInterrupt.java:
+ * .hgignore: Ignoring class files.
+ * tests/threads: New directory for thread tests.
+ * tests/threads/threadInterrupt.java: Moved.
+ [820a5859b970]
-2006-04-06 00:33 edwin
+2008-03-01 Stefan Ring <stefan@complang.tuwien.ac.at>
- * configure.ac: Added host type `armv5l`.
+ * .hgignore:
+ * .hgignore: Ignoring latex output files.
+ [c68604485dd4]
-2006-04-05 20:31 edwin
+2008-03-03 Christian Thalinger <twisti@complang.tuwien.ac.at>
- * src/vm/jit/parse.h, src/vm/jit/parse.c (OP1LOAD):
- Split into OP1LOAD_ONEWORD and OP1LOAD_TWOWORD. Index is only checked
- if
- ENABLE_VERIFIER.
- (OP1STORE): Split into OP1STORE_ONEWORD and OP1STORE_TWOWORD. Index
- is
- only checked if ENABLE_VERIFIER.
+ * src/lib/Makefile.am:
+ * src/lib/Makefile.am (EXTRA_DIST): Removed VM_JAVA_FILES, added
+ VM_JAVA_FILES_GNU, VM_JAVA_FILES_GNU_ANNOTATIONS,
+ VM_JAVA_FILES_CLDC1_1. (VM_JAVA_FILES): Removed.
+ (VM_JAVA_FILES_GNU): Added. (VM_JAVA_FILES_GNU_ANNOTATIONS):
+ Likewise. (VM_JAVA_FILES_CLDC1_1): Likewise.
+ [ec85f6c4026c]
-2006-04-05 19:58 edwin
+2008-02-29 Stefan Ring <stefan@complang.tuwien.ac.at>
- * src/vm/jit/parse.c (parse): Cleaned up and reordered an if.
+ * src/threads/native/threads.c, src/threads/native/threads.h,
+ src/threads/threads-common.c, src/threads/threads-common.h:
+ Reusing threadobjects.
-2006-04-05 19:44 edwin
+ * src/threads/native/threads.c (threads_impl_thread_new): Removed
+ and split up into three new functions. (threads_impl_thread_init,
+ threads_impl_thread_clear) (threads_impl_thread_reuse): New
+ functions. (threads_impl_thread_free): Disabled.
- * src/vm/jit/parse.c (parse): Remove the `if (!iswide)` check for
- each opcode
- by making JAVA_WIDE continue directly to the label fetch_opcode.
- (This also
- removed a part of the iswide check at the end of the loop.)
+ * src/threads/native/threads.h (threadobject): Added field for free-
+ list.
-2006-04-05 18:48 edwin
+ * src/threads/threads-common.c (threads_preinit, threads_thread_new)
+ (threads_thread_free): Reuse threadobjects.
- * src/vm/jit/alpha/codegen.c (codegen, createnativestub): Remove
- opt_verbosecall code for NDEBUG builds.
+ * src/threads/threads-common.h: New function declarations.
+ [d73f6705d7ad]
-2006-04-05 18:13 edwin
+2008-02-28 pm <pm@c8.complang.tuwien.ac.at>
- * src/vm/jit/parse.c (parse): Only do verifier checks if
- ENABLE_VERIFIER.
- Cleaned up an obsolete printf.
+ * src/vm/jit/cfg.c:
+ * src/vm/jit/cfg.c (cfg_add_exceptional_edges): Conditionally
+ compiling (was forgotten).
+ [97bbdfcfb666]
-2006-04-05 12:56 edwin
+2008-02-28 Peter Molnar <pm@complang.tuwien.ac.at>
- * configure.ac (ENABLE_RT_TIMING): Added.
-
- * src/vm/jit/jit.c (ENABLE_RT_TIMING): Added code for real-time timing
- of compiler passes.
-
- * src/vm/jit/jit.h (jit_print_time_stats): Added.
-
- * src/vm/vm.c (vm_exit_handler): Call jit_print_time_stats.
+ * src/vm/jit/jit.c:
+ Merging 7888.
+ [42ae5a01ac5a]
-2006-04-05 11:32 edwin
+ * src/vm/jit/cfg.c, src/vm/jit/jit.c, src/vm/jit/jit.h,
+ src/vm/jit/optimizing/ssa.c, src/vm/jit/optimizing/ssa3.c:
+ * src/vm/jit/cfg.c (cfg_add_exceptional_edges): New function
+ * src/vm/jit/jit.c (jit_compile_intern) [ENABLE_SSA]: Adapted.
+ * src/vm/jit/jit.h (struct basicblock) [ENABLE_SSA]: New fileds for
+ exception handlers in cfg.
+ * src/vm/jit/optimizing/ssa.c (ssa): Adapted.
+ * src/vm/jit/optimizing/ssa3.c: Changed a lot, currenly broken.
+ [5faec567ca14]
- * src/vm/jit/inline/inline.c (create_block): Use BASICBLOCK_INIT.
+ * src/vm/jit/s390/asmpart.S, src/vm/jit/s390/md.c:
+ * src/vm/jit/s390/asmpart.S (L_offsets): Removed references to
+ unused functions.
+ * src/vm/jit/s390/md.c: Including vm/jit/s390/md.h.
+ [0d5247355a8c]
-2006-04-05 10:02 twisti
+2008-02-27 Stefan Ring <stefan@complang.tuwien.ac.at>
- * src/vm/jit/alpha/asmpart.S (asm_vm_call_method): Removed !NDEBUG as
- builtin_throw_exception actually posts the thrown exception to the VM
- system.
- * src/vm/jit/powerpc/asmpart.S: Likewise.
- * src/vm/jit/mips/asmpart.S: Likewise.
- * src/vm/jit/x86_64/asmpart.S: Likewise.
-
-2006-04-05 09:57 edwin
-
- * src/vm/jit/jit.h (instruction): Removed `method` field.
- (insinfo_inline): Added.
- (basicblock): Added `method` field.
-
- * src/vm/jit/dseg.c (dseg_addlinenumber_inline_start)
- (dseg_addlinenumber_inline_end): Use new insinfo_inline struct.
-
- * src/vm/jit/verify/typecheck.c (verify_basic_block): Removed unused
- variable `myclass`.
-
- * src/vm/jit/inline/inline.c (emit_inlining_prolog,
- emit_inlining_epilog):
- Use insinfo_inline struct.
- (inline_write_exception_handlers): Removed `method` field.
-
- * src/vm/jit/i386/codegen.c (codegen): Use insinfo_inline struct.
-
- * src/vm/jit/parse.h (several macros): Removed `method` field from
- instruction.
-
- * src/vm/jit/stack.c (stack_show_icmd): Adapted to new insinfo_inline
- struct.
-
-2006-04-05 09:54 twisti
-
- Fixes GCC Bugzilla Bug #26990.
- * src/vm/vm.c (vm_exit): Don't check for exception of System.exit().
-
-2006-04-04 21:31 edwin
-
- * src/vm/builtin.c (builtin_throw_exception): No twisti, we don't
- turn off
- exceptions just because it is NDEBUG ;)
- * src/vm/jit/i386/asmpart.S (asm_vm_call_method_exception_handler):
+ * tests/threadInterrupt.java:
+ * tests/threadInterrupt.java: Added a test showing a bug in the pre-
+ sable implementation.
+ [048e4ed58d94]
+
+ * src/threads/native/lock.c, src/threads/native/threads.c:
+ * src/threads/native/threads.c (threads_set_current_threadobject):
+ Added a few vm_abort_errnum calls. (threads_get_current_thread):
Likewise.
-2006-04-04 18:14 edwin
-
- * src/vm/jit/i386/Makefile.am: Do not build disassebmler for
- --disable-disassembler
- * src/vm/jit/i386/codegen.c (codegen): disable verbosecall code for
- NDEBUG
-
-2006-04-04 18:11 edwin
-
- * src/vm/jit/ifconv/ifconv.c (ifconv_static): #ifdef debug code.
- (check): Likewise.
-
-2006-04-04 09:17 twisti
+ * src/threads/native/lock.c (lock_record_new): Likewise.
+ (lock_record_free): Likewise.
+ [40e84a6ae6ea]
- * src/threads/native/threads.c (tablelock): Removed.
- (tables_lock, tables_unlock): Likewise.
- (criticalcompare): Removed tablelock initialization.
- * src/vm/hashtable.h (tables_lock, tables_unlock): Removed.
- * src/vm/global.h (VFTBLINTERFACETABLE): Likewise.
- (cast_lock, cast_unlock): Likewise.
+2008-02-21 Edwin Steiner <edwin.steiner@gmx.net>
-2006-04-04 09:14 twisti
+ * src/vm/jit/x86_64/linux/md-os.c:
+ * src/vm/jit/x86_64/linux/md-os.c (md_replace_executionstate_read):
+ Fix copy&paste mistake (for reading the PC).
+ [8af912202925]
- * src/vm/exceptions.c (exceptions_new_nosuchmethoderror): Print
- classname with dots.
- (exceptions_handle_exception): Compiler warning fix.
+2008-02-20 Edwin Steiner <edwin.steiner@gmx.net>
-2006-04-04 09:13 edwin
+ * src/vm/jit/alpha/linux/md-os.c, src/vm/jit/powerpc/linux/md-os.c,
+ src/vm/jit/replace.c, src/vm/jit/replace.h:
+ * src/vm/jit/replace.h (executionstate_t): Added 'ra' field for
+ return address register. Otherwise replacement code for the PowerPC
+ gets very ugly, as the LR is not part of the intregs on PowerPC.
- * src/vm/jit/verify/typeinfo.c (CLASSINFO_IMPLEMENTS_INTERFACE):
- Removed the
- single use of the macro VFTBLINTERFACETABLE
+ * src/vm/jit/replace.c (replace_executionstate_println): Added print
+ statements. (replace_sanity_check_read_write): Check 'ra' field.
-2006-04-04 08:45 twisti
+ * src/vm/jit/alpha/linux/md-os.c (md_replace_executionstate_read):
+ Use new 'ra' field. (md_replace_executionstate_write): Likewise.
- * src/native/vm/VMClass.c: Reordered methods like in the
- VMClass.java. This eases the 1.5 changes addition.
-
-2006-04-04 08:30 edwin
-
- * src/vm/jit/parse.c (parse): Removed obsolete variable
- `skipBasicBlockChange`.
-
-2006-04-04 08:24 edwin
-
- * src/vm/jit/parse.c (parse): Removed obsolete variable `firstlocal`.
- (Was used for the old inliner.)
-
-2006-04-03 15:36 twisti
-
- * src/vm/jit/powerpc/codegen.c (codegen): Changed signature to use
- jitdata. Renamed reg_of_var by codegen_reg_of_var.
- * src/vm/jit/powerpc/codegen.h (M_COPY): Likewise.
-
-2006-04-03 13:59 twisti
-
- * src/vm/jit/powerpc/codegen.c (codegen): Renamed parentargs_base to
- stackframesize.
- (codegen_trace_args): Likewise.
-
-2006-04-02 16:17 edwin
+ * src/vm/jit/powerpc/linux/md-os.c (md_replace_executionstate_read):
+ Implemented for PowerPC/Linux. (md_replace_executionstate_write):
+ Likewise.
+ [54cb4d152e6f]
- * src/vm/jit/i386/codegen.c (codegen): Implemented inlining of
- synchronized
- methods (INLINE_START, INLINE_END do monitorenter/exit).
+ * src/vm/jit/alpha/linux/md-os.c:
+ * src/vm/jit/alpha/linux/md-os.c (md_replace_executionstate_read):
+ Do not use the assignment operator for the float registers, as the
+ type conversion messes up their values (they are not 'double' in the
+ context). (md_replace_executionstate_write): Likewise.
+ [9a2f257d4326]
-2006-04-02 16:16 edwin
+ * src/vm/jit/replace.c:
+ * src/vm/jit/replace.c (replace_sanity_check_read_write): New
+ function. Perform some basic sanity checks of the md_replacement_*
+ implementations. (replace_me_wrapper): Call above function in
+ debugging mode.
+ [401ef412801a]
- * src/vm/jit/inline/inline.c (inline_node): Added fields for inlining
- synchronized methods.
- (inline_context): Added `master` pointer to outermost caller. Added
- field
- `calls_others`. (Leaf method detection should really be done after
- inlining).
- (several methods): Implemented inlining of synchronized methods.
- (inline_new_stackslot): Added.
- (inline_write_exception_handlers): Added.
+2008-02-20 Roland Lezuo <tbfg@complang.tuwien.ac.at>
-2006-04-01 21:03 edwin
+ * Merged with tip
+ [1c5d66f62119]
- * src/vm/jit/intrp/codegen.c (createcalljavafunction): Create
- codeinfo with
- the right methodinfo pointer.
+2008-02-19 Roland Lezuo <tbfg@complang.tuwien.ac.at>
-2006-04-01 21:00 edwin
+ * Merged with cldc-branch
+ [eb7a914bf640]
- * src/vm/jit/codegen-common.h (intrp_createnativestub): Takes a
- `jitdata *` now.
-
- * src/vm/jit/intrp/codegen.c (intrp_codegen, intrp_createnativestub)
- (createcalljavafunction): Use jitdata.
+2008-02-19 tbfg <tbfg@c1.complang.tuwien.ac.at>
-2006-03-31 12:38 edwin
+ * src/vm/jit/m68k/asmpart.S, src/vm/jit/m68k/codegen.c,
+ src/vm/jit/m68k/codegen.h:
+ * src/vm/jit/m68k/asmpart.S (asm_vm_call_method): Do not overwrite
+ return address with method to be invoked.
- * src/vm/jit/inline/inline.c, src/vm/jit/inline/inline_debug.c:
- Adapted to
- twisti's jitdata changes.
+ * src/vm/jit/m68k/codegen.c (codegen_emit_stub_native): Removed call
+ to trace function as seen in other archs.
-2006-03-31 07:50 twisti
+ * src/vm/jit/m68k/codegen.h (COMPILERSTUB_CODESIZE): Fix size for
+ new compiler trap.
+ [3f6144729487]
- * src/vm/jit/powerpc/asmpart.S (asm_vm_call_method): Replaced $stub
- symbols with old symbols and define them for darwin in the
- corresponding md-asm.h.
- (asm_call_jit_compiler): Likewise.
- (asm_wrapper_patcher): Likewise.
- (asm_replacement_out): Likewise.
- * src/vm/jit/powerpc/darwin/md-asm.h (builtin_asm_get_exceptionptrptr)
- (builtin_throw_exception, exceptions_handle_exception, jit_compile)
- (replace_me, stacktrace_create_extern_stackframeinfo)
- (stacktrace_remove_stackframeinfo): Changed to $stub symbol.
- (stacktrace_extern_fillInStackTrace): Removed.
-
- * src/vm/jit/powerpc/linux/md-abi.c (regs): Added.
+2008-02-15 tbfg <tbfg@c1.complang.tuwien.ac.at>
-2006-03-31 07:14 twisti
+ * src/vm/jit/m68k/codegen.c, src/vm/jit/m68k/linux/md-abi.c:
+ * src/vm/jit/m68k/codegen.c (codegen_emit_stub_native): Handle
+ builtin correctly.
+ * src/vm/jit/m68k/linux/md-abi.c (md_param_alloc_native): With 8 bytes
+ stack slots internally natives need a 4 byte stack slot allocation.
+ (md_param_alloc): Set index correctly.
+ [c87ce21ccdf8]
- * src/vm/jit/powerpc/patcher.c
- (patcher_checkcast_instanceof_interface): Compile fix (typo).
+2008-02-19 Edwin Steiner <edwin.steiner@gmx.net>
-2006-03-30 12:01 twisti
+ * src/vm/jit/x86_64/emit.c:
+ * src/vm/jit/x86_64/emit.c (emit_alu_imm_membase): Fix emit_rex
+ call.
+ [97f2df303ae7]
- * src/vm/jit/alpha/asmpart.S (vm/jit/abi.h): Changed to
- vm/jit/abi-asm.h.
- * src/vm/jit/mips/asmpart.S: Likewise.
- * src/vm/jit/i386/asmpart.S: Likewise.
- * src/vm/jit/x86_64/asmpart.S: Likewise.
-
-2006-03-30 11:59 twisti
-
- * src/vm/jit/powerpc/codegen.c (codegen): Changed signature to use
- jitdata. Renamed reg_of_var by codegen_reg_of_var.
- * src/vm/jit/powerpc/codegen.h (M_COPY): Likewise.
-
- * src/vm/jit/powerpc/asmpart.S (vm/jit/abi.h): Changed to
- vm/jit/abi-asm.h.
- (asm_vm_call_method_exception_handler): Export it.
- (asm_vm_call_method): Don't put label addresses into the
- "data-segment", as it's located in the .text area and that may be
- read-only. Changed to use PIC code. Linux stuff is still missing.
-
- * src/vm/jit/powerpc/Makefile.am (DISASS_SOURCES): Added.
- * src/vm/jit/powerpc/disass.c (regs): Removed.
-
-2006-03-30 10:26 twisti
-
- * src/vm/jit/ifconv/Makefile.am (AM_CPPFLAGS): Added OS_DIR.
- (LIBS): Added.
-
-2006-03-30 10:23 twisti
-
- * src/vm/jit/Makefile.am (noinst_HEADERS): Added abi-asm.h.
- * src/vm/jit/abi.h (vm/jit/abi-asm.h): Added.
- (nregdescint, regs, nregdescfloat): Added.
- * src/vm/jit/abi-asm.h: New file.
- * src/vm/jit/reg.h (nregdescint, nregdescfloat): Removed.
- * src/vm/jit/reg.c (vm/jit/abi.h): Added.
- * src/vm/jit/replace.c: Likewise.
- * src/vm/jit/allocator/lsra.c: Likewise.
- * src/vm/jit/powerpc/darwin/md-asm.h
- (asm_vm_call_method_exception_handler): Added.
- * src/vm/jit/powerpc/darwin/md-abi.c (regs): Added.
-
-2006-03-30 10:14 twisti
-
- * src/vm/jit/codegen-common.c: Use ENABLE_DISASSEMBLER.
- * src/vm/jit/codegen-common.h: Likewise.
- * src/vm/jit/stack.c: Likewise. Plus ENABLE_LSRA.
- * src/vm/jit/disass.h: Likewise.
- * src/vm/jit/jit.c: Likewise. Plus ENABLE_LOOP.
-
-2006-03-30 10:10 twisti
-
- * src/vm/jit/powerpc/patcher.c (patcher_invokevirtual): Use disp
- variable for code patching. This will ease the overflow code
- comming.
- (patcher_invokeinterface): Likewise.
- (patcher_checkcast_instanceof_interface): Likewise.
-
-2006-03-30 09:52 twisti
-
- * src/vm/exceptions.c (exceptions_handle_exception): Check for special
- * start/endpc-NULL case. This makes asmpart stuff much easier, like on
- * Darwin or IRIX.
-
- * src/vm/jit/asmpart.h (asm_vm_call_method_exception_handler): Added.
-
- * src/vm/jit/alpha/asmpart.S (asm_vm_call_method_exception_handler):
- Export it.
- (asm_vm_call_method): Don't put label addresses into the
- "data-segment", as it's located in the .text area and that may be
- read-only.
- * src/vm/jit/i386/asmpart.S: Likewise.
- * src/vm/jit/mips/asmpart.S: Likewise.
- * src/vm/jit/x86_64/asmpart.S: Likewise.
-
-2006-03-30 09:20 twisti
-
- * src/vm/jit/mips/asmpart.S (asm_vm_call_method): Return NULL for
- exception.
-
-2006-03-30 08:48 twisti
-
- * configure.ac (opcodes): Check for disassembler symbol as
- init_disassemble_info isn't defined everywhere, like NetBSD.
-
-2006-03-29 23:11 twisti
-
- * src/vm/jit/powerpc/netbsd: New directory.
- * src/vm/jit/powerpc/netbsd/md-abi.h: New file.
- * src/vm/jit/powerpc/netbsd/md-os.c: Likewise.
- * src/vm/jit/powerpc/netbsd/md-asm.h: Likewise.
- * src/vm/jit/powerpc/netbsd/Makefile.am: Likewise.
- * src/vm/jit/powerpc/netbsd/md-abi.c: Likewise.
- * src/vm/jit/powerpc/netbsd/.cvsignore: Likewise.
- * configure.ac (host_os): Added NetBSD.
- (AC_CONFIG_FILES): Added src/vm/jit/powerpc/netbsd/Makefile.
-
-2006-03-28 15:43 twisti
-
- * tests/regression/codepatching/test.java: Made functions static
- final.
- --This line, and those below, will be ignored--
-
- M test.java
-
-2006-03-28 15:41 twisti
-
- * src/vm/jit/i386/codegen.c (codegen): Changed signature to use
- jitdata. Renamed reg_of_var by codegen_reg_of_var.
- * src/vm/jit/i386/codegen.h (M_COPY): Likewise.
-
-2006-03-28 15:14 twisti
-
- * configure.ac (AC_CONFIG_FILES): Added src/vm/jit/ifconv/Makefile.
-
-2006-03-28 15:10 twisti
-
- * src/vm/jit/Makefile.am (DIST_SUBDIRS): Added ifconv.
- * src/vm/jit/ifconv: New directory.
- * src/vm/jit/ifconv/ifconv.c: New file.
- * src/vm/jit/ifconv/Makefile.am: Likewise.
- * src/vm/jit/ifconv/ifconv.h: Likewise.
- * src/vm/jit/ifconv/.cvsignore: Likewise.
-
-2006-03-28 14:52 twisti
-
- * src/vm/method.h (vm/jit/code.h): Added.
- (codeinfo, rplpoint, executionstate, sourcestate): typedef's removed.
-
- * src/vm/jit/codegen-common.c (codegendata): Removed code.
- (codegen_setup, codegen_finish, createnativestub, codegen)
- (intrp_codegen): Changed signature to use jitdata.
- (reg_of_var): Renamed to codegen_reg_of_var. Changed signature.
- (codegen_free): Removed.
- * src/vm/jit/codegen-common.h: Likewise.
-
- * src/vm/jit/stack.c (lock_show_icmd): Renamed to
- lock_stack_show_icmd.
- (analyse_stack): Renamed to stack_analyse. Changed signature to use
- jitdata.
- (ICMD_IF_ICMPxx): Make ICMD_IFxx last instruction in basic block. This
- is required for if-conversion.
- (stack_print): Renamed to stack_print_stack.
- (show_icmd_method): Renamed to stack_show_method. Changed signature to
- use jitdata.
- (show_icmd_block): Renamed to stack_show_basicblock. Changed signature
- to use jitdata.
- (show_icmd): Renamed to stack_show_icmd.
- * src/vm/jit/stack.h: Likewise.
-
- * src/vm/jit/code.h (codeinfo): Added typedef.
-
- * src/vm/jit/dseg.c (assert.h): Moved.
- (dseg_resolve_datareferences, dseg_display): Changed signature to use
- jitdata.
- * src/vm/jit/dseg.h: Likewise.
-
- * src/vm/jit/verify/typecheck.c (typecheck): Changed signature to use
- jitdata.
- * src/vm/jit/verify/typecheck.h: Likewise.
-
- * src/vm/jit/loop/loop.c (analyseGraph): Changed signature to use
- jitdata.
- * src/vm/jit/loop/loop.h: Likewise.
- * src/vm/jit/loop/graph.c (depthFirst): Likewise.
- * src/vm/jit/loop/graph.h: Likewise.
- * src/vm/jit/loop/analyze.c (optimize_loops): Likewise.
- * src/vm/jit/loop/analyze.h: Likewise.
- * src/vm/jit/allocator/lsra.c (lsra): Likewise.
- * src/vm/jit/allocator/lsra.h: Likewise.
- * src/vm/jit/allocator/simplereg.c (interface_regalloc)
- (local_regalloc,allocate_scratch_registers): Likewise.
- * src/vm/jit/allocator/simplereg.h: Likewise.
- * src/vm/jit/parse.c (parse): Likewise.
- * src/vm/jit/replace.c (replace_create_replacement_points): Likewise.
- * src/vm/jit/intrp/codegen.c (intrp_codegen): Likewise.
- * src/vm/jit/reg.c (reg_setup): Likewise.
- * src/vm/jit/reg.h: Likewise.
-
- * src/vm/jit/jit.c (jit_compile): Use new function signatures and
- jitdata structure.
- (jit_compile_intern): Changed signature to use jitdata.
- * src/vm/jit/jit.h (jitdata): Added.
- (ICMD_OPCODE_MASK): Likewise.
- (ICMD_CONDITION_MASK): Likewise.
-
- * src/vm/jit/replace.h (rplpoint, executionstate, sourcestate):
- typedef's added.
- (replace_create_replacement_points): Changed signature to use jitdata.
-
- * src/vm/jit/parse.h (INDEX_ONEWORD, INDEX_TWOWORD): Use goto.
- (parse): Changed signature to use jitdata.
-
-2006-03-28 14:31 twisti
-
- * src/vm/jit/x86_64/md.c (md_signal_handler_sigsegv)
- (md_signal_handler_sigfpe): Comment changes.
-
-2006-03-28 14:30 twisti
-
- * src/vm/jit/i386/codegen.c (createnativestub): Replaced _exceptionptr
- by _no_threads_exceptionptr.
-
-2006-03-28 14:22 twisti
-
- * NEWS: Added upcoming 0.96 release. Added miranda-methods fix.
-
-2006-03-28 14:21 twisti
-
- * src/tests/regression/native/checkjni.c (PushLocalFrame): New method.
- * src/tests/regression/native/checkjni.java (PushLocalFrame):
+ * src/vm/jit/x86_64/emit.c:
+ * src/vm/jit/x86_64/emit.c (emit_alul_imm_membase): Fix emit_rex
+ call.
+ [0eae2350805d]
+
+2008-02-18 Edwin Steiner <edwin.steiner@gmx.net>
+
+ * src/vm/jit/inline/inline.c, src/vmcore/options.c:
+ * src/vmcore/options.h, src/vmcore/options.c,
+ src/vm/jit/inline/inline.c: Trace levels for inlining.
+ [a572dc07befb]
+
+ * src/vm/jit/inline/inline.c:
+ * src/vm/jit/inline/inline.c (inline_transform): Make semantics of
+ opt_InlineCount less confusing.
+ [02db2973e156]
+
+ * src/vm/jit/inline/inline.c, src/vm/jit/jit.c, src/vm/vm.c,
+ src/vmcore/linker.c, src/vmcore/method.c, src/vmcore/options.c,
+ src/vmcore/options.h:
+ * src/vmcore/options.h, src/vmcore/options.c, src/vmcore/method.c,
+ src/vmcore/linker.c, src/vm/vm.c, src/vm/jit/jit.c,
+ src/vm/jit/inline/inline.c: Changed inlining options to -XX options.
+ [fcb2ea727c23]
+
+2008-02-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/vm/jit/powerpc/linux/md-abi.c:
+ * src/vm/jit/powerpc/linux/md-abi.c (md_return_alloc): Use switch-
+ case.
+ [0b1af4df6ef2]
+
+ * src/vm/jit/powerpc/codegen.c:
+ * src/vm/jit/powerpc/codegen.c (codegen_emit): Use switch-case to
+ store return values for invokes.
+ [016cdf940d81]
+
+2008-02-18 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/vm/jit/powerpc/codegen.c:
+ * src/vm/jit/powerpc/codegen.c (codegen_emit_stub_native): Use
+ switch-case for argument copying.
+ [720c659e4ecc]
+
+ * src/vm/jit/powerpc/codegen.c:
+ * src/vm/jit/powerpc/codegen.c (codegen_emit): Removed variable a,
+ added variable i.
+ [bb4a72bd2d52]
+
+ * src/vm/jit/powerpc/codegen.c:
+ * src/vm/jit/powerpc/codegen.c (codegen_emit): Use switch-case when
+ argument copying for invokes.
+ [2e2c6db95e46]
+
+ * src/vm/jit/powerpc/codegen.h:
+ * src/vm/jit/powerpc/codegen.h: Grouped and alpha-sorted the code
+ generating macros.
+ [c280412cfc3b]
+
+ * src/vm/jit/replace.c:
+ * src/vm/jit/replace.c (replace_gc_from_native): Fixed typo, again.
+ [897943ebddcc]
+
+ * src/vm/jit/replace.c:
+ * src/vm/jit/replace.c (replace_me): Fixed typo.
+ [273027fcc0d0]
+
+ * src/vm/jit/replace.c:
+ * src/vm/jit/replace.c (replace_me): Use
+ threads_get_current_stackframeinfo(). (replace_gc_from_native):
Likewise.
- (equal(int,int)): Likewise.
- * src/tests/regression/native/Makefile.am (NOTESTNAMES): Added.
-
-2006-03-28 11:54 twisti
-
- * src/vm/jit/x86_64/codegen.c (codegen): Renamed parentargs_base to
- stackframesize.
- * tests/regression/extest.2output: Updated.
-
-2006-03-28 10:42 twisti
+ [28d447c7b5f7]
+
+ * src/mm/cacao-gc/gc.c, src/native/vm/cldc1.1/java_lang_Throwable.c,
+ src/native/vm/gnu/java_lang_VMThrowable.c, src/native/vm/sun/jvm.c,
+ src/threads/native/threads.h, src/threads/none/threads.h,
+ src/threads/threads-common.c, src/vm/jit/stacktrace.c,
+ src/vm/jit/stacktrace.h:
+ * src/vm/jit/stacktrace.c (stacktrace_get): Changed signature to
+ take again a stackframeinfo_t. (stacktrace_get_current): New
+ function. (stacktrace_stackframeinfo_add): Use
+ threads_get_current_stackframeinfo.
+ (stacktrace_stackframeinfo_remove): Likewise.
+ (stacktrace_first_nonnull_classloader): Likewise.
+ (stacktrace_getClassContext): Likewise.
+ (stacktrace_get_current_class): Likewise. (stacktrace_get_stack):
+ Likewise.
+ * src/vm/jit/stacktrace.h (stacktrace_get): Changed signature.
+ (stacktrace_get_current): New function.
- * src/vm/Makefile.am (noinst_LTLIBRARIES): Reformatted.
+ * src/mm/cacao-gc/gc.c (gc_collect): Replaced stacktrace_get with
+ stacktrace_get_current.
+ * src/native/vm/cldc1.1/java_lang_Throwable.c (fillInStackTrace):
+ Likewise.
+ * src/native/vm/gnu/java_lang_VMThrowable.c (fillInStackTrace):
+ Likewise.
+ * src/native/vm/sun/jvm.c (JVM_FillInStackTrace): Likewise.
+
+ * src/threads/native/threads.h (STACKFRAMEINFO): Removed.
+ (threads_get_current_stackframeinfo): New function.
+ (threads_set_current_stackframeinfo): Likewise.
+ * src/threads/none/threads.h: Likewise.
+
+ * src/threads/threads-common.c (threads_dump) [ENABLE_GC_CACAO]:
+ Added code to suspend and resume the thread (NOTE: Not tested!).
+ (threads_thread_print_stacktrace): Rewritten to work again.
+ [fa23c7f74264]
+
+ * src/mm/boehm.c, src/mm/codememory.c, src/native/jni.c,
+ src/native/localref.c, src/native/native.c,
+ src/native/vm/nativevm.c, src/threads/native/threads.c, src/threads
+ /threads-common.c, src/vm/builtin.c, src/vm/exceptions.c,
+ src/vm/finalizer.c, src/vm/jit/jit.c,
+ src/vm/jit/optimizing/recompile.c, src/vm/package.c,
+ src/vm/primitive.c, src/vm/properties.c, src/vm/signal.c,
+ src/vm/string.c, src/vmcore/classcache.c, src/vmcore/linker.c,
+ src/vmcore/loader.c, src/vmcore/options.c, src/vmcore/options.h,
+ src/vmcore/primitivecore.c, src/vmcore/suck.c, src/vmcore/utf8.c:
+ * src/vmcore/options.c (opt_TraceSubsystemInitialization): Added.
+ * src/vmcore/options.h (TRACESUBSYSTEMINITIALIZATION): New macro.
+
+ * src/mm/boehm.c, src/mm/codememory.c, src/native/jni.c,
+ src/native/localref.c, src/native/native.c,
+ src/native/vm/nativevm.c, src/threads/native/threads.c, src/threads
+ /threads-common.c, src/vm/builtin.c, src/vm/exceptions.c,
+ src/vm/finalizer.c, src/vm/jit/jit.c,
+ src/vm/jit/optimizing/recompile.c, src/vm/package.c,
+ src/vm/primitive.c, src/vm/properties.c, src/vm/signal.c,
+ src/vm/string.c, src/vmcore/classcache.c, src/vmcore/linker.c,
+ src/vmcore/loader.c, src/vmcore/primitivecore.c, src/vmcore/suck.c,
+ src/vmcore/utf8.c: Added TRACESUBSYSTEMINITIALIZATION to the *_init
+ functions.
+ [6d9f949cf40f]
-2006-03-28 10:21 twisti
+ * src/vmcore/options.c, src/vmcore/options.h:
+ * src/vmcore/options.c: Use int instead of int32_t for opt_*
+ variables.
+ * src/vmcore/options.h: Likewise.
+ [4df71b1bfc9e]
- * src/native/vm/VMClassLoader.c (loadClass): Smaller changes.
+2008-02-17 Edwin Steiner <edwin.steiner@gmx.net>
-2006-03-28 09:41 twisti
+ * contrib/vmlog/vmlog_cacao.c:
+ * contrib/vmlog/vmlog_cacao.c (vmlog_cacao_do_log): Deal with
+ m->class == NULL.
+ [0bb3cb112e99]
- * src/native/native.c (dummynativetable): Renamed getModifiers
- functions to getModifiersInternal due to GNU Classpath VM interface
- changes.
- * src/native/vm/Constructor.c (getModifiers): Renamed to
- getModifiersInternal.
- * src/native/vm/Field.c (getModifiers): Likewise.
- * src/native/vm/Method.c (getModifiers): Likewise.
-
-2006-03-27 11:37 twisti
-
- * src/vm/class.c: Don't initialize classes to NULL.
-
- * src/vm/loader.c (loader_load_all_classes): Added NDEBUG.
- * src/vm/builtin.c (builtin_new): Likewise.
- * src/vm/jit/codegen-common.c (codegen_createnativestub): Likewise.
- (codegen_disassemble_nativestub): Likewise.
- * src/vm/jit/codegen-common.h (codegen_disassemble_nativestub):
- Likewise.
- * src/vm/jit/stack.c (stack_print): Likewise.
- * src/vm/jit/stack.h (stack_print, show_icmd_method, show_icmd_block)
- (show_icmd): Likewise.
- * src/vm/exceptions.c (exceptions_handle_exception): Likewise.
- * src/vm/linker.c (link_class_intern): Likewise.
- * src/cacao/cacao.c (main): Likewise.
-
- * src/vm/jit/x86_64/codegen.c: Likewise.
- * src/vm/jit/x86_64/asmpart.S (asm_vm_call_method): Likewise.
- * src/vm/jit/x86_64/Makefile.am (DISASS_SOURCES): Added. Put into
- ENABLE_DISASSEMBLER.
-
- * src/vm/jit/jit.c (jit_compile_intern): Added ENABLE_LOOP.
- * src/vm/vm.c (vm_create): Added ENABLE_PROFILING.
- (vm_exit_handler): Likewise.
-
- * configure.ac (AC_ENABLE_SHARED, AC_DISABLE_STATIC): Removed. Set it
- manually.
- (EXPORT_SYMBOLS_FLAGS): Removed.
- (--enable-disassembler): Added.
- (--ensable-loop): Likewise.
- (--ensable-profiling): Likewise.
- (--ensable-libjvm): Likewise.
- (--ensable-inlining): Moved.
-
- * src/vm/jit/Makefile.am (LOOP_LIB): Added. Put into ENABLE_LOOP.
- (PROFILE_LIB): Put into ENABLE_PROFILING.
- * src/cacao/Makefile.am (cacao_LDFLAGS): Use -export-dynamic and let
- libtool do the work. Add -all-static for ENABLE_STATICVM.
-
- * src/lib/Makefile.am: Made it -j aware.
-
- * src/vm/resolve.c (config.h, vm/global.h): Added.
- * src/vm/classcache.c (config.h): Moved to top.
-
- * src/vm/exceptions.h: Small change.
-
-2006-03-27 11:15 twisti
-
- * src/vm/utf8.c: Removed superfluous comment.
-
-2006-03-24 11:50 motse
-
- * src/cacao/cacao.c (main): remove debug code
-
-2006-03-23 12:48 edwin
-
- * src/vm/jit/parse.h (bound_check): Renamed to CHECK_BYTECODE_INDEX,
- made
- a NOP for ENABLE_VERIFIER undefined.
- (bound_check_exclusive): Renamed to CHECK_BYTECODE_INDEX_EXCLUSIVE,
- made
- a NOP for ENABLE_VERIFIER undefined.
-
- * src/vm/jit/parse.c (fillextable): Cleaned up.
- (bound_check): Renamed to CHECK_BYTECODE_INDEX.
- (bound_check_exclusive): Renamed to CHECK_BYTECODE_INDEX_EXCLUSIVE.
- (parse): Only do checks if ENABLE_VERIFIER is defined.
-
-2006-03-23 11:22 edwin
-
- * src/vm/jit/parse.c (CHECK_END_OF_BYTECODE): Added a macro for
- checking
- the end of the bytecode that becomes a NOP if ENABLE_VERIFIER is
- undefined.
-
-2006-03-23 02:06 edwin
-
- * src/vm/jit/parse.c (parse): Uncuddled else's.
-
-2006-03-23 00:56 edwin
-
- * src/vm/jit/powerpc/darwin/md-asm.h (_asm_replacement_out)
- (_asm_replacement_in, _replace_me): Added #defines for Darwin.
-
-2006-03-23 00:30 edwin
-
- * src/vm/jit/stack.h (CHECK_STACK_DEPTH): Added. Uses goto to a common
- label for stack depth mismatches.
- (MARKREACHED): Use CHECK_STACK_DEPTH, which becomes a NOP if
- ENABLE_VERIFIER is undefined.
-
- * src/vm/jit/stack.c (anaylse_stack): Use CHECK_STACK_DEPTH.
- Added common label `throw_stack_depth_error` for stack depth
- mismatches.
- Uncuddled else's.
-
-2006-03-23 00:08 edwin
-
- * src/vm/global.h (TYPECHECK_STACK_COMPCAT): Replaced by
- ENABLE_VERIFIER.
- The separation made no sense, anyway.
-
- * src/vm/jit/stack.c (TYPECHECK_STACK_COMPCAT): Replaced by
- ENABLE_VERIFIER.
- (analyse_stack): Removed code duplication by branching to a common
- label
- for all computational category errors: throw_stack_category_error.
-
-2006-03-22 23:51 edwin
-
- * src/vm/jit/stack.h (BBEND): Inlined this macro (used only once) at
- its
- call site in stack.c.
-
- * src/vm/jit/stack.c (analyse_stack): Inlined BBEND macro and cleaned
- up
- the code.
-
-2006-03-22 23:29 edwin
-
- * src/vm/jit/stack.c (analyse_stack): Removed obsolete label
- `icmd_store`.
-
-2006-03-22 23:27 edwin
-
- * src/vm/jit/jit.h (ICMD_READONLY_ARG, ICMD_CLEAR_ARGREN): Removed.
-
- * src/vm/jit/stack.c (analyse_stack): Removed obsolete argument
- renaming.
-
- * src/vm/jit/verify/typecheck.c (verify_basic_block): Removed
- ICMD_READONLY_ARG and ICMD_CLEAR_ARGREN.
-
-2006-03-22 23:17 edwin
-
- * src/vm/jit/stack.h (TYPE_VERIFYERROR): Changed to CHECK_BASIC_TYPE.
- This
- macro now becomes a NOP if ENABLE_VERIFIER is undefined. Otherwise it
- uses
- a goto to the common label throw_stack_type_error in order to save
- space.
-
- * src/vm/jit/stack.c (analyse_stack): Added variable `expectedtype`
- for use
- by CHECK_BASIC_TYPE. Added label throw_stack_type_error.
+ * Merged the "edwin-replacement" branch that I pushed accidentally.
+ [a96003ee3eda]
-2006-03-22 20:59 edwin
-
- * src/vm/jit/i386/asmpart.S (asm_vm_call_method): Save/restore stack
- pointer
- properly. Fixed copy&paste error in restoring callee-save registers.
-
-2006-03-22 18:32 edwin
-
- * src/vm/jit/stack.c (analyse_stack): Added throw_stack_overflow
- label.
-
- * src/vm/jit/stack.h (CHECKOVERFLOW): Make this a NOP if
- ENABLE_VERIFIER
- is undefined.
- (REQUIRE): Use #if defined(...)
+ * src/vm/signal.c:
+ * src/vm/signal.c (signal_handle): vmlog signal type.
+ [a73070c07207]
-2006-03-22 17:25 edwin
+ * src/vm/signal.c:
+ * src/vm/signal.c (signal_handle): vmlog signal type.
+ [4d5807b92748]
- * src/vm/jit/stack.h (REQUIRE): Made a NOP if ENABLE_VERIFIER is
- undefined.
-
- * src/vm/jit/stack.c (analyse_stack): Only define
- throw_stack_underflow
- if ENABLE_VERIFIER is defined.
- (jit_type): Do not define that for NDEBUG.
+ * src/vm/jit/replace.c:
+ * src/vm/jit/replace.c (md_pop_stackframe): New function.
+ (md_push_stackframe): New function. (replace_pop_activation_record):
+ Factored out popping of the stack frame into md_pop_stackframe.
+ (replace_push_activation_record): Factored out pushing of the stack
+ frame into md_push_stackframe.
+ [32ee42dff4a2]
-2006-03-22 17:14 edwin
+2008-02-16 Edwin Steiner <edwin.steiner@gmx.net>
- * src/vm/jit/stack.h (REQUIRE): Avoid duplication of exception
- throwing code.
-
- * src/vm/jit/stack.c (analyse_stack): Added label
- throw_stack_underflow
- for the REQUIRE macro.
+ * src/vm/jit/code.c, src/vm/jit/code.h:
+ * src/vm/jit/code.h (code_codeinfo_println): New debugging helper.
+ * src/vm/jit/code.c (code_codeinfo_println): Likewise.
+ [97ae058719af]
-2006-03-22 15:30 edwin
+ * contrib/vmlog/vmlog_cacao.c, contrib/vmlog/vmlog_cacao.h:
+ * contrib/vmlog/vmlog_cacao.h (vmlog_cacao_signl_type): New
+ function.
+ * contrib/vmlog/vmlog_cacao.c (vmlog_cacao_signl_type): Likewise.
+ [ae50a5fdf56f]
- * src/vm/jit/powerpc/md.c (DISASSINSTR): #ifdef'ed
- * src/vm/jit/alpha/md.c (DISASSINSTR): #ifdef'ed
- * src/vm/jit/i386/md.c (DISASSINSTR): #ifdef'ed
- * src/vm/jit/x86_64/md.c (DISASSINSTR): #ifdef'ed
- * src/vm/jit/mips/md.c (DISASSINSTR): #ifdef'ed
+2008-02-15 Edwin Steiner <edwin.steiner@gmx.net>
-2006-03-22 12:35 edwin
+ * src/vmcore/options.c:
+ * src/vmcore/options.c (TraceJavaCalls): Remove this option when
+ vmlog is enabled. (It does not have the expected effect then).
+ [2015ddd5c931]
- * src/vm/jit/inline/inline.c (stack_depth): Moved here from
- inline_debug.c.
- (NDEBUG): Put debug stuff inside #ifndef NDEBUG.
-
- * src/vm/jit/inline/inline_debug.c (stack_depth): Moved to inline.c
+ * contrib/vmlog/vmlog.c, contrib/vmlog/vmlog.h,
+ contrib/vmlog/vmlog_cacao.c, contrib/vmlog/vmlog_cacao.h,
+ src/cacaoh/dummy.c, src/vm/vm.c, src/vmcore/options.c:
+ * src/vmcore/options.c (options_xx): Integrated vmlog options
+ handling.
+ * src/vm/vm.c (vm_create): Changed vmlog init interface.
+ * src/cacaoh/dummy.c (vmlog_cacao_set_prefix,
+ vmlog_cacao_set_stringprefix, vmlog_cacao_set_ignoreprefix): Dummies
+ added.
+ * contrib/vmlog/vmlog.h, contrib/vmlog/vmlog.c,
+ contrib/vmlog/vmlog_cacao.h, contrib/vmlog/vmlog_cacao.c: Changed
+ vmlog init interface.
+ [921f7f0fd054]
+
+ * contrib/vmlog/vmlog_cacao.c, contrib/vmlog/vmlog_cacao.h:
+ * contrib/vmlog/vmlog_cacao.c, contrib/vmlog/vmlog_cacao.h: Replaced
+ the old java_objectheader with java_object_t. Adapted lock function
+ calls. This makes cacao compile with --enable-vmlog again.
+ [e7178d529ced]
+
+2008-02-15 Peter Molnar <pm@complang.tuwien.ac.at>
+
+ * src/vm/jit/jit.h, src/vm/jit/optimizing/Makefile.am,
+ src/vm/jit/optimizing/ssa.c, src/vm/jit/optimizing/ssa2.c,
+ src/vm/jit/optimizing/ssa2.h, src/vm/jit/optimizing/ssa3.c,
+ src/vm/jit/python.c:
+ * src/vm/jit/jit.h (FOR_EACH_BASICBLOCK, FOR_EACH_SUCCESSOR,
+ FOR_EACH_PREDECESSOR, FOR_EACH_INSTRUCTION, basicblock_reached): New
+ symbols.
+ * src/vm/jit/optimizing/Makefile.am (SSA_SOURCES) [ENABLE_SSA]: AddeAd
+ ssa3.c
+ * src/vm/jit/optimizing/ssa.c: Adapted for ssa3.c.
+ * src/vm/jit/optimizing/ssa2.c: Added copyright header.
+ * src/vm/jit/optimizing/ssa3.c: New file. Yet another SSA
+ transofrmation algorithm prototype.
+ * src/vm/jit/python.c: Removed wrappers for creating variables and
+ instructions because they were misdesigned.
+ * src/vm/jit/optimizing/ssa2.h: Removed.
+ [ceb76d8a7b2b]
+
+2008-02-15 twisti <twisti@vulture.theobroma-systems.com>
+
+ * src/vmcore/field.c:
+ * src/vmcore/field.c (field_print): Print offset for non-static
+ fields.
+ [c77728b36b0d]
+
+2008-02-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/vm/jit/powerpc/codegen.c, src/vm/jit/powerpc/codegen.h:
+ * src/vm/jit/powerpc/codegen.h (MI_and, MI_anddot, MI_andi,
+ MI_lwarx) (MI_or, MI_ordot, MI_ori, MI_subf, MI_subfdot,
+ MI_stwcxdot, MI_sync): New macros, these machine instruction macros
+ should make it easier to understand them.
+
+ * src/vm/jit/powerpc/codegen.c: Use new MI macros.
+ [96c26cc7065f]
+
+2008-02-14 Peter Molnar <pm@complang.tuwien.ac.at>
+
+ * src/vm/jit/optimizing/dominators.c:
+ * src/vm/jit/optimizing/dominators.c: Adapted for changes in
+ src/mm/dumpmemory.h.
+ [6a888becb172]
+
+2008-02-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/threads/native/threads.c:
+ * src/threads/native/threads.c (threads_impl_thread_free): Use
+ vm_abort_errnum. (threads_list_lock): Likewise.
+ (threads_list_unlock): Likewise. (threads_mutex_gc_lock): Likewise.
+ (threads_mutex_gc_unlock): Likewise. (threads_mutex_join_lock):
+ Likewise. (threads_mutex_join_unlock): Likewise.
+ (threads_impl_thread_start): Likewise.
+ [b6e1edd8c04e]
+
+ * src/vm/vm.c, src/vm/vm.h:
+ * src/vm/vm.c (vm_abort_errnum): New function. (vm_abort_errno): Use
+ vm_abort_errnum.
+ * src/vm/vm.h (vm_abort_errnum): Added.
+ [60d2963cf5a0]
+
+ * src/vm/vm.c, src/vm/vm.h:
+ * src/vm/vm.c (vm_abort_errno): New function. (vmcore/system.h):
+ Added. (vm_abort): Use system_abort.
+
+ * src/vm/vm.h (stdint.h): Added. (vm_abort_errno): Likewise.
+ [7437e7e4efd6]
+
+ * configure.ac, src/vmcore/system.h:
+ * configure.ac (AC_CHECK_FUNCS): Added abort.
+
+ * src/vmcore/system.h (system_abort): New function.
+ (system_strerror): Likewise.
+ [fb6e241c3df9]
+
+ * tests/regression/Makefile.am,
+ tests/regression/assertion/Makefile.am,
+ tests/regression/codepatching/Makefile.am,
+ tests/regression/jasmin/Makefile.am,
+ tests/regression/native/Makefile.am,
+ tests/regression/resolving/Makefile.am:
+ * tests/regression/Makefile.am: Always use the same bootclasspath
+ for different configurations, it does not matter.
-2006-03-22 09:19 edwin
+ * tests/regression/assertion/Makefile.am,
+ tests/regression/codepatching/Makefile.am,
+ tests/regression/jasmin/Makefile.am,
+ tests/regression/native/Makefile.am,
+ tests/regression/resolving/Makefile.am: Likewise
+ [4574d7b390ca]
- * src/vm/jit/inline/inline_debug.c (debug_dump_stack): Fixed warning
- on
- platforms that don't define NULL as a pointer.
+ * * Merged with 3683e6f66d90.
+ [ac5846955a0b]
-2006-03-22 01:22 edwin
+ * configure.ac, tests/regression/Makefile.am:
+ * configure.ac (AC_CONFIG_FILES): Re-enabled resolving since Edwin
+ fixed the tests.
+ * tests/regression/Makefile.am: Likewise.
+ [37af3c98ade8]
+
+2008-02-11 Edwin Steiner <edwin.steiner@gmx.net>
+
+ * tests/regression/resolving/TestController.java,
+ tests/regression/resolving/test_instance_subtype_violated.java, test
+ s/regression/resolving/test_param_loading_constraint_violated.java, t
+ ests/regression/resolving/test_param_loading_constraint_violated_der
+ ived.java,
+ tests/regression/resolving/test_param_subtype_violated.java,
+ tests/regression/resolving/test_return_subtype_ok.java,
+ tests/regression/resolving/test_return_subtype_violated.java, tests/
+ regression/resolving/test_retval_loading_constraint_violated.java,
+ tests/regression/resolving/test_simple_lazy_load.java:
+ * tests/regression/resolving/TestController.java: Better error
+ messages and more convenience methods (needed for following adaption
+ of tests).
+ [a6f28893a706]
+
+2008-02-14 Peter Molnar <pm@complang.tuwien.ac.at>
+
+ * src/toolbox/Makefile.am, src/toolbox/bitvector.h, src/toolbox/set.c,
+ src/toolbox/set.h, src/vm/jit/allocator/simplereg.c,
+ src/vm/jit/cfg.c, src/vm/jit/cfg.h, src/vm/jit/jit.c,
+ src/vm/jit/jit.h, src/vm/jit/optimizing/Makefile.am,
+ src/vm/jit/optimizing/dominators.c,
+ src/vm/jit/optimizing/dominators.h, src/vm/jit/optimizing/ssa.c,
+ src/vm/jit/optimizing/ssa2.c, src/vm/jit/optimizing/ssa2.h,
+ src/vm/jit/python.c, src/vm/jit/python.h, src/vm/jit/show.c:
+ * src/toolbox/Makefile.am (libtoolbox_la_SOURCES): Added set.[ch]
+ * src/toolbox/bitvector.h: Added missing include
+
+ * src/toolbox/set.c, src/toolbox/set.h: New file. Set (of pointers)
+ implementation.
- * src/vm/jit/inline/inline.c (relocate_stack_ptr_inter,
- rewrite_method):
- Fixed warnings.
-
- * src/vm/jit/inline/inline_debug.c (DEBUG_SLOT, dump_inline_tree):
- Fixed warnings.
+ * src/vm/jit/allocator/simplereg.c [ENABLE_SSA]: Fix for SSA.
-2006-03-21 14:07 twisti
+ * src/vm/jit/cfg.c, src/vm/jit/cfg.h (cfg_insert_successors,
+ cfg_add_root): New functions. (cfg_build): Using controlflow
+ constants rather than opcodes, fixed multiple
+ predecessors/successors problem.
- * src/vm/jit/i386/codegen.h (ALIGNCODENOP): Added.
-
- * src/vm/jit/i386/codegen.c (codegen): Renamed to parentargs_base to
- stackframesize. Align stack to 16-bytes.
- (ICMD_GOTO): Use ALIGNCODENOP.
-
- * src/vm/jit/i386/asmpart.S (asm_vm_call_method): Align stack to
- 16-bytes. Use register defines for better readability.
+ * src/vm/jit/jit.c, src/vm/jit/jit.h: Added various inline accessors
+ for varinfo and instruction. (basicblock [ENABLE_SSA]): Added new
+ fields.
-2006-03-21 11:58 twisti
-
- * src/vm/jit/Makefile.am: Removed ifconv. Again...
-
-2006-03-21 11:50 twisti
-
- * configure.ac (AC_INIT): Changed cvs to svn.
- (--enable-inlining): Added.
-
- * src/vm/jit/Makefile.am (DIST_SUBDIRS): Added ifconv.
- (ENABLE_IFCONV): Added. Use IFCONV_LIB.
- (USE_INLINING): Renamed to ENABLE_INLINING.
-
-2006-03-21 07:57 edwin
-
- * src/vm/jit/alpha/codegen.c (codegen): Comment 16-byte stack
- alignment.
-
- * src/vm/jit/alpha/asmpart.S (asm_replacment_out): Fix comment about
- stack layout.
-
-2006-03-21 07:42 edwin
-
- * src/vm/jit/alpha/asmpart.S (REPLACEMENT_ROOM): Fixed deleted
- characters.
-
-2006-03-21 04:14 edwin
-
- * src/vm/jit/inline/Makefile.am (AM_CPPFLAGS): Added OS include dir.
-
-2006-03-21 03:15 edwin
-
- * src/vm/jit/inline/inline_debug.c: Added file.
-
-2006-03-21 00:13 edwin
-
- * src/vm/jit/inline/inline.c: Committed the inliner. This code works
- but
- it is still in prototyping stage.
-
- * src/vm/jit/parse.c (parse): Added (#if 0-ed) code for storing the
- exception table that the inliner uses.
-
-2006-03-21 00:04 motse
-
- major rework of jvmti. now we have three processes in jvmti mode.
- there are still many debug statements
-
-2006-03-20 23:56 edwin
-
- * src/vm/jit/code.h (codeinfo): Comment that profiling fields
- will be removed.
-
-2006-03-20 15:41 edwin
-
- * src/vm/jit/alpha/asmpart.S (asm_replacement_out): 16-byte align
- stack.
-
-2006-03-20 15:37 edwin
-
- * doc/stack_frames.txt: Some fixes, described PowerPC stack frames.
-
-2006-03-20 15:12 twisti
-
- * src/vm/jit/alpha/codegen.c (codegen): Align stack to 16-bytes in
- replacement stub.
- * src/vm/jit/alpha/asmpart.S (asm_replacement_out): Load GP before
- symbolic jumps.
-
-2006-03-20 14:43 twisti
-
- * autogen.sh, src/boehm-gc/autogen.sh: Prefix all shell variables with
- CACAO_ to prevent problems on OpenBSD.
-
-2006-03-20 14:27 twisti
-
- * src/boehm-gc/darwin_stop_world.c,
- src/boehm-gc/threadlibs.c,
- src/boehm-gc/doc/README.changes,
- src/boehm-gc/doc/README,
- src/boehm-gc/doc/gcinterface.html,
- src/boehm-gc/mark.c,
- src/boehm-gc/include/gc.h,
- src/boehm-gc/include/gc_cpp.h,
- src/boehm-gc/include/gc_pthread_redirects.h,
- src/boehm-gc/include/leak_detector.h,
- src/boehm-gc/include/gc_config_macros.h,
- src/boehm-gc/include/private/gc_priv.h,
- src/boehm-gc/include/private/gcconfig.h,
- src/boehm-gc/include/private/gc_pmark.h,
- src/boehm-gc/include/private/gc_locks.h,
- src/boehm-gc/configure.in,
- src/boehm-gc/allchblk.c,
- src/boehm-gc/powerpc_darwin_mach_dep.s,
- src/boehm-gc/dbg_mlc.c,
- src/boehm-gc/version.h,
- src/boehm-gc/pthread_stop_world.c,
- src/boehm-gc/malloc.c,
- src/boehm-gc/headers.c,
- src/boehm-gc/pthread_support.c,
- src/boehm-gc/Makefile.direct,
- src/boehm-gc/os_dep.c,
- src/boehm-gc/Makefile.am,
- src/boehm-gc/dyn_load.c,
- src/boehm-gc/alloc.c,
- src/boehm-gc/misc.c: Updated to upstream version 6.7.
-
-2006-03-19 19:46 edwin
-
- * src/vm/jit/code.c (code_get_stack_frame_size): Implement stack
- alignment
- for MIPS.
-
- * src/vm/jit/mips/md.c (md_patch_replacement_point): Added.
-
- * src/vm/jit/mips/codegen.c (codegen): Handle replacement points.
- 8-byte align blocks that start with replacement points.
-
- * src/vm/jit/mips/asmpart.S (asm_replacement_out): Added.
- (asm_replacement_in): Likewise.
-
- * src/vm/jit/replace.c (replace_activate_replacement_point): Activated
- for MIPS.
- (replace_deactivate_replacement_poin): Likewise.
- (replace_me): Likewise.
- (replace_read_executionstate): MIPS also keeps returnAddress in ITMP1.
- (replace_write_executionstate): Likewise.
-
- * doc/stack_frames.txt: Documented MIPS stack frames.
-
- * src/vm/jit/powerpc/asmpart.S (asm_replacement_out): Fixed comment.
-
-2006-03-18 04:14 edwin
-
- * src/vm/jit/powerpc/md.c (md_patch_replacement_point): Added.
-
- * src/vm/jit/powerpc/codegen.c (codegen): Handle replacement points.
-
- * src/vm/jit/powerpc/asmpart.S (asm_replacement_out): Added.
- (asm_replacement_in): Likewise.
-
- * src/vm/jit/alpha/codegen.c (codegen): Added missing initialization
- of `replacementpoint`.
-
- * src/vm/jit/alpha/asmpart.S (asm_replacement_out): Store PV register.
-
- * src/vm/jit/code.c (code_get_sync_slot_count): Ported to PowerPC.
- (code_get_stack_frame_size): Likewise.
-
- * src/vm/jit/replace.c (replace_activate_replacement_point)
- (replace_deactivate_replacement_poin): Activated for PowerPC.
- (replace_read_value, replace_write_value): Added.
- (replace_read_executionstate): Ported to PowerPC, more complete
- data type handling.
- (replace_write_executionstate): Ported to Ported, more complete
- data type handling, fixed missing initialization of `topslot`.
- (replace_me): Activated for PowerPC.
-
-2006-03-16 23:32 edwin
-
- * src/vm/jit/alpha/codegen.c (codegen): Use `disp` for displacement.
-
-2006-03-16 21:12 edwin
-
- * src/vm/jit/alpha/md.c (Changes): Added my name.
-
-2006-03-16 21:11 edwin
-
- * src/vm/jit/alpha/md.c (md_patch_replacement_point): Added.
- (vim boilerplate): Added.
-
- * src/vm/jit/replace.c (replace_activate_replacement_point)
- (replace_deactivate_replacement_point, replace_me):
- Activated replacement for alpha.
-
-2006-03-16 20:31 edwin
-
- * src/vm/jit/alpha/asmpart.S (asm_replacement_out)
- (asm_replacement_in): Use stt/ldt for float registers.
-
- * src/vm/jit/alpha/codegen.c (codegen): Put replacement-out stub
- generation in correct scope. Fix warnings.
-
-2006-03-16 19:55 edwin
-
- * src/vm/jit/alpha/codegen.c (codegen): Handle replacement points.
-
- * src/vm/jit/alpha/asmpart.S (asm_replacement_out): Added.
- (asm_replacement_in): Likewise.
- (vim boilerplate): Added.
-
-2006-03-16 19:36 edwin
-
- * src/vm/jit/replace.c (replace_read_executionstate)
- (replace_write_executionstate): Position of synchronization slot must
- be calculated from low addresses up, instead of backwards from stack
- base.
-
-2006-03-16 19:00 edwin
-
- * src/vm/jit/replace.c (replace_create_replacement_points): Set
- isleafmethod.
-
-2006-03-16 18:57 edwin
-
- * src/vm/jit/code.c (code_codeinfo_new): Set codeinfo.isleafmethod.
-
-2006-03-16 18:44 edwin
-
- * src/vm/jit/x86_64/codegen.c (codegen): Reuse `disp` variable.
- * src/vm/jit/i386/codegen.c (codegen): Likewise.
-
-2006-03-16 18:38 edwin
-
- * src/vm/jit/i386/asmpart.S (asm_replacement_out): Added pv.
- * src/vm/jit/x86_64/asmpart.S (asm_replacement_out): Added pv.
-
- * src/vm/jit/replace.c (replace_read_executionstate)
- (replace_write_executionstate): Prepared for alpha. Some cleanup.
-
- * src/vm/jit/replace.c (replace_write_executionstate):
- Calculate stack pointer from given stack base.
- (replace_executionstate_println): Added pv.
- (replace_sourcestate_println): Added stackbase.
-
- * src/vm/jit/replace.h (executionstate): Added pv.
- (sourcestate): Added stackbase.
-
- * src/vm/jit/tools/genoffsets.c (main): Added offes_pv.
-
- * doc/stack_frames.txt: Clarifications.
+ * src/vm/jit/optimizing/Makefile.am (SSA_SOURCES): Added ssa2.c.
+ * src/vm/jit/optimizing/dominators.c,
+ src/vm/jit/optimizing/dominators.h: Added cleaned up dominator tree
+ and dominance frontier implementation.
-2006-03-16 18:32 edwin
+ * src/vm/jit/optimizing/ssa.c: Hooked in cleaned up ssa and
+ dominators.
- * src/vm/jit/code.c (code_get_sync_slot_count): No synchronization
- slots
- if USE_THREADS is undefined.
- (code_get_stack_frame_size): Added x86_64 alignment slot.
+ * src/vm/jit/optimizing/ssa2.c, src/vm/jit/optimizing/ssa2.h: New
+ (temporary) files. Added cleanead up ssa implementation. Currently
+ renames only locals and passes all dacapo benchmarks.
-2006-03-16 17:29 edwin
+ * src/vm/jit/python.c. src/vm/jit/python.h: Changed a lot.
- * doc/stack_frames.txt: Added description of x86_64 stack frames.
+ * src/vm/jit/show.c (show_basicblock): Support NULL
+ bptr->javalocals.
+ [3683e6f66d90]
-2006-03-16 17:24 twisti
+2008-02-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
- * src/vm/jit/mips/md.c (sys/cachectl.h): Added.
- (md_cacheflush, md_icacheflush, md_dcacheflush): New method.
-
- * src/vm/jit/mips/codegen.c: Use new exception stubs.
- * src/vm/jit/mips/codegen.h (gen_nullptr_check, gen_bound_check)
- (gen_div_check): Use new add reference functions.
-
- * src/vm/jit/mips/patcher.c: Replaced cacheflush with md_icacheflush
- or md_dcacheflush.
-
- * src/vm/jit/mips/asmpart.S: (asm_calljavafunction): Removed.
- (asm_calljavafunction2): Renamed to asm_vm_call_method. Pointer to
- vm_arg block is now in a2. Use new defines.
+ * * Merged with fd492236e7ac.
+ [fb5bf733f6ef]
-2006-03-16 17:22 edwin
+2008-02-10 Christian Thalinger <twisti@complang.tuwien.ac.at>
- * doc/stack_frames.txt: Added description of alpha stack frames.
+ * src/native/native.c, src/native/native.h, src/native/vm/Makefile.am,
+ src/native/vm/cldc1.1/com_sun_cldchi_jvm_JVM.c,
+ src/native/vm/cldc1.1/java_lang_Runtime.c,
+ src/native/vm/gnu/java_lang_VMRuntime.c,
+ src/native/vm/java_lang_Runtime.c,
+ src/native/vm/java_lang_Runtime.h, src/native/vm/sun/jvm.c:
+ * src/native/native.c (native_library_load): New function.
+ * src/native/native.h: Likewise.
-2006-03-16 17:16 twisti
+ * src/native/vm/java_lang_Runtime.c: Removed.
+ * src/native/vm/java_lang_Runtime.h: Likewise.
- * src/vm/vm.c (version): Check if __VERSION__ is defined.
+ * src/native/vm/Makefile.am (libnativevm_la_SOURCES): Removed
+ java_lang_Runtime.[ch].
-2006-03-16 15:36 twisti
+ * src/native/vm/cldc1.1/com_sun_cldchi_jvm_JVM.c
+ (native/vm/java_lang_Runtime.h): Removed. (loadLibrary): Implemented
+ directly.
- * src/vm/jit/x86_64/md.c (md_cacheflush): New method.
+ * src/native/vm/cldc1.1/java_lang_Runtime.c (vm/types.h): Removed.
+ (stdint.h): Added. (mm/gc-common.h): Likewise.
+ (native/vm/java_lang_Runtime.h): Removed. (vm/vm.h): Added.
+ (vmcore/utf8.h): Likewise. (exitInternal): Implemented directly.
+ (freeMemory): Likewise. (totalMemory): Likewise. (gc): Likewise.
-2006-03-16 15:28 edwin
+ * src/native/vm/gnu/java_lang_VMRuntime.c
+ (native/vm/java_lang_Runtime.h): Removed. (finalizeOnExit): Added.
+ (exit): Likewise. (freeMemory): Likewise. (totalMemory): Likewise.
+ (gc): Likewise. (runFinalizersOnExit): Likewise. (nativeLoad):
+ Likewise.
- * src/vm/jit/alpha/codegen.c (codegen): Cast to avoid compiler
- warning.
+ * src/native/vm/sun/jvm.c (native/vm/java_lang_Runtime.h): Removed.
+ (JVM_StartThread): Implemented directly. (JVM_SetThreadPriority):
+ Likewise. (JVM_Sleep): Likewise. (JVM_IsInterrupted): Likewise.
+ [ca8d8d2c5849]
-2006-03-16 15:19 twisti
+2008-02-09 Christian Thalinger <twisti@complang.tuwien.ac.at>
- * src/vm/jit/alpha, src/vm/jit/alpha/linux,
- src/vm/jit/alpha/linux/.cvsignore, src/vm/jit/alpha/freebsd,
- src/vm/jit/alpha/freebsd/.cvsignore, src/vm/jit/alpha/.cvsignore:
- Added TAGS.
+ * m4/annotations.m4:
+ * m4/annotations.m4 (AC_CHECK_ENABLE_ANNOTATIONS): Changed default
+ value for different configurations.
+ (AC_CHECK_ENABLE_ANNOTATIONS_DEFAULT): New function.
+ [4549e77186f0]
-2006-03-16 15:16 twisti
+ * m4/jni.m4:
+ * m4/jni.m4 (AC_CHECK_ENABLE_JNI): Changed the comment for the
+ default value.
+ [a447b8c5bb58]
- * src/vm/jit/alpha/md.c (md_cacheflush, md_icacheflush): New method.
- * src/vm/jit/alpha/asmpart.S (asm_sync_instruction_cache): Renamed to
- asm_cacheflush.
- * src/vm/jit/alpha/patcher.c: Replaced asm_sync_instruction_cache with
- md_icacheflush.
+ * src/vmcore/loader.h:
+ * src/vmcore/loader.h (classbuffer): Use stdint data types.
+ [1e47ce633f93]
-2006-03-16 14:29 twisti
+ * src/threads/native/threads.c:
+ * src/threads/native/threads.c (threads_sigsuspend_handler):
+ Commented.
+ [d930c08c092e]
- * src/vm/jit/i386/md.c (md_cacheflush): New method.
+ * src/vmcore/options.c:
+ * src/vmcore/options.c [HAVE_STRING_H] (string.h): Removed.
+ (vmcore/system.h): Added. (options_get): Use system_* functions.
+ (options_xxusage): Likewise.
+ [f88473e0fdfb]
-2006-03-16 14:23 twisti
+ * src/native/jni.c:
+ * src/native/jni.c (_Jv_JNI_NewLocalRef): Fixed compiler warning.
+ (_Jv_JNI_GetObjectField): Likewise. (_Jv_JNI_GetStaticObjectField):
+ Likewise. (_Jv_JNI_GetDirectBufferAddress): Likewise.
+ [e101e1fc5cae]
- * src/vm/jit/powerpc, src/vm/jit/powerpc/linux,
- src/vm/jit/powerpc/linux/.cvsignore, src/vm/jit/powerpc/darwin,
- src/vm/jit/powerpc/darwin/.cvsignore, src/vm/jit/powerpc/.cvsignore:
- Added TAGS.
+ * src/mm/memory.c:
+ * src/mm/memory.c (memory_thread): Fixed compiler warning.
+ [17b0b5f95809]
-2006-03-16 14:19 twisti
+2008-02-13 Roland Lezuo <tbfg@complang.tuwien.ac.at>
- * src/vm/jit/jit.h (md_cacheflush, md_icacheflush, md_dcacheflush):
- Added.
- * src/vm/jit/asmpart.h (asm_sync_instruction_cache): Removed.
-
- * src/vm/jit/codegen-common.c (codegen_finish): Call md_cacheflush for
- the dynamic superinstructions (intrp) and the generated code.
-
- * src/vm/jit/powerpc/codegen.c: Use new exception stubs.
- * src/vm/jit/powerpc/codegen.h (gen_nullptr_check, gen_bound_check):
- Use new add reference functions.
-
- * src/vm/jit/powerpc/md.c (vm/jit/asmpart.h): Added.
- (md_cacheflush, md_icacheflush, md_dcacheflush): New function.
- * src/vm/jit/powerpc/patcher.c: Use new cache flush functions.
+ * src/vm/jit/m68k/md.c, src/vm/jit/m68k/md.h:
+ (src/vm/jit/m68k/md.c): md_stacktrace_get_returnaddress needs to be
+ exported. (src/vm/jit/m68k/md.h): Likewise.
+ [fd492236e7ac]
-2006-03-16 14:00 twisti
+2008-02-13 Christian Thalinger <twisti@complang.tuwien.ac.at>
- * src/cacao/cacao.c (mm/boehm.h, mm/memory.h): Removed.
+ * src/vm/vm.c:
+ * src/vm/vm.c (version): Changed copyright message.
+ [1e10765ce305]
-2006-03-16 13:59 twisti
+2008-02-09 Christian Thalinger <twisti@complang.tuwien.ac.at>
- * src/vm/jit/intrp/engine.c (USE_spTOS): Define it for __POWERPC__,
- __POWERPC64__, __SPARC__. We know we need it there.
+ * m4/ac_prog_javac.m4, src/lib/Makefile.am,
+ tests/regression/Makefile.am,
+ tests/regression/assertion/Makefile.am,
+ tests/regression/codepatching/Makefile.am,
+ tests/regression/native/Makefile.am:
+ * m4/ac_prog_javac.m4 (AC_PROG_JAVAC): Removed jikes and
+ -bootclasspath.
-2006-03-16 13:56 twisti
+ * src/lib/Makefile.am (BOOTCLASSPATH): Added.
- * tests/regression/native/Makefile.am (AM_CPPFLAGS): Added OS_DIR.
+ * tests/regression/Makefile.am (BOOTCLASSPATH): Likewise. (JAVACMD):
+ Likewise. (JAVACCMD): Likewise.
-2006-03-16 12:53 twisti
+ * tests/regression/assertion/Makefile.am: Likewise.
+ * tests/regression/codepatching/Makefile.am: Likewise.
+ * tests/regression/native/Makefile.am: Likewise.
+ [3b3c3e5de94b]
+
+2008-02-08 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * configure.ac:
+ * configure.ac (AC_CONFIG_FILES): Removed resolving.
+ [aae21148aa9b]
+
+ * src/vm/string.c:
+ * src/vm/string.c (literalstring_free): Commented out, since it's
+ currently not used.
+ [3066b22b8c76]
+
+ * configure.ac, src/vm/assertion.c, src/vmcore/system.h:
+ * configure.ac (AC_CHECK_FUNCS): Added strlen.
+
+ * src/vm/assertion.c [HAVE_STRING_H] (string.h): Removed.
+ (vmcore/system.h): Added. (assertion_ea_da): Use system_* functions.
+ Fixed crash: use list_add_last_unsynced instead of list_add_last.
+
+ * src/vmcore/system.h (system_strdup): New function.
+ (system_strlen): Likewise.
+ [611f3dff023e]
+
+ * src/vm/jit/arm/Makefile.am, src/vm/jit/i386/Makefile.am,
+ src/vm/jit/m68k/Makefile.am, src/vm/jit/mips/Makefile.am,
+ src/vm/jit/powerpc/Makefile.am, src/vm/jit/powerpc64/Makefile.am,
+ src/vm/jit/s390/Makefile.am, src/vm/jit/sparc64/Makefile.am,
+ src/vm/jit/x86_64/Makefile.am:
+ * src/vm/jit/arm/Makefile.am (libarch_la_SOURCES): Added md.h.
+
+ * src/vm/jit/i386/Makefile.am, src/vm/jit/m68k/Makefile.am,
+ src/vm/jit/mips/Makefile.am, src/vm/jit/powerpc/Makefile.am,
+ src/vm/jit/powerpc64/Makefile.am, src/vm/jit/s390/Makefile.am,
+ src/vm/jit/sparc64/Makefile.am, src/vm/jit/x86_64/Makefile.am:
+ Likewise.
+ [a8894d776f9c]
+
+ * src/vm/jit/intrp/Makefile.am:
+ * src/vm/jit/intrp/Makefile.am ($(BUILT_SOURCES)): Use $(SHELL) to
+ call vmgenx.
+ [398ee2cea293]
+
+ * tests/regression/native/Makefile.am:
+ * tests/regression/native/Makefile.am (JAVAHFLAGS): Added.
+ [b216ffaa1e84]
+
+ * src/vm/vm.c:
+ * src/vm/vm.c (vm_call_method_objectarray): Fixed compiler warning.
+ [4849299bd8de]
+
+2008-02-07 Stefan Ring <stefan@complang.tuwien.ac.at>
+
+ * src/threads/native/lock.c, src/threads/native/lock.h,
+ src/threads/native/threads.c, src/threads/native/threads.h,
+ src/threads/threads-common.c, src/threads/threads-common.h:
+ * src/threads/native/lock.c: Fixed copyright message.
+
+ * src/threads/native/lock.h, src/threads/native/threads.c,
+ src/threads/native/threads.h, src/threads/threads-common.c,
+ src/threads/threads-common.h: Likewise.
+ [2f37becb4a5c]
+
+ * src/threads/native/lock.c:
+ * src/threads/native/lock.c (notify_flc_waiters): Another deadlock
+ fix.
+ [d283bd3bbb3d]
+
+2008-02-06 Stefan Ring <stefan@complang.tuwien.ac.at>
+
+ * src/threads/native/lock.c:
+ * src/threads/native/lock.c (lock_monitor_wait,
+ lock_monitor_notify): Bugfix for previous commit, could cause
+ threads to hang forever.
+ [c2c8e3043369]
+
+ * src/threads/native/lock.c, src/threads/native/threads.c,
+ src/threads/native/threads.h, src/vm/global.h:
+ * src/threads/native/lock.c: Implemented Sable extension to tasuki
+ lock.
+ * src/threads/native/threads.c: Likewise.
+ * src/threads/native/threads.h: Likewise.
- * src/vm/jit/tools/Makefile.am, src/vm/jit/verify/Makefile.am,
- src/vm/jit/loop/Makefile.am, src/vm/jit/profile/Makefile.am,
- src/cacao/Makefile.am, src/native/tools/Makefile.am,
- src/native/vm/Makefile.am, src/native/Makefile.am,
- src/toolbox/Makefile.am, src/mm/Makefile.am, src/cacaoh/Makefile.am
- (AM_CPPFLAGS): Added OS_DIR.
+ * src/vm/global.h: Removed hdrflags.
+ [2988182011bb]
-2006-03-16 12:03 twisti
+ * Merge (tasuki lock modification backout)
+ [a80e9dea4e55]
- * src/vm/jit/alpha/codegen.c: Use new exception stubs.
- * src/vm/jit/alpha/codegen.h (gen_nullptr_check, gen_bound_check): Use
- new add reference functions.
+ * src/threads/native/lock.c, src/vm/global.h:
+ Backed out changeset 9c85e9af47c9
+ [f79e2f05c4a1]
-2006-03-16 04:38 edwin
+2008-02-05 Christian Thalinger <twisti@complang.tuwien.ac.at>
- * src/vm/jit/replace.h (RPLPOINT_SBR): Removed obsolete flag constant.
+ * src/cacaoh/dummy.c:
+ * src/cacaoh/dummy.c (vm/exceptions.h): Added.
+ (exceptions_throw_incompatibleclasschangeerror): Fixed signature.
+ (exceptions_throw_verifyerror): Likewise.
+ (exceptions_throw_unsupportedclassversionerror): Likewise.
+ [37ec16a94863]
-2006-03-16 04:17 edwin
+ * src/vm/jit/codegen-common.c, src/vm/jit/x86_64/emit.c:
+ * src/vm/jit/codegen-common.c (codegen_reg_of_var): Removed unused
+ conditional move code. This will not be implemented in the baseline
+ compiler.
+ * src/vm/jit/x86_64/emit.c (emit_store): Likewise.
+ [458d51359eac]
- * src/vm/jit/code.c (code_codeinfo_new): Commented.
- (code_get_sync_slot_count): Added.
- (code_get_stack_frame_size): Commented.
- (code_codeinfo_free): Commented.
- (code_free_code_of_method): Commented. Some cleanup.
-
- * src/vm/jit/code.h (code_get_sync_slot_count): Added.
-
- * src/vm/jit/i386/codegen.c (codegen): Use cd->lastmcodeptr to avoid
- patching over basic block boundaries.
- * src/vm/jit/x86_64/codegen.c (codegen): Likewise.
-
- * src/vm/jit/replace.h (rplpoint): `type` and `flags` added,
- `hashlink` removed.
- (sourcestate): Added slots for synchronized methods.
-
- * src/vm/jit/replace.c (replace_create_replacement_points): Store
- basicblock
- type.
- (replace_read_executionstate, replace_write_executionstate):
- Handle 2-word locals. Special handling for BBTYPE_SBR and BBTYPE_EXH
- blocks.
- Transfer synchronization slots.
-
-2006-03-16 00:05 edwin
-
- * src/vm/jit/code.c (code_get_stack_frame_size): Deal with 4/8-byte
- stackslots.
-
- * src/vm/jit/tools/genoffsets.c (main): Offsets of intregs and
- fltregs.
-
- * src/vm/jit/i386/asmpart.S (asm_replacement_out): Renamed regs to
- intregs. Some cleanup.
-
- * src/vm/jit/replace.c (replace_activate_replacement_point)
- (replace_deactivate_replacement_point): Enabled on x86_64.
- (replace_read_executionstate, replace_write_executionstate):
- Deal with 4/8-byte stackslots. Handle float registers.
- (replace_executionstate_println, replace_sourcestate_println):
- Print register names where possible.
-
- * src/vm/jit/x86_64/md.c (md_patch_replacement_point): Added.
- (vim boilerplate): Added.
-
- * src/vm/jit/x86_64/codegen.c (codegen): Handle replacement points.
- Generate replacement-out stubs.
-
- * src/vm/jit/x86_64/asmpart.S (asm_replacement_out,
- asm_replacement_in):
- Added.
- (vim boilerplate): Added.
-
- * src/vm/jit/replace.h (executionstate): Separate registers into int
- and float registers. Some cleanup, use INT_REG_CNT, FLT_REG_CNT
- macros.
-
-2006-03-15 21:27 edwin
-
- * src/vm/jit/replace.c (replace_read_executionstate): Commented.
- (replace_write_executionstate): Likewise, and set new PC here.
- (replace_me): Target PC is now set in replace_write_executionstate.
-
-2006-03-15 20:53 edwin
-
- * src/vm/jit/code.h (codeinfo): Changed regalloc to use rplalloc
- structs.
- Added fields storing stack slot counts.
-
- * src/vm/jit/code.c, src/vm/jit/code.h (code_get_stack_frame_size):
- Added.
-
- * src/vm/jit/replace.c (replace_create_replacement_points): Store full
- allocation info for locals and stack slots in rplalloc structs. Store
- number of stack slots.
-
- * src/vm/jit/replace.c (replace_read_executionstate): Added.
- (replace_write_executionstate): Likewise.
-
- * src/vm/jit/replace.c (replace_me): Use dump memory for sourcestate.
- Read an write executionstate. Do actual replace by calling
- asm_replace_in.
-
- * src/vm/jit/replace.c (replace_replacement_point_println)
- (replace_executionstate_println): Print new fields. Show correct
- number
- of stack slots.
- (replace_sourcestate_println): Added.
-
- * src/vm/jit/replace.h (rplalloc): Added.
- (rplpoint): Changed regalloc fields to use rplalloc structs.
- (executionstate): Removed saved regs.
- (sourcestate): Added saved regs.
- (replace_executionstate_println): Now takes codeinfo* argument.
- (replace_sourcestate_println): Added.
-
-2006-03-15 20:43 edwin
-
- * doc/stack_frames.txt: Added arrows indicating increasing
- addresses/indices.
-
-2006-03-15 20:42 edwin
-
- * src/vm/jit/asmpart.h (asm_replacement_in): Added prototype.
-
-2006-03-15 20:40 edwin
-
- * src/vm/jit/i386/asmpart.S (asm_replacement_out): Save all integer
- registers,
- add space between stack frame and executionstate to accomodate
- changing stack
- frame size.
-
- * src/vm/jit/i386/asmpart.S (asm_replacement_in): Added.
-
-2006-03-15 20:38 edwin
-
- * src/vm/jit/tools/genoffsets.c (main): Added offset of pc and sp
- in executionstate.
-
-2006-03-15 17:17 twisti
-
- * src/vm/jit/i386/codegen.c: Use new exception stubs. Don't cast with
- M_MOV_IMM.
- * src/vm/jit/i386/codegen.h (M_MOV_IMM, M_IST_IMM, M_IST32_IMM)
- (M_PUSH_IMM): Added cast.
- (M_CMP, M_CMP_MEMBASE, M_CMP_IMM_MEMBASE): Added.
-
-2006-03-15 16:36 twisti
-
- * src/vm/jit/codegen-common.h (branchref): Removed.
- (codegendata): Removed xboundrefs, xnullrefs, xcastrefs, xstorerefs,
- xdivrefs and xexceptionrefs. Added exceptionrefs.
- (codegen_addxboundrefs, codegen_addxcastrefs, codegen_addxdivrefs)
- (codegen_addxstorerefs, codegen_addxnullrefs)
- (codegen_addxexceptionrefs): Removed.
- (codegen_add_arithmeticexception_ref)
- (codegen_add_arrayindexoutofboundsexception_ref)
- (codegen_add_arraystoreexception_ref)
- (codegen_add_classcastexception_ref)
- (codegen_add_nullpointerexception_ref)
- (codegen_add_fillinstacktrace_ref): New function.
- * src/vm/jit/codegen-common.c: Likewise.
-
- * src/vm/jit/dseg.h (exceptionref): New structure.
-
- * src/vm/jit/x86_64/codegen.c: Use new exception stubs. Don't cast
- with M_MOV_IMM.
- * src/vm/jit/x86_64/codegen.h (M_MOV_IMM, M_IMOV_IMM): Added cast.
-
- * src/vm/jit/stacktrace.c (stacktrace_inline_fillInStackTrace): Moved.
- * src/vm/jit/stacktrace.h (STACKTRACE_inline_arithmeticexception)
- (STACKTRACE_inline_arrayindexoutofboundsexception)
- (STACKTRACE_inline_arraystoreexception)
- (STACKTRACE_inline_classcastexception)
- (STACKTRACE_inline_nullpointerexception)
- (STACKTRACE_inline_fillInStackTrace): Added functionptr defines.
-
- * src/vm/jit/jit.h (branchref): Added.
-
-2006-03-15 12:14 edwin
-
- * doc/stack_frames.txt: Added slots for synched methods.
-
-2006-03-15 12:04 edwin
-
- * doc/stack_frames.txt: Added file.
-
- * src/vm/jit/code.h (codeinfo): Rearranged fields.
-
- * src/vm/jit/i386/md.c, src/vm/jit/i386/asmpart.S,
- src/vm/jit/replace.c:
- Comment changes.
-
-2006-03-15 11:38 edwin
-
- * src/vm/jit/i386/md.c (md_patch_replacement_point): Generalized to
- activation and deactivation of replacement points.
-
- * src/vm/jit/i386/codegen.c (codegen): Prepare machine code for
- patching replacement points.
-
- * src/vm/jit/replace.c, src/vm/jit/replace.h
- (replace_deactivate_replacement_point): Added.
-
- * src/vm/jit/replace.c
- (replace_replacement_point_println): Print machine code.
-
- * src/vm/jit/replace.h (rplpoint): Added `mcode` field.
-
-2006-03-15 11:18 twisti
-
- * src/vm/jit/i386/codegen.c (GETFIELD, PUTFIELD, PUTFIELDCONST): Use
- M_ILD32 and M_LLD32 macros.
- (patcher): Save REG_ITMP3. Don't allocate a codegendata structure,
- just do it as on Alpha.
- * src/vm/jit/i386/codegen.h (var_to_reg_lng): Added.
- (store_reg_to_var_lng): Likewise.
- (M_ILD32, M_LLD, M_LLD32, M_IST32, M_IST32_IMM, M_LST, M_LST32)
- (M_LST_IMM, M_LST32_IMM): Likewise.
-
- * src/vm/jit/i386/patcher.c: Changed position of return address due to
- saving of REG_ITMP3.
- * src/vm/jit/i386/asmpart.S (asm_wrapper_patcher): Changed due to
- saving of REG_ITMP3.
-
-2006-03-15 10:34 edwin
-
- * src/vm/jit/replace.c (replace_create_replacement_points): Don't use
- rd->locals in the interpreter -- it's NULL there.
-
-2006-03-15 05:13 edwin
-
- * src/vm/jit/codegen-common.c (codegen_finish): Removed a compiler
- warning.
+ * tests/regression/TestAnnotations.java:
+ * tests/regression/TestAnnotations.java: Fixed copyright header.
+ [e1d371396063]
-2006-03-15 05:08 edwin
-
- * src/vm/jit/replace.h, src/vm/jit/i386/md.c
- (md_patch_replacement_point):
- Fixed return type.
-
- * src/vm/jit/replace.c (replace_activate_replacement_point): Only call
- md_patch_replacement_point if ENABLE_JIT is defined.
-
-2006-03-15 04:57 edwin
-
- * src/vm/jit/replace.c (replace_activate_replacement_point): Do not
- use
- the symbol md_patch_replacement_point on platforms where it does not
- exist, yet.
-
-2006-03-15 04:43 edwin
-
- * src/vm/jit/replace.h, src/vm/jit/replace.c
- (replace_activate_replacement_point): Added.
- (replace_activate): Added prototype.
- (md_patch_replacement_point): Added prototype.
- (replace_me): Added.
- (replace_replacement_point_println): Added.
- (replace_show_replacement_points): Cleaned up.
- (replace_executionstate_println): Added.
-
- * src/vm/jit/i386/codegen.c (codegen): Generate replacement-out stubs.
-
- * src/vm/jit/codegen-common.c (codegen_finish): Resolve replacement
- points.
-
- * src/vm/jit/asmpart.h, src/vm/jit/i386/asmpart.S
- (asm_replacement_out): Added.
-
- * src/vm/method.h (executionstate): Typo fixed.
-
- * src/vm/jit/stack.c (src/vm/jit/stack.c): Minor output change.
-
- * src/vm/jit/tools/genoffsets.c (executionstate): Added size and
- offset.
-
- * src/vm/jit/i386/md.c (md_patch_replacement_point): Added.
-
-2006-03-15 01:50 edwin
-
- * src/vm/jit/replace.h, src/vm/jit/replace.c
- (replace_replacement_info_print): Renamed to
- replace_show_replacement_points.
- * src/vm/jit/stack.c: Likewise.
-
-2006-03-15 01:39 edwin
-
- * src/vm/jit/replace.c, src/vm/jit/replace.h
- (replace_create_replacement_points): Added.
- (replace_free_replacement_points): Added.
- (replace_replacement_info_print): Added.
-
- * src/vm/jit/replace.h (rplpoint): Changed fields, made fixed length.
-
- * src/vm/jit/code.h (codeinfo): Changed replacement point fields.
-
- * src/vm/jit/jit.c (jit_compile_intern): Create replacement points.
-
- * src/vm/jit/jit.c (jit_compile_intern): Use already allocated
- codeinfo
- for do-nothing methods.
-
- * src/vm/jit/code.c (code_codeinfo_free): Free replacement points.
-
- * src/vm/jit/stack.c (show_icmd_method): Print replacement points.
-
-2006-03-15 00:06 edwin
-
- * src/vm/jit/stack.c, src/vm/jit/stack.h (icmd_print_stack): Renamed
- to
- stack_print. Documented.
- (show_icmd_method, show_icmd_block, show_icmd): Documented.
- (show_icmd_block): Print basicblock.bitflags.
-
- * src/vm/jit/stack.h (MARKREACHED): Mark targets of backward branches
- as replacement points (BBFLAG_REPLACEMENT)
-
-2006-03-14 23:49 edwin
-
- * src/vm/jit/jit.h (basicblock): Added `bitflags` field. Note: The
- flags
- of this struct should really be cleaned up.
-
- * src/vm/jit/jit.h (BASICBLOCK_INIT): Added, so we have a central
- place
- where to put initialization of the fields.
-
- * src/vm/jit/parse.c (parse): Cleaned up basicblock allocation.
-
-2006-03-14 23:16 edwin
-
- * src/vm/jit/jit.h (basicblock): Comment.
-
-2006-03-14 23:00 edwin
-
- * src/vm/jit/parse.c (fillextable): Removed unused label_index.
- (parse): Likewise.
-
- * src/vm/jit/replace.h: Comment moved.
-
-2006-03-14 22:30 edwin
-
- * src/native/jvmti/jvmti.c (GetMethodLocation): Use the new
- m->code field to get to the location of the method.
-
-2006-03-14 22:16 edwin
-
- * src/vm/method.h (methodinfo): Moved `entrypoint` to `codeinfo`.
- * src/vm/loader.c (load_method): Likewise.
-
- * src/vm/loader.c (load_newly_created_array): Use codeinfo.entrypoint.
- * src/vm/builtin.c (builtin_trace_exception): Likewise. Note:
- Currently
- we always use the current codeinfo. This is preliminary.
-
- * src/vm/jit/powerpc/codegen.c (codegen): Use cd->code->entrypoint.
- * src/vm/jit/alpha/codegen.c (createnativestub): Likewise.
- * src/vm/jit/dseg.c (dseg_resolve_datareferences): Likewise.
- * src/vm/jit/mips/codegen.c (codegen, createnativestub): Likewise.
- * src/vm/jit/i386/codegen.c (createnativestub): Likewise.
- * src/vm/jit/intrp/codegen.c (intrp_codegen, intrp_createnativestub)
- (createcalljavafunction): Likewise.
- * src/vm/jit/x86_64/codegen.c (createnativestub): Likewise.
-
- * src/vm/jit/intrp/codegen.c (nativecall): Use m->code->entrypoint.
-
- * src/vm/jit/codegen-common.h, src/vm/jit/codegen-common.c,
- src/cacaoh/headers.c (codegen_createnativestub): Now returns
- the created codeinfo instead of the entrypoint.
-
- * src/vm/jit/stacktrace.c (stacktrace_add_method): Find the codeinfo
- that contains the current PC. Note: This is preliminary. We should
- find the codeinfo * via the PV of the code containing the PC.
-
- * src/vm/jit/jit.c (jit_compile): Use m->code. Create a codeinfo
- for native stubs and the do-nothing stub
-
- * src/vm/jit/codegen-common.c (codegen_finish): Set entrypoint
- in codeinfo instead of in methodinfo.
-
-2006-03-14 20:59 edwin
-
- * src/vm/jit/code.c, src/vm/jit/replace.c, src/vm/jit/replace.h:
- Added GPL header and boilerplate.
-
-2006-03-14 20:57 edwin
-
- * src/vm/jit/code.h: Added GPL header and boilerplate.
-
-2006-03-14 20:51 edwin
-
- * src/vm/jit/code.c, src/vm/jit/code.h: Files added.
-
- * src/vm/jit/replace.c, src/vm/jit/replace.h: Files added.
-
- * src/vm/jit/Makefile.am (code.[ch], replace.[ch]): Added.
-
- * src/vm/method.h (methodinfo): Added field `code`. Each method
- may now have zero or more codeinfo:s associated with it. A
- codeinfo represents the machine code of a particular version
- of the compiled method. Note: Some fields in methodinfo that
- may need to be moved to codeinfo where marked XXX.
-
- * src/vm/jit/codegen-common.h (codegendata): Added field `code`.
-
- * src/vm/jit/codegen-common.c (codegen_setup): Allocate
- a new codeinfo.
- (codegen_finish): Use `code` field of codegendata.
- (codegen_createnativestub): Likewise.
-
- * src/vm/jit/stack.c (show_icmd_method, show_icmd_block):
- Use `code` field of codegendata.
- * src/vm/jit/dseg.c (dseg_display): Likewise.
- * src/vm/jit/jit.c (jit_compile_intern): Likewise. Switch
- current codeinfo after compilation is complete.
-
- * src/cacaoh/headers.c (code_free_code_of_method): Added stub.
-
- * src/vm/method.c (method_free): Free codeinfo:s of method.
-
- * src/vm/loader.c (load_method): Initialize m->code.
+2008-02-04 Gregor Kaufmann <tdn@inode.at>
-2006-03-14 16:40 twisti
+ * configure.ac, src/vm/vm.c, tests/regression/Makefile.am,
+ tests/regression/assertion/Makefile.am,
+ tests/regression/assertion/Test.sh,
+ tests/regression/assertion/disabled.output,
+ tests/regression/assertion/enabled.output,
+ tests/regression/assertion/packagetest/testassertions.java,
+ tests/regression/assertion/testassertions.java:
+ * configure.ac (AC_CONFIG_FILES): Added
+ tests/regression/assertion/Makefile
- * src/cacao/Makefile.am (ENABLE_STATICVM): Added cacao_LDFLAGS,
- otherwise the sumbols are not exported.
-
- * src/native/include/Makefile.am (ENABLE_STATICVM): Renamed to
- WITH_STATIC_CLASSPATH.
+ * src/vm/vm.c (opts): Added OPT_EA_NOARG, OPT_EA_NOARG (vm_create):
+ Handle OPT_EA_NOARG, OPT_EA_NOARG
-2006-03-14 16:30 twisti
+ * tests/regression/Makefile.am (SUBDIRS): Added assertion
- * src/vm/jit/stacktrace.c (stacktrace_create): We have to check for an
- OOM when allocating from the heap. Fixes a crash in Jonas.
+ * tests/regression/assertion/Makefile.a: New file
-2006-03-14 15:00 edwin
+ * tests/regression/assertion/Test.sh: New file
- * doc/design_onstack_replacement.txt: More design options added.
+ * tests/regression/assertion/disabled.output: New file
-2006-03-13 21:26 edwin
+ * tests/regression/assertion/enabled.output: New file
- * design_onstack_replacement.txt: Added file.
+ * tests/regression/assertion/packagetest/testassertions.java: New
+ file
-2006-03-13 11:35 twisti
+ * tests/regression/assertion/testassertions.java: New file
+ [f00e0894e74b]
- * src/vm/vm.c (vm_create): Only put .jar file into classpath. Fixes
- startup bug with knopflerfish.
+2008-02-04 Christian Thalinger <twisti@complang.tuwien.ac.at>
-2006-03-13 08:02 edwin
+ * m4/annotations.m4:
+ * m4/annotations.m4: Build annotations support by default.
+ [76cce852d53a]
- * src/native/vm/VMClass.c (Java_java_lang_VMClass_getComponentType):
- Link class before accessing c->vftbl->arraydesc.
+ * src/mm/cacao-gc/gc.c:
+ * src/mm/cacao-gc/gc.c (gc_collect) [!NDEBUG]: Fixed compilation.
+ [5cba4c25093b]
-2006-03-13 07:06 edwin
+ * * Merged with 9c85e9af47c9.
+ [8f3fbc9270d5]
- * src/native/vm/VMClass.c (Java_java_lang_VMClass_getSuperclass): We
- must not
- assume that the class is already linked, so we have to resolve the
- super class
- reference. This fixes a NPE bug with Jonas.
+2008-01-30 Christian Thalinger <twisti@complang.tuwien.ac.at>
-2006-03-12 23:23 twisti
+ * src/native/vm/sun/jvm.c:
+ * src/native/vm/sun/jvm.c (native/vm/java_lang_ClassLoader.h):
+ Removed.
+ [7b1c5b9fe819]
+
+ * src/native/jni.c, src/native/vm/Makefile.am,
+ src/native/vm/gnu/java_lang_VMClassLoader.c,
+ src/native/vm/java_lang_ClassLoader.c,
+ src/native/vm/java_lang_ClassLoader.h:
+ * src/native/vm/java_lang_ClassLoader.c: Removed.
+ * src/native/vm/java_lang_ClassLoader.h: Likewise.
+
+ * src/native/vm/Makefile.am (CLASSLOADER_SOURCES): Removed.
+ (libnativevm_la_SOURCES): Removed CLASSLOADER_SOURCES.
+
+ * src/native/jni.c [ENABLE_JAVASE]
+ (native/vm/java_lang_ClassLoader.h): Removed.
+
+ * src/native/vm/gnu/java_lang_VMClassLoader.c
+ (native/vm/java_lang_ClassLoader.h): Removed. (defineClass): Moved
+ implementation here.
+ [e02ee62bf5fe]
+
+ * src/native/vm/sun/jvm.c:
+ * src/native/vm/sun/jvm.c (JVM_DefineClassWithSource): Made data
+ argument non-const.
+ [7c595dadbd5f]
+
+ * src/native/jni.c, src/native/vm/java_lang_ClassLoader.c,
+ src/native/vm/sun_misc_Unsafe.c, src/vmcore/class.c,
+ src/vmcore/class.h:
+ * src/vmcore/class.c (class_define): Made data argument non-const.
+ * src/vmcore/class.h: Likewise.
+ * src/native/jni.c (_Jv_JNI_DefineClass): Likewise.
+ * src/native/vm/java_lang_ClassLoader.c (defineClass): Likewise.
+ * src/native/vm/sun_misc_Unsafe.c (defineClass): Likewise.
+ [6495c4982eec]
+
+ * src/vm/properties.c, src/vmcore/system.h:
+ * src/vm/properties.c (properties_set): Use system_access.
+ * src/vmcore/system.h (system_access): New function.
+ [1b6a824c642d]
+
+ * configure.ac, src/vmcore/suck.c, src/vmcore/system.h:
+ * configure.ac (AC_CHECK_FUNCS): Added fclose, fread, stat.
+
+ * src/vmcore/suck.c (dirent.h): Removed. (sys/stat.h): Likewise.
+ (vmcore/system.h): Added. (suck_add_from_property): Use
+ system_scandir. (suck_start): Use system_fopen, system_stat,
+ system_fread, system_fclose.
+
+ * src/vmcore/system.h [HAVE_DIRENT_H] (dirent.h): Added.
+ [HAVE_STDIO_H] (stdio.h): Likewise. [HAVE_SYS_STAT_H] (sys/stat.h):
+ Likewise. (system_fopen): New function. (system_fclose): Likewise.
+ (system_fread): Likewise. (system_scandir): Likewise. (system_stat):
+ Likewise.
+ [d36156ecb50a]
+
+ * src/vm/properties.c, src/vmcore/system.h:
+ * src/vm/properties.c [WITH_JRE_LAYOUT] (libgen.h): Removed.
+ (vmcore/system.h): Added. (properties_set): Use system_dirname.
+
+ * src/vmcore/system.h [WITH_JRE_LAYOUT && HAVE_LIBGEN_H] (libgen.h):
+ Added. [WITH_JRE_LAYOUT] (system_dirname): New function.
+ [9c7fe3420ab9]
+
+ * src/native/jni.c:
+ * src/native/jni.c: Pre-define java_lang_ClassLoader to prevent a
+ compiler warning for Sun configurations.
+ [a91f4c3437d5]
+
+2008-02-03 Stefan Ring <stefan@complang.tuwien.ac.at>
+
+ * src/threads/native/lock.c, src/vm/global.h:
+ * src/threads/native/lock.c: Modified tasuki lock such that the FLC
+ bit can be placed in the lockword. Requires atomic instruction at
+ monitor_exit (slower!).
+
+ * src/vm/global.h: Removed useless hdrflags and FLC bit value.
+ [9c85e9af47c9]
+
+2008-02-02 Stefan Ring <stefan@complang.tuwien.ac.at>
+
+ * src/vm/jit/i386/machine-instr.h, src/vm/jit/x86_64/machine-instr.h:
+ * src/vm/jit/i386/machine-instr.h (MEMORY_BARRIER_AFTER_ATOMIC): Can
+ become a real NOP. (MEMORY_BARRIER_BEFORE_ATOMIC): Likewise.
+
+ * src/vm/jit/x86_64/machine-instr.h (MEMORY_BARRIER_AFTER_ATOMIC):
+ Can become a real NOP. (MEMORY_BARRIER_BEFORE_ATOMIC): Likewise.
+ [fe3e80ca2479]
+
+ * src/vm/signal.c:
+ * src/vm/signal.c (signal_init): Disable CrashReporter on Darwin.
+ [9bc8277affc1]
+
+2008-02-01 Stefan Ring <stefan@complang.tuwien.ac.at>
+
+ * src/threads/native/lock.c:
+ * src/threads/native/lock.c (lock_monitor_enter): Adjusted memory
+ barrier. (lock_monitor_exit): Likewise.
+ [f31015208523]
+
+2008-01-30 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/mm/cacao-gc/gc.c, src/native/native.c,
+ src/native/vm/gnu/java_lang_VMRuntime.c, src/vm/builtin.c,
+ src/vm/jit/intrp/codegen.c, src/vm/jit/jit.c,
+ src/vm/jit/optimizing/ssa.c, src/vm/jit/optimizing/ssa_rename.c,
+ src/vm/jit/patcher-common.c, src/vm/jit/replace.c,
+ src/vm/jit/show.c, src/vm/jit/trace.c, src/vm/vm.c,
+ src/vmcore/class.c, tests/regression/Makefile.am:
+ * src/mm/cacao-gc/gc.c: Fixed copyright message.
+
+ * src/native/native.c, src/native/vm/gnu/java_lang_VMRuntime.c,
+ src/vm/builtin.c, src/vm/jit/intrp/codegen.c, src/vm/jit/jit.c,
+ src/vm/jit/optimizing/ssa.c, src/vm/jit/optimizing/ssa_rename.c,
+ src/vm/jit/patcher-common.c, src/vm/jit/replace.c,
+ src/vm/jit/show.c, src/vm/jit/trace.c, src/vm/vm.c,
+ src/vmcore/class.c, tests/regression/Makefile.am: Likewise.
+ [c6a257150aa2]
+
+ * src/mm/dumpmemory.c, src/mm/dumpmemory.h, src/mm/memory.h,
+ src/vm/jit/ir/bytecode.c, src/vm/jit/ir/bytecode.h:
+ * Merged with 0da121c758b9.
+ [b3689d718218]
+
+2008-01-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * * Merged with 03e39cff22db.
+ [61bb218662ef]
+
+ * m4/assertion.m4, m4/dump.m4, src/mm/codememory.c,
+ src/mm/codememory.h, src/mm/dumpmemory.c, src/mm/dumpmemory.h,
+ src/mm/memory.c, src/mm/memory.h, src/native/vm/sun_misc_Unsafe.c,
+ src/vm/array.c, src/vm/array.h, src/vm/assertion.c,
+ src/vm/assertion.h, src/vm/jit/exceptiontable.c,
+ src/vm/jit/exceptiontable.h, src/vm/jit/ir/Makefile.am,
+ src/vm/jit/ir/bytecode.c, src/vm/jit/ir/bytecode.h,
+ src/vm/jit/linenumbertable.c, src/vm/jit/linenumbertable.h,
+ src/vmcore/system.c, src/vmcore/system.h:
+ * m4/assertion.m4: Fixed copyright header.
+
+ * m4/dump.m4, src/mm/codememory.c, src/mm/codememory.h,
+ src/mm/dumpmemory.c, src/mm/dumpmemory.h, src/mm/memory.c,
+ src/mm/memory.h, src/native/vm/sun_misc_Unsafe.c, src/vm/array.c,
+ src/vm/array.h, src/vm/assertion.c, src/vm/assertion.h,
+ src/vm/jit/exceptiontable.c, src/vm/jit/exceptiontable.h,
+ src/vm/jit/ir/Makefile.am, src/vm/jit/ir/bytecode.c,
+ src/vm/jit/ir/bytecode.h, src/vm/jit/linenumbertable.c,
+ src/vm/jit/linenumbertable.h, src/vmcore/system.c,
+ src/vmcore/system.h: Likewise.
+ [a8a8474e33d1]
+
+2008-01-29 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/native/vm/sun/jvm.c:
+ * src/native/vm/sun/jvm.c (JVM_EEXIST): Defined. (JVM_Open):
+ Implemented correctly.
+ [0da121c758b9]
+
+ * src/vm/properties.c:
+ * src/vm/properties.c (properties_set) [WITH_JRE_LAYOUT]: Set
+ java.home as HotSpot does, applications like Ant depend on it.
+ [f517570c02d6]
+
+2008-01-25 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/vm/jit/stacktrace.c:
+ * src/vm/jit/stacktrace.c (native/include/java_lang_Object.h):
+ Added. [WITH_CLASSPATH_GNU]
+ (native/include/gnu_classpath_Pointer.h): Likewise.
+ (stacktrace_print_exception): Fixed compiler warning.
+ [d129a9a3bd48]
+
+ * src/vm/jit/codegen-common.c:
+ * src/vm/jit/codegen-common.c (codegen_start_native_call): Fixed
+ compiler warning.
+ [bac5c4672afa]
- * src/vm/suck.c (suck_start): We really should close class files after
- reading it.
+2008-01-23 Christian Thalinger <twisti@complang.tuwien.ac.at>
-2006-03-11 21:34 edwin
+ * * Merged with 03e39cff22db.
+ [2e553378876c]
- * src/vm/resolve.c (resolve_class_from_typedesc): Safer check for
- reference types.
+2008-01-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
-2006-03-11 20:41 edwin
+ * src/vm/jit/ir/bytecode.c, src/vm/jit/ir/bytecode.h,
+ src/vm/jit/jit.c, src/vm/jit/jit.h, src/vm/jit/optimizing/ssa.c,
+ src/vm/jit/optimizing/ssa_rename.c, src/vm/jit/parse.c:
+ * src/vm/jit/ir/bytecode.c (bytecode): New table.
+ * src/vm/jit/ir/bytecode.h (bytecode_t): New structure.
- * src/vm/jit/codegen-common.c (codegen_finish): When setting the
- entrypoint of a method, be sure not to overwrite an already set
- entrypoint.
+ * src/vm/jit/jit.c (stackreq, jcommandsize, opcode_names): Removed.
+ * src/vm/jit/jit.h: Likewise.
-2006-03-11 20:34 edwin
+ * src/vm/jit/optimizing/ssa.c, src/vm/jit/optimizing/ssa_rename.c,
+ src/vm/jit/parse.c: Use new bytecode table.
+ [292ffaab432c]
+
+ * src/vm/jit/codegen-common.c, src/vm/jit/jit.c, src/vm/jit/show.c,
+ src/vm/vm.c:
+ * Merged with df1b780317c3.
+ [63d86c604330]
+
+ * src/cacaoh/dummy.c, src/mm/cacao-gc/gc.c, src/mm/dumpmemory.c,
+ src/mm/dumpmemory.h, src/mm/memory.h, src/native/native.c,
+ src/native/vm/gnu/java_lang_VMRuntime.c, src/vm/builtin.c,
+ src/vm/jit/codegen-common.c, src/vm/jit/intrp/codegen.c,
+ src/vm/jit/jit.c, src/vm/jit/replace.c, src/vm/jit/show.c,
+ src/vm/jit/trace.c, src/vm/vm.c, src/vmcore/class.c,
+ src/vmcore/loader.c:
+ * src/mm/dumpmemory.c (dump_release): Renamed to dumpmemory_release.
+ (dump_size): Renamed to dumpmemory_marker.
+
+ * src/mm/dumpmemory.h: Likewise. (DMARKER, DRELEASE): New macros.
+
+ * src/cacaoh/dummy.c, src/mm/cacao-gc/gc.c, src/mm/memory.h,
+ src/native/native.c, src/native/vm/gnu/java_lang_VMRuntime.c,
+ src/vm/builtin.c, src/vm/jit/codegen-common.c,
+ src/vm/jit/intrp/codegen.c, src/vm/jit/jit.c, src/vm/jit/replace.c,
+ src/vm/jit/show.c, src/vm/jit/trace.c, src/vm/vm.c,
+ src/vmcore/class.c, src/vmcore/loader.c: Use new macros.
+ [12502d070d2d]
+
+ * tests/regression/Makefile.am:
+ * tests/regression/Makefile.am (SUBDIRS): Removed resolving. These
+ test are broken.
+ [f9ffd12e7a9f]
+
+2008-01-11 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/cacaoh/dummy.c, src/mm/dumpmemory.c, src/mm/dumpmemory.h,
+ src/vm/jit/verify/typeinfo.h:
+ * src/mm/dumpmemory.c (dump_alloc): Renamed to dumpmemory_get.
+ (dumpmemory_alloc): New function. (dump_realloc): Renamed to
+ dumpmemory_realloc.
+
+ * src/mm/dumpmemory.h (dump_allocation_t): Renamed useddumpsize to
+ used. (dumpinfo_t): Renamed currentdumpblock to block,
+ allocateddumpsize to allocated, useddumpsize to used. (DNEW, DMNEW,
+ DMREALLOC): Defined to new function names.
+
+ * src/cacaoh/dummy.c (dump_alloc): Renamed to dumpmemory_get.
+
+ * src/vm/jit/verify/typeinfo.h (DNEW_TYPEVECTOR): Use DMNEW.
+ (DMNEW_TYPEVECTOR): Likewise. (TYPEINFO_ALLOCMERGED): Likewise.
+ [cee30280dee5]
+
+ * src/vm/jit/patcher-common.c:
+ * src/vm/jit/patcher-common.c (patcher_handler): Fixed compiler
+ warning.
+ [c4732ead00cc]
+
+2008-01-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/vm/jit/arm/md.c:
+ * src/vm/jit/arm/md.c (md_asm_codegen_get_pv_from_pc): Removed.
+ [03e39cff22db]
+
+2008-01-17 Peter Molnar <pm@complang.tuwien.ac.at>
+
+ * src/vm/jit/alpha/codegen.c, src/vm/jit/codegen-common.c,
+ src/vm/jit/jit.c, src/vm/jit/optimizing/Makefile.am,
+ src/vm/jit/optimizing/graph.c, src/vm/jit/optimizing/lifetimes.c,
+ src/vm/jit/optimizing/lsra.c, src/vm/jit/optimizing/lsra.h,
+ src/vm/jit/optimizing/ssa.c, src/vm/jit/optimizing/ssa.h,
+ src/vm/jit/optimizing/ssa_phi.c, src/vm/jit/optimizing/ssa_phi.h,
+ src/vm/jit/optimizing/ssa_rename.c,
+ src/vm/jit/optimizing/ssa_rename.h, src/vm/jit/show.c, src/vm/vm.c,
+ src/vmcore/options.c, src/vmcore/options.h:
+ * src/vm/jit/alpha/codegen.c, src/vm/jit/codegen-common.c,
+ src/vm/jit/jit.c, src/vm/jit/show.c, src/vm/vm.c,
+ src/vmcore/options.c, src/vmcore/options.h: Integrated Christian
+ Ullrichs changes related to SSA and LSRA. The diff against SVN
+ version 8144 was carefully integrated.
+
+ * src/vm/jit/optimizing/Makefile.am, src/vm/jit/optimizing/graph.c,
+ src/vm/jit/optimizing/lifetimes.c, src/vm/jit/optimizing/lsra.c,
+ src/vm/jit/optimizing/lsra.h, src/vm/jit/optimizing/ssa.c,
+ src/vm/jit/optimizing/ssa.h, src/vm/jit/optimizing/ssa_phi.c,
+ src/vm/jit/optimizing/ssa_phi.h, src/vm/jit/optimizing/ssa_rename.c,
+ src/vm/jit/optimizing/ssa_rename.h: Integrated Christian Ullrichs
+ changes related to SSA and LSRA. Those files were just COPYED and
+ adapted from his modified SVN 8144 working copy.
+
+ NOTE: Christian Ullrichs SSA+LSRA related changes to the x86_64
+ codegenerator are NOT MERGED in this commit.
+ [df1b780317c3]
+
+ * src/vm/jit/python.c:
+ * src/vm/jit/python.c: Wrapped control flow and data flow fields and
+ respective constants for instruction.
+ [24dc79f2508c]
+
+2008-01-16 Christian Thalinger <twisti@complang.tuwien.ac.at>
+
+ * src/native/vm/sun_misc_Unsafe.c:
+ * src/native/vm/sun_misc_Unsafe.c (getChar, putChar): Implemented.
+ (copyMemory): Likewise.
+ [5265504cc4bf]
+
+2008-01-10 Gregor Kaufmann <tdn@inode.at>
+
+ * doc/Makefile.am, doc/assertions.tex:
+ * doc/Makefile.am (dist_noinst_DATA): Added assertions.tex.
+ (assertions): New target, creates assertions.dvi. (CLEANFILES):
+ Added assertions.aux/.dvi/.log/.toc.
+
+ * doc/assertions.tex: New file, documentation of the assertion
+ implementation.
+ [eb342d685856]
- * src/vm/references.h (IS_XCLASSREF): Commented.
+2008-01-10 Peter Molnar <pm@complang.tuwien.ac.at>
-2006-03-11 20:32 edwin
+ * src/vm/jit/jit.c, src/vm/jit/python.c:
+ * src/vm/jit/python.c: (python_global_lock) added, (pythonpass_init)
+ creating python lock, (pythonpass_run) locking python lock.
+ * src/vm/jit/jit.c [ENABLE_PYTHON]: Changed name of hardcoded
+ function.
+ [18d4cf443b7a]
- * src/vm/references.h (IS_XCLASSREF): Added.
- (CLASSREF_OR_CLASSINFO_NAME): Added.
+2008-01-08 Christian Thalinger <twisti@complang.tuwien.ac.at>
-2006-03-11 20:30 edwin
+ * src/mm/Makefile.am, src/mm/codememory.c, src/mm/codememory.h,
+ src/mm/dumpmemory.c, src/mm/dumpmemory.h, src/mm/memory.c,
+ src/mm/memory.h, src/vm/vm.c:
+ * src/mm/Makefile.am (libmm_la_SOURCES): Added codememory.[ch],
+ dumpmemory.[ch].
- * src/vm/class.c, src/vm/class.h (class_classref_print): Added.
- (class_classref_println): Added.
+ * src/mm/codememory.c: New file.
+ * src/mm/codememory.h: Likewise.
+ * src/mm/dumpmemory.c: Likewise.
+ * src/mm/dumpmemory.h: Likewise.
-2006-03-11 16:06 edwin
+ * src/mm/memory.c: Moved code and dump memory related stuff into
+ their respective files.
+ * src/mm/memory.h: Likewise.
- * src/vm/jit/jit.c (jit_compile_intern): Check if the method has been
- compiled during static class initialization.
+ * src/vm/vm.c (mm/codememory.h): Added. (vm_create): Call
+ codememory_init instead of memory_init.
+ [183c2868c78a]
-2006-03-11 15:03 edwin
+ * m4/dump.m4:
+ * m4/dump.m4: Smaller changes.
+ [98cf8bd43450]
- * src/vm/method.c (vim boilerplate): Added.
+2008-01-05 Peter Molnar <pm@complang.tuwien.ac.at>
-2006-03-11 15:01 edwin
+ * src/vm/jit/jit.c, src/vm/jit/python.c:
+ * src/vm/jit/jit.c [ENABLE_PYTHON]: Changed name of hardcoded
+ script.
+ * src/vm/jit/python.c: Changed a lot.
+ [72c42e1989b2]
- * src/vm/method.c (method_vftbl_lookup): Check ACC_INTERFACE on the
- class, instead of on the method, where it is not set. Do not check
- ACC_ABSTRACT here, because non-interface ACC_ABSTRACT methods are
- looked up just like non-abstract non-interface methods.
+ * src/vm/jit/s390/asmpart.S:
+ * src/vm/jit/s390/asmpart.S (asm_vm_call_method): Fixed stack
+ pointer corruption in case there are stack arguments and an
+ exception escapes.
+ [915392590cd3]
-2006-03-10 22:22 twisti
+2008-01-04 Stefan Ring <stefan@complang.tuwien.ac.at>
- * src/native/vm/VMRuntime.c (vm/options.h): Added.
- (nativeLoad): Print dlerror output when dlopen fails.
+ * src/vm/jit/i386/asmpart.S:
+ * src/vm/jit/i386/asmpart.S (asm_handle_exception): Correct offsets
+ for 16 byte aligned stack.
+ [0566e94f095d]
-2006-03-09 16:13 twisti
+2008-01-03 Christian Thalinger <twisti@complang.tuwien.ac.at>
- * autogen.sh: Fixed typo.
-
-2006-03-09 13:51 twisti
-
- * src/vm/jit/powerpc/darwin/md-asm.h (asm_calljavafunction): Removed.
- (asm_calljavafunction_int): Likewise.
- (asm_calljavafunction2): Likewise.
- (asm_calljavafunction2int): Likewise.
- (asm_calljavafunction2long): Likewise.
- (asm_calljavafunction2float): Likewise.
- (asm_calljavafunction2double): Likewise.
- (_exceptionptr): Likewise.
- (asm_vm_call_method): Define added.
- (asm_vm_call_method_int): Likewise.
- (asm_vm_call_method_long): Likewise.
- (asm_vm_call_method_float): Likewise.
- (asm_vm_call_method_double): Likewise.
-
-2006-03-09 13:46 twisti
-
- * src/vm/jit/powerpc/patcher.c (patcher_get_putfield): Check for the
- instruction order on long fields.
-
-2006-03-09 13:26 twisti
-
- * autogen.sh: Check for installed programs and exit if no proper one
- was found.
- * src/boehm-gc/autogen.sh: Use the programs found by top-level
- autogen.
-
-2006-03-08 09:44 twisti
-
- * src/native/jni.c (PushLocalFrame): Implemented.
- (PopLocalFrame): Likewise.
- (DeleteLocalRef): Walk through all local frames.
- (NewLocalRef): Allocate a new local frame if the current frame is out
- of space.
- (EnsureLocalCapacity): Implemented.
- * src/vm/jit/codegen-common.c (codegen_finish_native_call): Release
- all local reference frames.
-
-2006-03-07 20:44 twisti
-
- * src/native/vm/VMClassLoader.c (nativeGetResources): Check if
- resource is a directory and don't add it.
-
-2006-03-07 19:32 twisti
-
- * src/vm/vm.c (usage): Small change.
-
- * src/native/vm/VMSystemProperties.c (preInit): Set java.ext.dirs to
- $JAVA_HOME/jre/lib/ext.
-
-2006-03-07 18:18 twisti
-
- * src/cacaoh/headers.c (intrp_main_stack): Changed type.
-
-2006-03-07 17:21 twisti
-
- test
-
-2006-03-07 17:19 twisti
-
- test
-
-2006-03-07 10:48 twisti
-
- * src/native/jni.c (_Jv_jni_CallIntMethodA): New function.
- (CallBooleanMethodA): Implemented.
-
-2006-03-07 10:36 twisti
-
- * src/vm/string.c (string_java_lang_StringIndexOutOfBoundsException):
- Added.
- * src/vm/stringlocal.h: Likewise.
-
- * src/vm/exceptions.c
- (exceptions_new_stringindexoutofboundsexception): New function.
- (exceptions_throw_stringindexoutofboundsexception): Likewise.
- * src/vm/exceptions.h: Likewise.
-
- * src/native/jni.c (GetStringRegion): Implemented.
-
-2006-03-07 09:40 twisti
-
- * src/vm/vm.c (_Jv_jvm): Changed type to _Jv_JavaVM.
- * src/vm/vm.h (_Jv_jvm): Added.
-
- * src/native/jni.c (ptr_jvm): Removed.
- (ptr_env): Likewise.
- (CallStaticObjectMethodA): Implemented.
- (GetJavaVM): Return _Jv_jvm as vm.
- (AttachCurrentThread): Return _Jv_env as env.
- (GetEnv): Likewise.
- (JNI_JavaVMTable): Renamed to _Jv_JNIInvokeInterface.
- (JNI_JNIEnvTable): Renamed to _Jv_JNINativeInterface.
- (JNI_CreateJavaVM): Allocate a _Jv_JavaVM structure and set it up
- correctly, this fixes the usage in C++ programs.
- * src/native/jni.h (_Jv_JavaVM): Added.
-
- * src/native/jvmti/jvmti.c: Renamed JNI_JavaVMTable to
- _Jv_JNIInvokeInterface and JNI_JNIEnvTable to _Jv_JNINativeInterface.
-
-2006-03-06 18:45 christian
-
- * src/vm/jit/stack.c (analyse_stack): Bugfix for copy elimination.
-
-2006-03-06 13:03 twisti
-
- * src/vm/jit/powerpc/linux/Makefile.am (LIBS): Added defined empty, as
- * this makes problems on darwin and actually we do not need to link
- * the configured libraries into convenience libraries.
- * src/vm/jit/powerpc/darwin/Makefile.am: Likewise.
- * src/vm/jit/powerpc/Makefile.am: Likewise.
- * src/vm/jit/alpha/linux/Makefile.am: Likewise.
- * src/vm/jit/alpha/Makefile.am: Likewise.
- * src/vm/jit/alpha/freebsd/Makefile.am: Likewise.
- * src/vm/jit/tools/Makefile.am: Likewise.
- * src/vm/jit/verify/Makefile.am: Likewise.
- * src/vm/jit/mips/linux/Makefile.am: Likewise.
- * src/vm/jit/mips/Makefile.am: Likewise.
- * src/vm/jit/mips/irix/Makefile.am: Likewise.
- * src/vm/jit/loop/Makefile.am: Likewise.
- * src/vm/jit/inline/Makefile.am: Likewise.
- * src/vm/jit/allocator/Makefile.am: Likewise.
- * src/vm/jit/i386/linux/Makefile.am: Likewise.
- * src/vm/jit/i386/Makefile.am: Likewise.
- * src/vm/jit/i386/freebsd/Makefile.am: Likewise.
- * src/vm/jit/schedule/Makefile.am: Likewise.
- * src/vm/jit/intrp/Makefile.am: Likewise.
- * src/vm/jit/x86_64/Makefile.am: Likewise.
- * src/vm/jit/profile/Makefile.am: Likewise.
- * src/vm/jit/Makefile.am: Likewise.
- * src/vm/Makefile.am: Likewise.
- * src/native/tools/Makefile.am: Likewise.
- * src/native/vm/Makefile.am: Likewise.
- * src/native/Makefile.am: Likewise.
- * src/toolbox/Makefile.am: Likewise.
- * src/mm/Makefile.am: Likewise.
- * src/threads/native/Makefile.am: Likewise.
- * src/fdlibm/Makefile.am: Likewise.
-
- * src/cacaoh/Makefile.am (INCLUDES): Renamed to AM_CPPFLAGS.
-
-2006-03-06 00:30 twisti
-
- * src/vm/jit/powerpc/asmpart.S (asm_calljavafunction): Removed.
- (asm_calljavafunction2): Renamed to asm_vm_call_method.
-
-2006-03-05 23:53 twisti
-
- * src/vm/jit/alpha/asmpart.S (asm_calljavafunction): Removed.
- (asm_calljavafunction2): Renamed to asm_vm_call_method.
-
-2006-03-05 23:35 twisti
-
- * src/vm/jit/codegen-common.c (codegen_init): Removed
- asm_calljavafunction.
- * src/vm/jit/i386/asmpart.S (asm_calljavafunction): Removed.
- (asm_calljavafunction2): Renamed to asm_vm_call_method.
-
-2006-03-05 23:24 twisti
-
- * src/vm/vm.c (vm_call_method_intern): Removed.
- (vm_vmargs_from_valist): Added.
- (vm_vmargs_from_jvalue): Likewise.
- (vm_call_method): New function.
- (vm_call_method_valist): Likewise.
- (vm_call_method_jvalue): Likewise.
- (vm_call_method_vmarg): Likewise.
- (vm_call_method_int): Likewise.
- (vm_call_method_int_valist): Likewise.
- (vm_call_method_int_jvalue): Likewise.
- (vm_call_method_int_vmarg): Likewise.
- (vm_call_method_long): Likewise.
- (vm_call_method_long_valist): Likewise.
- (vm_call_method_long_jvalue): Likewise.
- (vm_call_method_long_vmarg): Likewise.
- (vm_call_method_float): Likewise.
- (vm_call_method_float_valist): Likewise.
- (vm_call_method_float_jvalue): Likewise.
- (vm_call_method_float_vmarg): Likewise.
- (vm_call_method_double): Likewise.
- (vm_call_method_double_valist): Likewise.
- (vm_call_method_double_jvalue): Likewise.
- (vm_call_method_double_vmarg): Likewise.
- * src/vm/vm.h: Likewise.
-
- * src/native/jni.c (_Jv_jni_fill_vmargs_from_vargs): Removed.
- (_Jv_jni_vmargs_from_args): Likewise.
- (_Jv_jni_CallObjectMethodA): New function.
- (_Jv_jni_CallObjectMethod): Use vm_call_method.
- (_Jv_jni_CallIntMethod): Likewise.
- (_Jv_jni_CallLongMethod): Likewise.
- (_Jv_jni_CallFloatMethod): Likewise.
- (_Jv_jni_CallDoubleMethod): Likewise.
- (_Jv_jni_CallVoidMethod): Likewise.
- (_Jv_jni_CallVoidMethodA): Likewise.
- (_Jv_jni_invokeNative): Likewise.
- (CallObjectMethodA): Implemented.
-
- * src/vm/loader.c (load_class_from_sysloader): Replaced
- vm_call_method_intern by vm_call_method.
- (load_class_from_classloader): Likewise.
- * src/vm/finalizer.c (finalizer_run): Likewise.
- * src/vm/initialize.c (initialize_class_intern): Likewise.
- * src/vm/jit/stacktrace.c (stacktrace_inline_fillInStackTrace):
- Likewise.
- * src/vm/exceptions.c (throw_exception_exit_intern): Likewise.
- (new_arrayindexoutofboundsexception): Likewise.
- * src/vm/properties.c (properties_system_add): Likewise.
- * src/cacao/cacao.c (setup_debugger_process): Likewise.
- (getmainclassnamefromjar): Likewise.
- (main): Likewise.
- * src/native/vm/VMClassLoader.c (nativeGetResources): Likewise.
- * src/native/native.c (native_new_and_init): Likewise.
- (native_new_and_init_string): Likewise.
- (native_new_and_init_int): Likewise.
- (native_new_and_init_throwable): Likewise.
- * src/threads/native/threads.c (threads_init): Likewise.
- (threads_startup_thread): Likewise.
- * src/cacaoh/headers.c: Likewise.
-
- * src/vm/jit/x86_64/asmpart.S (asm_calljavafunction): Removed.
- (asm_calljavafunction2): Renamed to asm_vm_call_method.
- * src/vm/jit/intrp/asmpart.c: Likewise.
- * src/vm/jit/asmpart.h: Likewise.
-
-2006-03-05 23:05 twisti
-
- * tests/regression/native/testarguments.c (nlsub): Use %llx on all
- architectures.
- (ndsub): Likewise.
-
-2006-03-05 21:54 christian
-
- * src/vm/jit/allocator/simplereg.c (allocate_scratch_registers):
- Bugfix and reformatting.
-
-2006-03-05 15:51 twisti
-
- * src/vm/jit/i386/asmpart.S (asm_calljavafunction2): Pointer to vm_arg
- block is now in a2. Use new defines.
-
-2006-03-04 18:35 twisti
-
- * src/vm/jit/alpha/asmpart.S (asm_calljavafunction2): Pointer to
- vm_arg block is now in a2. Use new defines.
-
-2006-03-04 18:01 twisti
-
- * src/vm/jit/powerpc/asmpart.S (asm_calljavafunction2): Pointer to
- vm_arg block is now in a2. Use new defines.
-
-2006-03-04 17:19 twisti
-
- * src/vm/jit/asmpart.h (ASM_CALLJAVAFUNCTION): Removed.
- (ASM_CALLJAVAFUNCTION_ADR): Likewise.
- (ASM_CALLJAVAFUNCTION_INT): Likewise.
- (ASM_CALLJAVAFUNCTION2): Likewise.
- (ASM_CALLJAVAFUNCTION2_ADR): Likewise.
- (ASM_CALLJAVAFUNCTION2_INT): Likewise.
- (ASM_CALLJAVAFUNCTION2_LONG): Likewise.
- (ASM_CALLJAVAFUNCTION2_FLOAT): Likewise.
- (ASM_CALLJAVAFUNCTION2_DOUBLE): Likewise.
- (asm_calljavafunction2int): Changed signature.
- (asm_calljavafunction2long): Likewise.
- (asm_calljavafunction2float): Likewise.
- (asm_calljavafunction2double): Likewise.
-
-2006-03-04 17:15 twisti
-
- * src/vm/global.h (jni_callblock): Removed.
-
- * src/vm/vm.c (vm/vm.h): Added.
- (vm_call_method_intern): New function.
- (vm_call_method_intern_int): Likewise.
- (vm_call_method): Likewise.
- (vm_call_method_int): Likewise.
- (vm_call_method_long): Likewise.
- (vm_call_method_float): Likewise.
- (vm_call_method_double): Likewise.
- * src/vm/vm.h (vm_arg): Structure added.
- (vm_call_method_intern): New function.
- (vm_call_method_intern_int): Likewise.
- (vm_call_method): Likewise.
- (vm_call_method_int): Likewise.
- (vm_call_method_long): Likewise.
- (vm_call_method_float): Likewise.
- (vm_call_method_double): Likewise.
-
- * src/vm/jit/tools/genoffsets.c (vm/vm.h): Added.
- (sizejniblock): Renamed to sizevmarg.
- (offjniitemtype): Renamed to offvmargtype.
- (offjniitem): Renamed to offvmargdata.
- * src/vm/jit/x86_64/asmpart.S (asm_calljavafunction2): Pointer to
- vm_arg block is now in a2. Use new defines.
-
- * src/vm/jit/stacktrace.c (vm/vm.h): Added.
- (ASM_CALLJAVAFUNCTION): Replaced with vm_call_method_intern.
- * src/vm/exceptions.c: Likewise.
- * src/vm/properties.c: Likewise.
- * src/vm/loader.c: Likewise.
- * src/vm/finalizer.c: Likewise.
- * src/vm/initialize.c: Likewise.
- * src/cacao/cacao.c: Likewise.
- * src/native/vm/VMClassLoader.c: Likewise.
- * src/threads/native/threads.c: Likewise.
-
- * src/cacaoh/headers.c (asm_calljavafunction): Removed.
- (intrp_asm_calljavafunction): Likewise.
- (vm_call_method_intern): New function.
-
- * src/native/jni.c (fill_callblock_from_vargs): Renamed to
- _Jv_jni_vmargs_from_vargs.
- (fill_callblock_from_objectarray): Renamed to
- _Jv_jni_vmargs_from_objectarray.
- (_Jv_jni_vmargs_from_objectarray): New function.
- (_Jv_jni_CallVoidMethodA): Likewise.
- (ASM_CALLJAVAFUNCTION2): Replaced with appropriate vm_call_method
- function.
- (NewObjectA): Implemented.
- (CallVoidMethodA): Likewise.
- (CallNonvirtualVoidMethodA): Likewise.
- (CallStaticVoidMethodA): Likewise.
-
-2006-03-03 00:00 twisti
-
- * src/vm/linker.c (link_class_intern): Handle miranda methods
- properly.
- * src/vm/global.h (ACC_MIRANDA): Defined.
- * src/native/vm/VMClass.c (getDeclaredMethods): Don't return miranda
- methods.
-
-2006-03-01 17:00 twisti
-
- * src/vm/options.c: Renamed runverbose to opt_verbosecall.
- * src/vm/options.h: Likewise.
- * src/vm/jit/alpha/codegen.c: Likewise.
- * src/vm/jit/i386/codegen.c: Likewise.
- * src/vm/jit/intrp/codegen.c: Likewise.
- * src/vm/jit/mips/codegen.c: Likewise.
- * src/vm/jit/powerpc/codegen.c: Likewise.
- * src/vm/jit/x86_64/codegen.c: Likewise.
- * src/vm/jit/intrp/asmpart.c: Likewise.
- * src/vm/jit/intrp/dynamic-super.c: Likewise.
- * src/vm/jit/intrp/java.vmg: Likewise.
-
- * src/vm/builtin.c (builtin_trace_exception): Renamed runverbose to
- opt_verbosecall. Removed stacktrace printing code.
- * src/vm/exceptions.c (exceptions_handle_exception): Renamed
- runverbose to opt_verbosecall. Print exception stacktrace when caught.
-
- * src/vm/vm.c: Support Sun's commandline options and ignore them if
- not supported. Reordered options.
-
- * src/native/vm/VMObject.c (notify): Removed debug output.
- (notifyAll): Likewise.
- (wait): Likewise.
- * src/native/vm/VMThread.c (suspend): Likewise.
- (resume): Likewise.
- (nativeSetPriority): Likewise.
- (nativeStop): Likewise.
- (yield): Likewise.
-
- * src/native/vm/VMThrowable.c (fillInStackTrace): Renamed par1 to t.
-
-2006-02-23 14:08 twisti
-
- * src/vm/jit/intrp/dynamic-super.c (disassemble_prim): New function.
- (dynamic_super_init): Added disassembling of IADD, ILOAD and
- GETFIELD_INT.
-
-2006-02-22 14:03 twisti
-
- * src/vm/jit/i386/codegen.c (createnativestub): Renamed _exceptionptr
- to _no_threads_exceptionptr.
-
-2006-02-22 13:34 twisti
-
- * src/vm/jit/i386/codegen.c (mm/memory.h): Added.
-
-2006-02-21 16:17 twisti
-
- * configure.ac (VERSION_CONFIGURE_ARGS, VERSION_CC, VERSION_CFLAGS):
- Added define.
- * src/vm/vm.c (version): Print configure options, compiler version and
- CFLAGS.
-
-2006-02-21 16:06 twisti
-
- * src/vm/jit/intrp/java.vmg (MULTIANEWARRAY): Use malloc instead of a
- dynamic-sized array (-fomit-frame-pointer).
-
-2006-02-21 13:43 twisti
-
- * src/vm/jit/intrp/codegen.c (cacao/cacao.h): Removed.
- (vm/vm.h): Added.
- (createnativestub): Replaced ENABLE_STATICVM with
- WITH_STATIC_CLASSPATH and &env by _Jv_env.
-
- * src/vm/jit/intrp/patcher.c: Replaced ENABLE_STATICVM by
- WITH_STATIC_CLASSPATH.
- * src/vm/jit/intrp/java.vmg: Likewise.
-
- * src/vm/vm.c (mm/memory.h): Added.
- (vm_create): Allocate the main thread interpreter stack on the Java
- heap.
-
-2006-02-21 13:40 twisti
-
- * src/vm/jit/jit.c (jit_compile_intern): Replaced ENABLE_STATICVM by
- WITH_STATIC_CLASSPATH.
-
-2006-02-21 13:39 twisti
-
- * src/cacao/cacao.c (main): Added main utf variable for better
- debugability.
-
-2006-02-21 13:37 twisti
-
- * src/native/native.c: Small changes.
-
-2006-02-21 13:35 twisti
-
- * src/vm/loader.c (load_class_from_classloader): Added name
- java.lang.String variable for better debugability.
-
-2006-02-21 12:41 twisti
-
- * src/vm/jit/powerpc/asmpart.S: Rewritten for PIC code.
-
-2006-02-21 10:47 twisti
-
- * src/vm/jit/alpha/asmpart.S: Rewritten for PIC code.
-
-2006-02-21 10:39 twisti
-
- * src/vm/jit/x86_64/codegen.c (cacao/cacao.h): Removed.
- (vm/vm.h): Added.
- (createnativestub): Replaced ENABLE_STATICVM with
- WITH_STATIC_CLASSPATH and &env by _Jv_env.
-
-2006-02-21 10:25 twisti
-
- * src/vm/jit/i386/.cvsignore, src/vm/jit/i386/linux/.cvsignore: Added
- TAGS.
-
-2006-02-21 09:34 twisti
-
- * src/vm/jit/i386/asmpart.S: Rewritten for PIC code.
-
-2006-02-21 09:31 twisti
-
- * src/threads/native/threads.c (vm/vm.h): Added.
- (threads_startup_thread): Compiler warning fix.
-
-2006-02-21 09:25 twisti
-
- * src/vm/jit/stacktrace.c (stacktrace_getCurrentClassLoader): Renamed
- to stacktrace_getCurrentClass and it returns the first Java method's
- class on the stack.
- * src/vm/jit/stacktrace.h (stacktrace_getCurrentClassLoader):
- Likewise.
-
-2006-02-21 09:18 twisti
-
- * src/vm/jit/intrp/engine.c (cacao/cacao.h): Removed.
-
-2006-02-21 09:14 twisti
-
- * configure.ac (AC_CONFIG_FILES): Remvoed ifconv, not yet.
-
-2006-02-21 09:11 twisti
-
- * configure.ac: Default to AC_ENABLE_SHARED and AC_DISABLE_STATIC.
- (ifconv): Added.
- (jni.h): Check for jni.h in GNU Classpath.
- (static-classpath): Added.
-
- * src/vm/vm.c, src/vm/vm.h: New files, contain the JVM startup code.
- * src/vm/Makefile.am (libvm_la_SOURCES): Added vm.[ch].
-
- * src/cacao/cacao.c: Removed JVM startup code.
- * src/cacao/cacao.h: Removed.
- * src/cacao/Makefile.am: Replaced ENABLE_STATICVM by
- WITH_STATIC_CLASSPATH.
- (ENABLE_STATICVM): Build a shared library when not defined.
-
- * src/vm/options.c, src/vm/options.h (mm/memory.h, native/jni.h):
- Added.
- (native/jni.h): Added.
- (opt_ind): Renamed to opt_index.
- (opt_jar, opt_run, opt_method, opt_signature, opt_ifconv): Added.
- (get_opt): Renamed to options_get.
- (options_prepare): New method.
-
- * src/cacaoh/cacaoh.c (main): Use new option handling.
-
- * src/vm/jit/alpha/codegen.c, src/vm/jit/arm/codegen.c,
- src/vm/jit/i386/codegen.c, src/vm/jit/mips/codegen.c,
- src/vm/jit/powerpc/codegen.c (cacao/cacao.h): Removed.
- (vm/vm.h): Added.
- (createnativestub): Replaced ENABLE_STATICVM with
- WITH_STATIC_CLASSPATH and &env by _Jv_env.
-
- * src/vm/jit/patcher.h, src/vm/jit/alpha/patcher.c,
- src/vm/jit/arm/patcher.c, src/vm/jit/i386/patcher.c,
- src/vm/jit/mips/patcher.c, src/vm/jit/powerpc/patcher.c,
- src/vm/jit/x86_64/patcher.c: Replaced ENABLE_STATICVM by
- WITH_STATIC_CLASSPATH.
-
- * src/vm/jit/x86_64/asmpart.S: Rewritten for PIC code.
-
- * src/vm/signal.c (cacao/cacao.h): Removed.
- (vm/vm.h): Added.
- (signal_handler_sigint): Use vm_* functions.
-
- * src/native/native.c: Replaced ENABLE_STATICVM by
- WITH_STATIC_CLASSPATH.
- (cacao/cacao.h): Removed.
- (native_resolve_function): Smaller changes.
-
- * src/native/vm/VMRuntime.c: Replaced ENABLE_STATICVM by
- WITH_STATIC_CLASSPATH.
- (cacao/cacao.h): Removed.
- (vm/vm.h): Added.
- (execInternal): Removed.
- (exit): Use vm_shutdown.
-
- * src/native/native.h: Replaced ENABLE_STATICVM by
- WITH_STATIC_CLASSPATH.
- * src/native/Makefile.am: Likewise.
- * src/native/vm/VMSystemProperties.c: Likewise.
-
- * src/threads/native/threads.c (cacao/cacao.h): Removed.
-
- * src/native/jni.h: Removed our JNI stuff and include GNU Classpath's.
- * src/native/jni.c: Adapt to the new jni.h header.
- (Release<type>ArrayElements): Copy correct element type.
- (Get<type>ArrayRegion): Likewise.
- (Set<type>ArrayRegion): Likewise.
-
-2006-02-20 23:35 twisti
-
- * src/vm/global.h: Sorted java_<type>array definitions.
-
-2006-02-20 23:31 twisti
-
- * src/vm/linker.c (link_class_intern): Comment reformatted.
-
-2006-02-20 15:19 twisti
-
- * src/vm/jit/intrp/engine.c (USE_spTOS): Disable per default.
-
-2006-02-20 14:08 twisti
-
- * src/vm/classcache.c (classcache_new_name): Keep c89 compilers happy.
-
-2006-02-19 22:27 christian
-
- * src/vm/jit/jit.h: added define STKEEP
-
- * src/vm/jit/simplereg.c (reg_free_tmp_func): SAVEDTMP and TMPARG
- flags are not cleared anymore from Stackslots.
- (reg_alloc_dup): TEMPVARs are not reused as SAVEDVARs anymore. This
- has to be checked for conflicts.
- (reg_mark_copy): Added. TEMPVAR Destination Stackslots are marked here
- with STCOPY, if they use a duplicated register/memory location. Not
- reused register/memory locations of TEMPVAR source Stacklots are freed
- again.
- (allocate_scratch_registers): ICMD_DUPx and ICMD_SWAP use now the new
- reg_mark_copy.
-
-2006-02-16 19:39 christian
-
- * src/vm/jit/stack.h (COPY): Prevent setting varkind to STACKVAR for
- stackslots copied by DUPx and SWAP.
- (DUP) Likewise.
- * src/vm/jit/stack.c (analyse_stack): Copy elimination and needed
- conflict resolution was implemented as
- described in the CACAO paper. As "potential exception throwing
- instruction" for now only INVOKE*s are
- regarded. Conflict resolution over DUPx and SWAP should be refined to
- be less conservative.
- * src/vm/jit/jit.c (jit_init): Stackreq for JAVA_IINC is set to 0
- again, since no dummy stackslot is
- needed anymore for conflict resolution with XSTORE.
- * src/vm/jit/allocator/simplereg.c (interface_regalloc): Reuse unused
- float and int argument registers
- for interfaces, too.
- (reg_free_temp): Regard the new stackslot flag STCOPY, before freeing
- a register/memory location.
- (reg_alloc_dup): New function to allocate, if possible, the same
- register/memory location for stackslot
- copied by DUPx and SWAP.
- (allocate_scratch_registers): The new function reg_alloc_dup is used
- now for allocation at ICMD_DUPx and
- ICMD_SWAP, if possible.
- * src/vm/jit/jit.h: Added STCOPY as stackslot flag to mark
- simultanously live stackslots with same
- register after DUPx and SWAP.
- * doc/stack.txt: Updated invariants to show the change with IINC (no
- dummy stacklot anymore).
-
-2006-02-14 20:27 edwin
-
- * src/native/jni.c (_Jv_jni_invokeNative): Cleanup.
-
- * src/native/jni.c (Changes): Added my name.
-
- * src/native/jni.c (vim boilerplate): Added.
-
-2006-02-14 20:10 edwin
-
- * src/native/jni.c (_Jv_jni_invokeNative): Look up _all_ instance
- methods
- in the vftbl.
-
-2006-02-14 20:09 edwin
-
- * src/vm/linker.c (link_class_intern): Do not override
- package-private methods
- from other packages.
-
- * src/vm/linker.c (vim boilerplate): Added.
-
-2006-02-14 15:53 edwin
-
- * src/vm/classcache.c, src/vm/classcache.h: Merge cache entries when
- they are resolved to the same class.
-
-2006-02-14 15:34 edwin
-
- * src/vm/utf8.c, src/vm/utf8.h (utf_full_hashkey): Added.
-
-2006-02-14 11:01 twisti
-
- * configure.ac (AC_INIT): Changed version number to 0.95+cvs.
- (CFLAGS): Changed optimization back to -O0.
-
-2006-02-14 10:30 twisti
-
- * ChangeLog: Updated for release 0.95.
-
-2006-02-14 10:14 twisti
-
- * configure.ac: Updated version to 0.95, set optimization level to
- -O2, some indent changes.
- * ChangeLog-2005: Removed 2006 entries.
-
-2006-02-14 01:10 twisti
-
- * src/vm/jit/profile/profile.c (profile_thread): Fixed compiler
- warning.
-
-2006-02-14 01:05 twisti
-
- * src/vm/jit/intrp/codegen.c (createcompilerstub): Store the
- methodinfo pointer in the same place as in the methodheader for
- compiled methods.
-
-2006-02-14 00:41 twisti
-
- * src/vm/jit/x86_64/codegen.c (createcompilerstub): Store the
- methodinfo pointer in the same place as in the methodheader for
- compiled methods.
-
-2006-02-14 00:33 twisti
-
- * contrib/svn2cl.xsl: New file.
- * THIRDPARTY (contrib/svn2cl.xsl): Added copyright message.
-
-2006-02-14 00:05 twisti
-
- * NEWS: Updated 0.95 release notes.
-
-2006-02-14 00:03 twisti
-
- * src/vm/loader.c (load_field): Removed f->xta.
-
- * src/vm/class.h (vm/method.h): Added.
- (vm/jit/inline/sets.h): Removed.
-
- * src/vm/method.h (vm/jit/inline/parseXTA.h): Removed.
-
- * src/vm/field.h (vm/jit/inline/parseXTA.h): Likewise.
- (fieldinfo): Removed member xta.
-
- * src/lib/Makefile.am (EXTRA_DIST): Fixed typo.
-
-2006-02-14 00:01 twisti
-
- * src/vm/jit/inline/sets.c, src/vm/jit/inline/parseRTstats.c,
- src/vm/jit/inline/parseRT.c, src/vm/jit/inline/parseRTflags.h,
- src/vm/jit/inline/parseRTprint.h, src/vm/jit/inline/sets.h,
- src/vm/jit/inline/parseRTstats.h, src/vm/jit/inline/parseRT.h,
- src/vm/jit/inline/parseXTA.c, src/vm/jit/inline/parseXTA.h: Removed.
-
-2006-02-13 23:45 twisti
-
- * src/vm/class.c (class_findmethod_approx): Removed.
- * src/vm/class.h (class_findmethod_approx): Likewise.
- (class_resolvemethod_approx): Likewise.
-
-2006-02-13 23:16 edwin
-
- * NEWS: Added JNI method resolution fix.
-
-2006-02-13 18:55 twisti
-
- * src/vm/method.c (assert.h): Added.
- (vm/linker.h): Likewise.
- (vm/jit/methodheader.h): Likewise.
- (method_vftbl_lookup): New method.
-
- * src/vm/method.h (vm/linker.h): Added.
- (method_vftbl_lookup): New method.
-
- Fixes bug #17 and #18.
- * src/native/jni.c: Complete rewrite of Call*Method code.
-
-2006-02-13 10:53 twisti
-
- * src/vm/utf8.c (utf_display): Some reformatting.
- (utf_display_classname): Likewise.
-
-2006-02-13 00:12 twisti
-
- * src/vm/jit/mips/codegen.c (createcompilerstub): Store the methodinfo
- pointer in the same place as in the methodheader for compiled methods.
-
-2006-02-12 23:43 twisti
-
- * src/vm/jit/alpha/md.c (md_assembler_get_patch_address): New method.
- (md_codegen_findmethod): Use assert's directly.
-
- * src/vm/jit/mips/md.c (md_assembler_get_patch_address): Likewise.
- (md_codegen_findmethod): Likewise.
-
- * src/vm/jit/alpha/codegen.c (createcompilerstub): Store the
- methodinfo pointer in the same place as in the methodheader for
- compiled methods and pass the pointer in REG_ITMP1.
-
- * src/vm/jit/alpha/md-asm.h (mptr): Defined.
-
- * src/vm/jit/powerpc/asmpart.S (asm_call_jit_compiler): methodinfo
- pointer is passed via itmp1. Use md_assembler_get_patch_address to
- get the patch address.
- (asm_calljavafunction, asm_calljavafunction2): Pass methodinfo pointer
- via itmp1.
-
-2006-02-12 23:22 twisti
-
- * src/vm/jit/powerpc/codegen.c (createcompilerstub): Store the
- methodinfo pointer in the same place as in the methodheader for
- compiled methods.
-
- * src/vm/jit/powerpc/asmpart.S (asm_call_jit_compiler): methodinfo
- pointer is passed via itmp1.
- (asm_calljavafunction, asm_calljavafunction2): Pass methodinfo pointer
- via itmp1.
-
-2006-02-12 22:08 edwin
-
- * src/threads/native/threads.c (threads_dump): Removed unused
- variable 'ee'.
-
-2006-02-12 21:57 edwin
-
- * src/native/vm/VMClass.c (Java_java_lang_VMClass_getDeclaredMethods):
- Cast to java_lang_Class in order to avoid compiler warning.
-
- * src/native/vm/VMClass.c (Changes): Added my name.
-
- * src/native/vm/VMClass.c (vim biolerplate): Added.
-
-2006-02-12 21:47 edwin
-
- * src/threads/native/threads.c (allocLockRecordSimple): Fixed
- declaration
- after code error.
-
-2006-02-12 16:28 twisti
-
- * src/vm/jit/i386/codegen.c (createcompilerstub): Store the
- methodinfo* in the same place as in the methodheader for compiled
- methods.
-
-2006-02-12 16:24 edwin
-
- * NEWS: Added directory check bugfix.
-
-2006-02-12 16:10 edwin
-
- * NEWS: Added two bugfixes.
-
-2006-02-12 16:02 edwin
-
- * src/vm/loader.c, src/vm/loader.h (vim boilerplate): Added.
-
-2006-02-12 13:11 twisti
-
- * src/vm/zip.c (zip_open): Don't add directories to the zipfile
- hashtable. We use the trailing `/' to identify a directory (i hope
- that's correct).
-
-2006-02-12 12:59 christian
-
- * src/vm/jit/x86_64/md-abi.c (md_param_alloc): Regard use of A0 for
- returning float values.
-
-2006-02-12 02:18 edwin
-
- * src/native/vm/VMClassLoader.c (vim boilerplate): Added.
-
-2006-02-12 02:17 edwin
-
- * src/vm/classcache.c (classcache_store): Made classcache_store
- idempotent.
-
- * src/native/vm/VMClassLoader.c
- (Java_java_lang_VMClassLoader_defineClass):
- Store defined class with classcache_store instead of just with
- classcache_store_defined, so it an initiating loader is recorded for
- the
- class. This should solve problems with classes that are defined
- outside
- of a loadClass context (e.g. by java.lang.reflect.Proxy).
-
-2006-02-12 00:30 twisti
-
- * src/native/vm/VMClass.c (getDeclaredMethods): Set the method's class
- in java.lang.reflect.Method.
-
- * src/native/vm/Method.c (toolbox/logging.h, vm/jit/stacktrace.h):
- Removed.
-
- * src/native/vm/VMSystem.c (identityHashCode): Use casts.
-
-2006-02-12 00:25 twisti
-
- * src/vm/exceptions.c, src/vm/exceptions.h
- (exceptions_throw_nosuchmethoderror): New method.
-
-2006-02-11 21:25 christian
-
- * src/vm/jit/stack.h (COPY) All copied stackslots set to TEMPVAR.
- This prevents conflicts with LOCALVAR
- and
- (DUP) Likewise.
- STACKVARS.
-
-2006-02-07 23:18 edwin
-
- * src/vm/jit/stack.h (TYPE_VERIFYERROR): Converted most of body to a
+ * src/vm/jit/alpha/asmpart.S, src/vm/jit/mips/asmpart.S:
+ * src/vm/jit/alpha/asmpart.S (asm_vm_call_method): Restore SP also
+ in exception case.
+ * src/vm/jit/mips/asmpart.S: Likewise.
+ [17282b574f08]
+
+ * src/vm/jit/x86_64/asmpart.S:
+ * src/vm/jit/x86_64/asmpart.S (asm_vm_call_method): Restore SP also
+ in exception case.
+ [846bcfaf0675]
+
+ * src/native/vm/sun/jvm.c:
+ * src/native/vm/sun/jvm.c (JVM_FillInStackTrace): Fixed warning.
+ (JVM_GetSystemPackage): Likewise. (JVM_NewMultiArray): Likewise.
+ [e7ab12ab545e]
+
+ * src/native/vm/sun/jvm.c, src/vmcore/system.h:
+ * changed src/vmcore/system.h [HAVE_SYS_SOCKET_H] (sys/socket.h):
+ Added. [HAVE_SYS_TYPES_H] (sys/types.h): Likewise. (system_accept):
+ New function. (system_connect, system_fsync, system_ftruncate,
+ system_gethostname) (system_getsockname, system_getsockopt,
+ system_listen, system_lseek) (system_setsockopt, system_shutdown,
+ system_socket): Likewise.
+
+ * changed src/native/vm/sun/jvm.c: Use new system_* functions.
+ [f6eb3507d28b]
+
+ * src/native/vm/sun/jvm.c:
+ * src/native/vm/sun/jvm.c: Added return values to all functions.
+ [bc6940061b57]
+
+ * src/native/vm/sun/jvm.c:
+ * src/native/vm/sun/jvm.c (PRINTJVM): Removed.
+ (native/include/java_lang_Integer.h,
+ native/include/java_lang_Long.h, native/include/java_lang_Short.h,
+ native/include/java_lang_Byte.h,
+ native/include/java_lang_Character.h,
+ native/include/java_lang_Boolean.h,
+ native/include/java_lang_Float.h,
+ native/include/java_lang_Double.h): Likewise.
+ (JVM_RawMonitorCreate): Fixed typo.
+ [d296cb58df1c]
+
+ * configure.ac, src/native/vm/sun/jvm.c, src/vmcore/system.h:
+ * configure.ac (AC_CHECK_FUNCS): Added read, write.
+
+ * src/native/vm/sun/jvm.c (fcntl.h): Removed. (JVM_Open, JVM_Close,
+ JVM_Read, JVM_Write): Use system_* function.
+
+ * src/vmcore/system.h [HAVE_FCNTL_H] (fcntl.h): Added.
+ (system_close, system_open, system_read, system_write): New
function.
-
- * src/vm/exceptions.c, src/vm/exceptions.h
- (exceptions_throw_verifyerror_for_stack): Added.
-
- * src/vm/exceptions.c, src/vm/exceptions.h (vim boilerplate): Added.
-
-2006-02-07 21:27 edwin
-
- * src/vm/jit/stack.h (vim boilerplate): Fixed.
-
-2006-02-07 21:15 twisti
-
- * NEWS: Added some stuff.
-
-2006-02-07 17:28 edwin
-
- * src/vm/jit/intrp/codegen.c (createcalljavafunction):
- Removed t_inlining_globals.
-
-2006-02-07 17:22 edwin
-
- * src/vm/jit/codegen-common.c, src/vm/jit/codegen-common.h
- (codegen_setup):
- Removed t_inlining_globals argument.
-
- * src/vm/jit/codegen-common.c (codegen_finish): Prepared for inlined
- line
- number tables. References with line number <-3 will not be relocated.
-
- * src/vm/jit/codegen-common.c (codegen_createnativestub):
- Removed t_inlining_globals and inlining_setup.
-
- * src/vm/jit/codegen-common.h (Changes): Added my name to 'Changes'.
-
- * src/vm/jit/inline/inline.c, src/vm/jit/inline/inline.h: Ripped out
- old
- inliner.
-
- * src/vm/jit/jit.c: Removed inlining headers.
-
- * src/vm/jit/jit.c (INLINE_GOTO): Added instruction name to table.
-
- * src/vm/jit/jit.c (jit_compile_intern): Removed t_inlining_globals
- argument.
-
- * src/vm/jit/codegen-common.c, src/vm/jit/codegen-common.h,
- src/vm/jit/inline/inline.c, src/vm/jit/inline/inline.h (vim
- boilerplate):
- Added.
-
-2006-02-07 16:52 edwin
-
- * src/vm/jit/i386/codegen.c (codegen): Prepared for inlining. The
- icmds
- ICMD_INLINE_START, ICMD_INLINE_END, ICMD_INLINE_GOTO were
- implemented, and
- at the start of exception handlers the indepth is no longer assumed
- to be 1.
-
-2006-02-07 16:47 edwin
-
- * src/vm/jit/jit.h (Changes): Fixed tabs.
-
-2006-02-06 21:06 twisti
-
- * src/threads/native/threads.c, src/threads/native/threads.h
- (sleepThread): Renamed to thread_sleep.
-
-2006-02-06 21:01 twisti
-
- * src/cacao/cacao.c (vm/jit/profile.h): Changed to
- vm/jit/profile/profile.h.
- (main): profile_init and profile_start_thread calls added.
-
-2006-02-06 18:50 twisti
-
- * configure.ac (AC_CONFIG_FILES): Added src/vm/jit/profile/Makefile.
-
-2006-02-06 18:49 twisti
-
- * src/vm/jit/Makefile.am (DIST_SUBDIRS): Added profile.
- (PROFILE_LIB): Added.
- (PROFILE_SOURCES): Removed.
-
-2006-02-06 18:48 twisti
-
- * src/vm/jit/profile/profile.c (profile_init): New method.
- (profile_thread): Likewise.
- (profile_start_thread): Likewise.
- * src/vm/jit/profile/profile.h (profile_init): Added.
- (profile_start_thread): Likewise.
- * src/vm/jit/profile/Makefile.am: New file.
- * src/vm/jit/profile/.cvsignore: Likewise.
-
-2006-02-06 18:34 twisti
-
- * src/vm/jit/profile.h: Moved to src/vm/jit/profile/.
-
-2006-02-06 18:33 twisti
-
- * src/vm/jit/profile.c: Moved to src/vm/jit/profile/.
- * src/vm/jit/profile: Added.
-
-2006-02-06 18:32 twisti
-
- * src/vm/jit/profile: Ooops.
-
-2006-02-06 18:31 twisti
-
- * src/vm/jit/profile.c: Moved to src/vm/jit/profile/.
-
-2006-02-06 18:14 twisti
-
- * src/vm/jit/allocator/Makefile.am: Use tabs instead of space.
- (INCLUDE): Renamed to AM_CPPFLAGS.
-
-2006-02-06 08:22 edwin
-
- * doc/Makefile.am (EXTRA_DIST): Added inlining_stacktrace.txt and
- native_threads.txt.
-
-2006-02-06 06:49 edwin
-
- * src/threads/native/threads.c: Minor cleanup.
-
-2006-02-06 06:46 edwin
-
- * src/threads/native/threads.c: Uncuddled `else`s and other cleanup.
-
-2006-02-06 06:16 edwin
-
- * doc/inlining_stacktrace.txt: Clarified, added entry after the
- inlined body
- for the rest of the line after the call.
-
-2006-02-06 05:00 edwin
-
- * src/vm/jit/i386/machine-instr.h (compare_and_swap): Commented.
-
-2006-02-06 04:50 edwin
-
- * doc/native_threads.txt: Added.
-
-2006-02-06 04:46 edwin
-
- * src/threads/native/threads.c (allocLockRecordPool): Relink the free
- list
- of lock records when reusing a pool from the global_pool. This avoids
- cross-linking of lock record owned by different threads, and hopefully
- fixes our long-standing deadlock problem.
-
- * src/threads/native/threads.c (allocLockRecordSimple,
- recycleLockRecord)
- (initObjectLock): Temporarily added assertions to shake out possible
- further bugs in the free list handling.
-
- * src/threads/native/threads.c (monitorEnter, monitorExit): Commented.
-
- * src/threads/native/threads.c (Changes): Added my name to 'Changes'.
-
- * src/threads/native/threads.c (vim boilerplate): Added.
-
-2006-02-06 01:28 edwin
-
- * src/vm/jit/stacktrace.c (stacktrace_add_method_intern): Added.
- (stacktrace_add_method): Documented. Now uses
- stacktrace_add_method_intern.
- (stacktrace_getCurrentClassLoader): Documented.
- (stacktrace_dump_trace): Removed unused variable.
- (Changes): Added my name to 'Changes'.
-
-2006-02-06 01:08 edwin
-
- * src/vm/jit/verify/typecheck.c (verify_basic_block): Teach the
- verifier
- about the new inline instructions ICMD_INLINE_START, ICMD_INLINE_END,
- and ICMD_INLINE_GOTO.
-
-2006-02-06 01:02 edwin
-
- * src/vm/jit/stack.c (analyse_stack): Set bptr->stack for each visited
- block.
- (show_icmd): Implemented printing of new inline instructions.
-
-2006-02-06 00:02 edwin
-
- * src/vm/jit/allocator/simplereg.c (ICMD_INLINE_GOTO): Added.
- (Changes): Added my name to 'Changes'.
- (vim boilerplate): Added.
-
-2006-02-05 23:34 edwin
-
- * src/vm/jit/allocator/lsra.c, src/vm/jit/allocator/lsra.h (lsra,
- lsra_init):
- Removed t_inlining_globals argument.
- (Changes): Added my name to 'Changes'.
- (vim boilerplate): Added.
-
- * src/vm/jit/jit.c (lsra): Removed t_inlining_globals argument.
-
-2006-02-05 23:24 edwin
-
- * src/vm/jit/jit.c (reg_setup): Removed t_inlining_globals argument.
-
- * src/vm/jit/codegen-common.c (reg_setup): Removed t_inlining_globals
- argument.
-
- * src/vm/jit/reg.c, src/vm/jit/reg.h (reg_setup): Removed
- t_inlining_globals
- argument.
- (Changes): Added my name to 'Changes'.
- (vim boilerplate): Added.
-
-2006-02-05 23:09 edwin
-
- * src/vm/jit/jit.h (Changes): Added my name to 'Changes'.
-
-2006-02-05 23:07 edwin
-
- * src/vm/jit/jit.h (ICMD_INLINE_GOTO): Added. Not used, yet.
-
- * src/vm/jit/jit.h (basicblock): Added 'stack' field. Not used, yet.
-
- * src/vm/jit/jit.h, src/vm/jit/jit.c (vim boilerplate): Added.
-
-2006-02-05 23:02 edwin
-
- * src/vm/jit/parse.c (parseRT.h, parseXTA.h, inline.h,
- parseRTprint.h):
- No longer included.
- (parse): Removed t_inlining_globals * from arguments.
-
- * src/vm/jit/jit.c (parse): Removed t_inlining_globals * from
- arguments.
-
-2006-02-05 22:47 edwin
-
- * src/vm/jit/parse.c, src/vm/jit/parse.h (inline_env): Removed most
- occurences.
- (bound_check1): Renamed to bound_check_exclusive.
-
-2006-02-05 22:22 edwin
-
- * src/vm/jit/parse.c (useinlining): Removed.
-
-2006-02-05 17:36 edwin
-
- * doc/inlining_stacktrace.txt: Added warning about signedness.
- Fixed copy&paste errors.
-
-2006-02-05 15:26 edwin
-
- * doc/inlining_stacktrace.txt: Added.
-
- * src/vm/jit/dseg.c (dseg_addlinenumber_inline_start): Added.
- (dseg_addlinenumber_inline_end): Added.
- (dseg_addlinenumber): Commented.
- (vim boilerplate): Added.
-
- * src/vm/jit/dseg.h (linenumberref): Changed for inlining stacktraces.
- Made targetmpc a ptrint, made linenumber s4, reordered fields.
- (dseg_addlinenumber_inline_start): Added.
- (dseg_addlinenumber_inline_end): Added.
- (vim boilerplate): Added.
-
-2006-02-05 13:52 stefan
-
- * src/threads/native/threads.h: waiting is correctly typed now
- (previous checkin was wrong).
-
-2006-02-05 13:39 stefan
-
- * src/threads/native/threads.c: Let's see if this improves the dead
- lock situation (waiter handling changed slightly).
-
-2006-02-05 12:22 twisti
-
- * tests/regression/native/.cvsignore (*.h, *.so): Added.
-
-2006-02-05 12:20 twisti
-
- * tests/regression/native/Makefile.am,
- tests/regression/codepatching/Makefile.am,
- tests/regression/Makefile.am (JAVAFLAGS): Use VM_ZIP_STRING and
- GLIBJ_ZIP_STRING.
-
-2006-02-05 12:03 twisti
-
- * src/vm/jit/powerpc/asmpart.S, src/vm/jit/alpha/asmpart.S,
- src/vm/jit/mips/asmpart.S, src/vm/jit/i386/asmpart.S,
- src/vm/jit/x86_64/asmpart.S, src/vm/jit/arm/asmpart.S: Disable
- executable stacks, this is required for Gentoo and we actually don't
- need them.
-
-2006-02-05 00:40 twisti
-
- * src/vm/jit/stacktrace.c (stacktrace_create): Get the value of
- _no_threads_stackframeinfo, since it's a pointer, not a structure.
- (stacktrace_print_trace): Check for NULL value and return.
- * src/vm/exceptions.c (exceptions_handle_exception): Compiler warning
- fixed.
- (exceptions_print_exception): Check for NULL value, print it and
- return.
-
-2006-02-05 00:16 twisti
-
- * src/mm/memory.h (string.h): Moved after config.h.
- (OFFSET): Use internal datatypes.
- (NEW, MNEW): Use the proper GC macro when Gc is disabled.
-
-2006-02-05 00:13 twisti
-
- * src/mm/nogc.c (config.h): Moved in front of system headers.
- (heap_allocate): Call exceptions_throw_outofmemory_exit.
- (nogc_init): Likewise.
-
-2006-02-05 00:01 twisti
-
- * src/threads/none/: New.
- * src/threads/none/threads.h: New file. We need this one for
- e.g. stacktrace.c where we use thread stuff in the code.
-
-2006-02-04 23:59 twisti
-
- * src/vm/access.c (assert.h): Move after config.h.
- * src/vm/properties.c (mm/memory.h): Added.
- * src/vm/jit/stacktrace.c (mm/memory.h): Likewise.
- (threads.h): Added.
- (stacktrace_create): Handle stackframeinfo when threads disabled
- properly.
-
-2006-02-04 23:56 twisti
-
- * src/vm/jit/allocator/simplereg.c (allocate_scratch_registers):
- Generate an exception instead of exiting.
- * src/vm/jit/allocator/lsra.c (lsra_scan_registers_canditates):
- Likewise.
-
-2006-02-04 20:15 twisti
-
- * src/vm/jit/stacktrace.h (stacktrace_getCallingClassLoader): Renamed
- to stacktrace_getCurrentClassLoader.
-
- * src/cacaoh/headers.c (nativelyoverloaded): Fixed compiler warning.
-
-2006-02-04 19:09 twisti
-
- * src/native/native.c (native_resolve_function): Print failed is the
- symbol was not found.
-
-2006-02-04 19:08 twisti
-
- * src/vm/jit/stacktrace.h (STACKTRACE_CAPACITY_DEFAULT)
- (STACKTRACE_CAPACITY_INCREMENT): Changed default from 40 to 80, seems
- this is what eclipse and tomcat want.
- (stacktracebuffer): Changed entries from an array to a pointer.
-
-2006-02-04 19:04 twisti
-
- * src/vm/jit/stacktrace.c (stacktrace_add_entry): Reallocate to
- stb->entries.
- (stacktrace_create): Do two dump and heap allocs, does not affect
- performance.
- (stacktrace_getCallingClassLoader): Renamed to
- stacktrace_getCurrentClassLoader.
-
- * src/native/jni.c (FindClass): Renamed
- stacktrace_getCallingClassLoader to stacktrace_getCurrentClassLoader.
-
- * src/native/vm/VMStackWalker.c (getCallingClassLoader): Revert to old
- implementation.
-
-2006-02-04 17:39 edwin
-
- * doc/stack.txt: Typos fixed.
-
-2006-02-04 17:31 edwin
-
- * doc/stack.txt: Expanded tabs.
- * doc/Makefile.am (stack.txt): Added EXTRA_DIST entry for stack.txt.
-
-2006-02-04 17:25 edwin
-
- * doc/stack.txt: Added. This file describes some details about the
- stack representation.
-
-2006-02-04 00:43 twisti
-
- * src/native/Makefile.am (CLEANFILES): Always clean nativetable.inc.
- ($(srcdir)/native.c): Moved inside if ENABLE_STATICVM where it
- belongs! Dammit!
-
-2006-02-04 00:33 twisti
-
- * src/native/Makefile.am: Accidentally moved the library into if
- ENABLE_STATICVM.
- * src/native/include/Makefile.am: Enable accidentally removed
- dependencies.
-
-2006-02-04 00:13 edwin
-
- * src/vm/jit/verify/typecheck.c (logging): Adapted to new logging API.
-
-2006-02-04 00:08 edwin
-
- * src/vm/jit/stack.h (MARKREACHED): Use BBREACHED for readability.
- (vim boilerplate): Added.
-
-2006-02-04 00:04 edwin
-
- * src/vm/method.h (methodinfo): Fixed copy&paste error in comment.
- (vim boilerplate): Added.
-
-2006-02-04 00:00 edwin
-
- * src/vm/jit/stacktrace.c (vim boilerplate): Added.
-
-2006-02-03 22:57 twisti
-
- * configure.ac (VM_ZIP_STRING): Added.
- (GLIBJZ): Renamed to GLIBJ_ZIP_STRING.
- * src/vm/global.h (CACAO_VM_ZIP_PATH): Use GLIBJ_ZIP_STRING.
- * src/lib/Makefile.am (GLIBJ_ZIP): Likewise.
- * src/native/include/Makefile.am, src/native/Makefile.am (VM_ZIP): Use
- VM_ZIP_STRING.
- (GLIBJ_ZIP): Use GLIBJ_ZIP_STRING.
- * contrib/setenvinstalled.in, contrib/setenvsource.in: Likewise.
-
-2006-02-03 22:53 twisti
-
- * src/native/vm/VMRuntime.c (nativeLoad): #ifdef ENABLE_STATICVM
- warning fix.
-
-2006-02-03 22:24 twisti
-
- * src/vm/global.h (CACAO_VM_ZIP_PATH): Removed accidentally commited
- VM_ZIP_FILE.
- * src/native/Makefile.am (VM_ZIP): Likewise.
- * src/native/include/Makefile.am (VM_ZIP): Likewise.
-
-2006-02-03 22:03 twisti
-
- * src/vm/global.h (CACAO_VM_ZIP_PATH): Set correctly for ifndef
- ENABLE_ZLIB.
- * src/lib/Makefile.am (JAVA_VM_FILES): Renamed to VM_JAVA_FILES.
- (VM_CLASS_FILES): Added.
- (pkgdata_DATA): Set to class files for ifndef ENABLE_ZLIB.
- * src/native/include/Makefile.am (VM_ZIP): Set correctly for ifndef
- ENABLE_ZLIB.
- * src/native/Makefile.am (VM_ZIP): Likewise.
-
-2006-02-03 21:58 twisti
-
- * src/vm/suck.c (suck_add): Fixed compiler warning with #ifndef
- ENABLE_ZLIB.
-
-2006-02-03 21:51 twisti
-
- * src/native/tools/.cvsignore (TAGS): Added.
-
-2006-02-03 20:54 twisti
-
- * src/native/Makefile.am (VM_ZIP, GLIBJ_ZIP, CLASSPATH): Added.
-
-2006-02-03 20:53 twisti
-
- * src/native/tools/gennativetable.c (main): Don't free bootclasspath,
- do proper initalization of subsystems, don't link classes.
-
-2006-02-03 19:44 twisti
-
- * src/native/Makefile.am (nativetable.inc): Pass classpath on
- commandline, environment variable support was removed.
-
-2006-02-03 19:42 twisti
-
- * src/native/tools/gennativetable.c: Updated to work again.
-
-2006-02-03 19:27 twisti
-
- * src/cacao/Makefile.am (INCLUDES): Renamed to AM_CPPFLAGS.
- (CLASSPATH_PREFIX): Renamed to CLASSPATH_LIBDIR.
-
-2006-02-03 18:45 twisti
-
- * configure.ac (ENABLE_SOFTFLOAT): Added.
- (NDEBUG): Bugfix for AM_CONDITIONAL.
-
-2006-02-03 14:14 twisti
-
- * src/vm/jit/stacktrace.c (stacktrace_entry): Wrong return value,
- added some checks.
-
-2006-02-03 13:19 twisti
-
- * src/vm/jit/stacktrace.c, src/vm/jit/stacktrace.h
- (lineNumberTableEntry): Renamed to linenumbertable_entry.
- (addEntry): Renamed to stacktrace_add_entry.
- (stacktrace_fillInStackTrace_methodRecursive): Removed.
- (stacktrace_fillInStackTrace_method): Renamed to
- stacktrace_add_method.
- (cacao_stacktrace_fillInStackTrace): Renamed to stacktrace_create.
- (stackTraceCollector): Removed.
- (cacao_stacktrace_NormalTrace): Renamed to
- stacktrace_fillInStackTrace.
- (classContextCollector): Removed.
- (cacao_createClassContextArray): Renamed to
- stacktrace_getClassContext.
- (stacktrace_classLoaderCollector): Removed.
- (cacao_currentClassLoader): Renamed to
- stacktrace_getCallingClassLoader.
- (getStackCollector): Removed.
- (cacao_getStackForVMAccessController): Renamed to stacktrace_getStack.
-
- * src/native/jni.c (jni_init): Use new GCNEW.
- (FindClass): Renamed cacao_currentClassLoader to
- stacktrace_getCallingClassLoader.
-
- * src/native/vm/VMAccessController.c (getStack): Renamed
- cacao_getStackForVMAccessController to stacktrace_getStack.
-
- * src/native/vm/VMStackWalker.c (getClassContext): Renamed
- cacao_createClassContextArray to stacktrace_getClassContext.
- (getCallingClass): Likewise.
- (getCallingClassLoader): Call stacktrace_getCallingClassLoader.
-
- * src/native/vm/Method.c (config.h): Added.
- (invokeNative): Renamed cacao_createClassContextArray to
- stacktrace_getClassContext.
-
- * src/native/vm/Field.c (config.h): Added.
- (cacao_get_field_address): Renamed cacao_createClassContextArray to
- stacktrace_getClassContext. Check for CLASS_INITIALIZED.
-
- * src/native/vm/VMThrowable.c
- (native/include/gnu_classpath_Pointer.h): Added.
- (fillInStackTrace): Call stacktrace_fillInStackTrace.
- (getStackTrace): Adapted.
-
- * src/mm/memory.h (GCNEW): Use only 1 parameter, like NEW.
- (GCMNEW): Added.
-
-2006-02-03 12:46 twisti
-
- * src/threads/native/threads.h (THREADOBJECT): Don't cast to
- java_lang_VMThread*, we don't need that.
-
-2006-02-03 12:38 twisti
-
- * src/vm/method.c (method_printflags, method_print): Check for NULL.
- * src/vm/field.c (field_printflags, field_print) Likewise.
- (stdio.h): Added.
- * src/vm/class.c (class_printflags, class_print): Likewise.
-
-2006-02-02 09:16 twisti
-
- * configure.ac (AC_PROG_JAR): Added.
- * m4/ac_prog_jar.m4: New file.
- * src/lib/Makefile.am (VM_ZIP): Added.
- (vm.zip): Check if $(JAR) is zip or jar type.
-
-2006-02-02 08:51 twisti
-
- * src/vm/loader.c (loader_load_all_classes): Added missing #ifde
- ENABLE_ZLIB.
-
-2006-02-02 08:45 twisti
-
- * configure.ac (NDEBUG): Added missing WITH_BINUTILS_DISASSEMBLER
- conditional.
- (zlib): Fixed handling.
-
-2006-01-31 23:54 twisti
-
- * src/vm/jit/i386/codegen.c (codegen): Added basic block frequency
- count code.
-
-2006-01-31 23:45 twisti
-
- * src/vm/jit/profile.c ("mm/memory.h,vm/options.h): Added.
- (list_method_entry): Likewise.
- (profile_printstats): Sort methods into a list and print it sorted,
- added basic block frequency output.
-
-2006-01-31 23:43 twisti
-
- * src/vm/method.h (methodinfo): Renamed executioncount to
- frequency. Added bbfrequency and cycles.
-
- * src/vm/jit/x86_64/codegen.c (codegen): Added cycle profiling code.
-
- * src/vm/jit/x86_64/codegen.h (M_FMOV): Added.
- (M_IADD_MEMBASE, M_IADC_MEMBASE, M_ISUB_MEMBASE, M_ISBB_MEMBASE):
- Likewise.
- (M_RDTSC, PROFILE_CYCLE_START, PROFILE_CYCLE_STOP): Likewise.
-
- * src/vm/jit/x86_64/emitfuncs.c (x86_64_inc_membase)
- (x86_64_incl_membase): Fixed.
- (emit_rdtsc): Added.
-
- * src/vm/jit/jit.c (jit_compile): Free m->bbfrequency memory.
- (jit_compile_intern): Allocate m->bbfrequency memory.
-
- * src/vm/jit/jit.h: Reformatting.
-
-2006-01-31 23:29 twisti
-
- * src/vm/statistics.c, src/vm/jit/inline/inline.c: Removed inlining
- statistics stuff.
-
-2006-01-31 23:27 twisti
-
- * src/vm/options.c, src/vm/options.h (opt_rt, opt_xta, opt_vta):
- Removed.
- (opt_prof_bb): Added.
- * src/cacao/cacao.c: Likewise.
- (OPT_PROF_OPTION): Added.
-
-2006-01-31 22:31 twisti
-
- * src/vm/jit/stack.c (show_icmd_block): Print the basic block type.
-
-2006-01-31 22:27 twisti
-
- * src/toolbox/list.c, src/toolbox/list.h (list_add_before): Added.
-
-2006-01-31 15:41 twisti
-
- * src/vm/jit/powerpc/codegen.c, src/vm/jit/alpha/codegen.c,
- src/vm/jit/mips/codegen.c, src/vm/jit/i386/codegen.c (codegen): Use
- CLASS_IS_OR_ALMOST_INITIALIZED macro, saves some code space.
-
-2006-01-31 15:35 twisti
-
- Fixes Debian bug #350729
- * src/vm/jit/i386/asmpart.S (asm_md_init): Added, puts the FPU to
- 64-bit precision mode.
- * src/vm/jit/i386/md.c (md_init): Call asm_md_init.
-
- * src/vm/jit/asmpart.h (asm_md_init): Added.
- (has_no_x_instr_set): Removed.
- * src/vm/options.c, src/vm/options.h (has_ext_instr_set): Removed.
- * src/vm/jit/jit.c (jit_init): Removed has_no_x_instr_set call.
- * src/vm/jit/alpha/asmpart.S (has_no_x_instr_set): Renamed to
- asm_md_init.
- * src/vm/jit/alpha/md.c (has_ext_instr_set): Added.
- (md_init): Call asm_md_init.
- * src/vm/jit/alpha/md.h (has_ext_instr_set): Added.
-
-2006-01-31 15:18 edwin
-
- * src/vm/classcache.c: Added a formal description of the classcache.
-
-2006-01-31 14:24 twisti
-
- * src/vm/signal.c (signal_handler_sigint): Typo, reported by Chris
- Burdess on irc.
-
-2006-01-30 16:25 twisti
-
- * src/vm/jit/i386/codegen.c (codegen): Added profiling code.
- (ICMD_IINC): Use macros.
- * src/vm/jit/i386/codegen.h (ucontext.h): Removed.
- (thread_restartcriticalsection): Likewise.
- (M_IADD_IMM_MEMBASE): Added.
-
-2006-01-30 15:44 twisti
-
- * src/vm/options.h, src/vm/options.c (opt_prof): Added.
- * src/cacao/cacao.c (OPT_PROF): Added.
- (exit_handler): Added profile_printstats when opt_prof is enabled.
-
- * src/vm/class.h (classinfo): Members classUsed and impldBy removed.
- * src/vm/loader.c (load_class_from_classbuffer): Likewise.
- * src/vm/linker.c (link_primitivetype_table): Likewise.
- (link_class_intern): Likewise.
- * src/vm/jit/inline/inline.c: Likewise.
-
- * src/vm/method.h (methodinfo): Added member executioncount.
-
- * src/vm/jit/x86_64/codegen.c (codegen): Added profiling code. Some
- code reordering, using more macros and save some code space.
- * src/vm/jit/x86_64/codegen.h (M_ILD32, M_LLD32, M_IST_IMM, M_IST32)
- (M_LST32, M_IST32_IMM, M_LST32_IMM32, M_IINC_MEMBASE, M_ITEST)
- (M_CMP_IMM_MEMBASE, M_ICMP, M_ICMP_IMM, M_ICMP_IMM_MEMBASE, M_CMOVEQ)
- (M_CMOVNE, M_CMOVLT, M_CMOVLE, M_CMOVGE, M_CMOVGT, M_CMOVB, M_CMOVA)
- (M_CMOVP, M_CLR): Added.
-
- * src/vm/jit/x86_64/emitfuncs.c (x86_64_emit_ifcc): Use macros.
- (x86_64_call_mem): Changed mem argument to ptrint type.
- * src/vm/jit/x86_64/emitfuncs.h (x86_64_call_mem): Likewise.
-
- * src/vm/jit/profile.c, src/vm/jit/profile.h: New files.
- * src/vm/jit/Makefile.am (DISASS_OBJ): Renamed to DISASS_SOURCES.
- (PROFILE_SOURCES): Added.
-
-2006-01-30 14:24 christian
-
- * src/vm/jit/allocator/simplereg.c (interface_regalloc): Used
- m->parseddesc->arg[int|flt|adr]reguse to enable use of unused
- argumentregisters in leadmethods.
- (local_regalloc): Likewise.
- (reg_init_temp): Likewise.
-
-2006-01-30 11:26 christian
-
- * src/vm/jit/allocator/simplereg.c: Ensured proper alignment of all
- doubles and longs if ALIGN_[DOUBLES|LONGS]_IN_MEMORY is defined.
- (local_regalloc): Fixed error for HAS_ADREDD_REGISTER_FILE - else was
- missing. Ensured use of unused argument register in leafmethod before
- use of saved registers. Regarded PACK_REGS for
- SUPPORT_COMBINE_INTEGER_REGISTER archs for unused integer argument
- registers.
- * src/vm/jit/i386/arch.h: Added defines for
- ALIGN_[DOUBLES|LONGS]_IN_MEMORY.
- * src/vm/jit/powerpc/arch.h: Likewise.
-
-2006-01-29 17:27 twisti
-
- * src/vm/jit/stack.c (show_icmd): Fixed ICMD_ELSE_ICONST output.
-
-2006-01-28 14:42 twisti
-
- * src/vm/jit/powerpc/linux/md-abi.c,
- src/vm/jit/powerpc/darwin/md-abi.c (md_return_alloc): Use
- m->parseddesc->paramcount instead of m->paramcount.
- * src/vm/jit/schedule/schedule.c (schedule_init): Likewise.
-
- * src/vm/jit/powerpc/codegen.c, src/vm/jit/alpha/codegen.c,
- src/vm/jit/mips/codegen.c, src/vm/jit/i386/codegen.c (codegen):
- Removed first MCODECHECK since it not required.
-
- * src/vm/jit/methodheader.h: Added comment.
-
-2006-01-28 14:25 twisti
-
- * src/vm/jit/x86_64/.cvsignore: Added TAGS.
-
-2006-01-28 14:21 twisti
-
- * src/vm/loader.c (load_method): Removed reference to
- nativelyoverloaded, monoPoly, subRedefs, subRedefsUsed, xta.
- (load_newly_created_array): Removed reference to monoPoly.
-
-2006-01-28 14:18 twisti
-
- * src/vm/method.c (method_descriptor2types): Removed.
- * src/vm/method.h (methodinfo): Removed members returntype,
- returnclass, paramcount, paramtypes, paramclass, xta, methodXTAparsed,
- methodUsed, monoPoly, subRedefs, subRedefsUsed, and
- nativelyoverloaded, this saves about 3.2MB of classinfo memory for
- -all.
- (method_descriptor2types): Removed.
-
- * src/vm/jit/inline/inline.c (inlining_analyse_method): Use
- m->parseddesc->paramcount instead of m->paramcount.
- * src/vm/jit/allocator/simplereg.c (local_regalloc): Likewise.
- * src/vm/jit/x86_64/md-abi.c (md_return_alloc): Likewise.
-
- * src/vm/jit/jit.c (jit_compile): Removed RT_jit_parse and
- XTA_jit_parse calls.
- (jit_compile_intern): Removed method_descriptor2types call.
-
- * src/cacaoh/cacaoh.c (main): Call string_init. Removed
- nativemethod_chain and nativeclass_chain stuff.
-
- * src/cacaoh/headers.c (nativemethod_chain): Removed.
- (nativeclass_chain): Likewise.
- (printmethod): Use m->isleafmethod instead of m->nativelyoverloaded.
- (headerfile_generate): Likewise.
-
-2006-01-28 11:26 twisti
-
- * src/vm/jit/inline/Makefile.am (INCLUDES): Renamed to AM_CPPFLAGS.
- (libinline_la_SOURCES): Don't build RTA/XTA stuff.
-
-2006-01-28 11:24 twisti
-
- * Makefile.am (EXTRA_DIST): Added THIRDPARTY.
-
-2006-01-27 19:05 stefan
-
- * src/threads/native/threads.c: Removed a superfluous (I hope) NULL
- check.
-
-2006-01-27 18:53 stefan
-
- * src/threads/native/threads.c: Repaired thread_getself.
-
-2006-01-27 17:35 twisti
-
- * src/toolbox/logging.c, src/toolbox/logging.h (log_start): Added.
- (log_vprint): Likewise.
- (log_print): Likewise.
- (log_println): Likewise.
- (log_finish): Likewise.
- (log_plain): Removed.
- (log_nl): Removed.
- (log_flush): Likewise.
- (dolog_plain): Likewise.
- (get_logfile): Likewise.
- (log_utf): Likewise.
- (log_plain_utf): Likewise.
- (log_text): Removed but added a define until we have ported all files.
- (dolog): Likewise.
- * src/vm/statistics.c (print_stats): Started to use new logging
- functions. Print some ratios.
-
-2006-01-27 16:32 twisti
-
- * src/native/vm/VMSystemProperties.c (preInit): Don't add . to
- java.library.path per default.
-
-2006-01-27 12:43 twisti
-
- * NEWS: Added powerpc fixes found by javver.
-
-2006-01-24 19:09 twisti
-
- * src/vm/jit/powerpc/codegen.h (var_to_reg_dbl): Added.
- (M_COPY): Handle doubles properly.
-
-2006-01-24 13:52 twisti
-
- * src/vm/jit/powerpc/codegen.h (M_LNGMOVE): Added.
- (var_to_reg_lng): Likewise.
- (M_COPY): Support longs. This was actually never implemented and never
- worked, grrr.
-
-2006-01-24 10:30 twisti
-
- * src/vm/jit/stacktrace.c (cacao_stacktrace_fillInStackTrace): Use
- method_print. Fixed typo.
- * src/vm/jit/powerpc/md.c (md_codegen_findmethod): Handle 2
- instruction returns properly.
-
-2006-01-24 10:28 twisti
-
- * src/vm/builtin.c (builtin_f2i): Enable for interpreter.
- (builtin_d2i): Likewise.
- * src/vm/jit/stack.c (icmd_print_stack): Fixed for ENABLE_INTRP and
- SUPPORT_COMBINE_INTEGER_REGISTERS.
-
-2006-01-23 16:03 twisti
-
- * src/vm/jit/stack.c (show_icmd_method): Fixed basic block count
- output.
-
- * src/vm/jit/i386/codegen.c (codegen): Use disp instead of a. Usage of
- some more macros.
- * src/vm/jit/i386/codegen.h (M_BLT): Added.
- (M_BLE): Likewise.
- (M_BGE): Likewise.
- (M_BGT): Likewise.
- (M_BBE): Likewise.
- (M_BAE): Likewise.
-
-2006-01-23 01:12 twisti
-
- * configure.ac (AC_INIT): Changed version number to 0.94+cvs.
- (CFLAGS): Changed optimization back to -O0.
-
-2006-01-23 01:01 twisti
-
- * ChangeLog: Updated for 0.94 release.
-
-2006-01-22 23:42 twisti
-
- * configure.ac (AC_INIT): Changed version number to 0.94.
- (CFLAGS): Changed optimization to -O2.
-
-2006-01-22 23:33 twisti
-
- * Updated header: Added 2006. Changed address of FSF. Changed email
- address.
-
-2006-01-22 23:16 twisti
-
- * Updated svn:ignore propset.
-
-2006-01-22 23:00 twisti
-
- * src/vm/jit/intrp/Makefile.am (EXTRA_DIST): Added gray.fs and
- BUILT_SOURCES.
-
-2006-01-22 22:46 twisti
-
- * tests/regression/extest.java: Typo.
-
-2006-01-22 22:36 twisti
-
- * NEWS: Added releases 0.90, 0.91, 0.92, 0.93, 0.94.
-
-2006-01-22 22:34 twisti
-
- * README: Updated.
-
-2006-01-22 21:42 twisti
-
- * src/vm/jit/intrp/codegen.c (cacaotype2ffitype): Revert edwin's
- bugfix, but we can't use ffi_type_slong as it's defined as 64-bit
- value on 32-bit machines.
-
-2006-01-22 21:40 twisti
-
- * src/native/Makefile.am (INCLUDES): Renamed to AM_CPPFLAGS.
- (libnative_la_SOURCES): Removed nativecalls.inc.
-
-2006-01-22 21:39 twisti
-
- * tests/Makefile.am (SUBDIRS): Removed native.
-
-2006-01-22 21:38 twisti
-
- * tests/regression/native/testarguments.output: Updated.
- * tests/regression/native/Makefile.am: Made it work with distcheck.
- * tests/regression/codepatching/Makefile.am: Likewise.
- * tests/regression/Makefile.am: Likewise.
-
- * tests/regression/extest.java: Comment changed.
-
-2006-01-22 21:22 twisti
-
- * configure.in: Renamed to configure.ac.
-
-2006-01-22 21:21 twisti
-
- * configure.in (AC_CONFIG_FILES): Removed tests/native/Makefile, added
- tests/regression/native/Makefile.
-
-2006-01-22 20:21 twisti
-
- * tests/native: Moved to tests/regression/native.
-
-2006-01-22 20:00 twisti
-
- * src/vm/jit/asmpart.h (asm_handle_exception)
- (asm_handle_nat_exception): #ifdef ENABLE_JIT.
-
-2006-01-22 19:59 twisti
-
- * src/vm/jit/jit.c (jit_compile_intern): Use
- CLASS_IS_OR_ALMOST_INITIALIZED to check uninitialized.
-
-2006-01-22 19:57 twisti
-
- * src/vm/jit/stacktrace.c (stacktrace_create_inline_stackframeinfo):
- Compiler warning fix.
-
-2006-01-22 19:56 twisti
-
- * src/vm/jit/intrp/java.vmg: Some reformatting.
-
-2006-01-22 19:55 twisti
-
- * src/vm/jit/intrp/asmpart.c (vm/loader.h): Added.
- (intrp_asm_calljavafunction_intern): Use u1* instead of entrypoint.
- (jni_invoke_java_intern): Likewise.
-
-2006-01-22 19:50 twisti
-
- * .cvsignore, src/toolbox/.cvsignore, src/vm/jit/inline/.cvsignore,
- src/vm/jit/allocator/.cvsignore: TAGS added.
-
-2006-01-22 19:37 twisti
-
- * src/boehm-gc/.cvsignore, src/boehm-gc/include/.cvsignore,
- src/vm/.cvsignore, src/vm/jit/tools/.cvsignore,
- src/vm/jit/verify/.cvsignore, src/vm/jit/loop/.cvsignore,
- src/vm/jit/.cvsignore, src/vm/jit/intrp/.cvsignore,
- src/cacao/.cvsignore, src/native/vm/.cvsignore,
- src/native/include/.cvsignore, src/native/.cvsignore,
- src/mm/.cvsignore, src/threads/native/.cvsignore,
- src/threads/.cvsignore, src/fdlibm/.cvsignore, src/.cvsignore,
- src/cacaoh/.cvsignore: TAGS added.
-
-2006-01-22 19:29 edwin
-
- * src/vm/jit/intrp/codegen.c (nativecall): Fixed calculation of the
- stackframeinfo address.
-
-2006-01-22 14:44 twisti
-
- * src/vm/jit/codegen-common.c (codegen_addreference): The last fix was
- not correct if only the intrp is built.
-
-2006-01-22 14:39 twisti
-
- * src/vm/class.c (class_showmethods): Use class_printflags.
- * src/vm/loader.c, src/vm/loader.h (fprintflags): Removed.
- (printflags): Likewise.
- * src/vm/jit/inline/sets.c (printFldSet): Use field_println instead of
- field_display.
- * src/vm/field.c, src/vm/field.h (field_display): Removed.
- (field_printflags): Added.
- (field_print): Likewise.
- (field_println): Likewise.
-
-2006-01-22 00:45 edwin
-
- * src/vm/jit/intrp/codegen.c (cacaotype2ffitype): Use ffi_type_sint
- for
- values of TYPE_INT. This fixes the interpreter on i386, though I'm not
- sure if it is a correct and complete solution.
-
-2006-01-21 21:46 edwin
-
- * src/vm/jit/codegen-common.c (codegen_addreference): Fixed bug when
- both ENABLE_INTRP and ENABLE_JIT were defined.
-
-2006-01-21 20:22 edwin
-
- * src/vm/jit/verify/typecheck.c (typestack_copy,
- typestack_separable_with)
- (typestack_separable_from, verify_basic_block): Comment-only changes.
- (verify_basic_block): Small typo fix in string.
-
-2006-01-20 14:49 twisti
-
- * src/native/jni.c (fill_callblock_from_objectarray): Fixed typo.
- (jni_method_invokeNativeHelper): Major code rewrite and speed
- improvement, renamed to _Jv_jni_invokeNative.
- (cacao_jni_CallVoidMethod): Fixed interpreter bug, renamed to
- _Jv_jni_CallVoidMethod.
- (callLongMethod): Renamed to _Jv_jni_CallLongMethod.
- * src/native/jni.h (jni_method_invokeNativeHelper): Renamed to
- _Jv_jni_invokeNative.
- * src/native/vm/Method.c (Java_java_lang_reflect_Method_invokeNative):
- Renamed jni_method_invokeNativeHelper to _Jv_jni_invokeNative.
- * src/native/vm/Constructor.c: Updated includes.
- (Java_java_lang_reflect_Constructor_constructNative): Renamed
- jni_method_invokeNativeHelper to _Jv_jni_invokeNative.
-
-2006-01-20 13:41 twisti
-
- * tests/regression/Makefile.am (EXTRA_DIST): Made it more readable.
-
-2006-01-20 13:40 twisti
-
- * src/vm/jit/intrp/intrp.h (ffi.h): Removed, not required in this
- file.
- * src/vm/jit/intrp/codegen.c (nativecall): Removed unused big-endian
- code.
- * src/vm/jit/intrp/asmpart.c (asm_calljavafunction_intern): Renamed to
- intrp_asm_calljavafunction_intern, just to be sure.
-
-2006-01-20 13:33 twisti
-
- * src/vm/jit/mips/irix/md-os.c (md_signal_handler_sigsegv): Missed the
- actal rename from the previous commit.
-
-2006-01-20 13:28 twisti
-
- * src/vm/signal.c (vm/signallocal.h): Added.
- * src/vm/signallocal.h (md_signal_handler_sigfpe): #ifdef for i386 and
- x86_64.
-
-2006-01-20 13:25 twisti
-
- * src/vm/jit/powerpc/linux/md-os.c, src/vm/jit/powerpc/darwin/md-os.c,
- src/vm/jit/alpha/linux/md-os.c, src/vm/jit/alpha/freebsd/md-os.c,
- src/vm/jit/mips/linux/md-os.c, src/vm/jit/mips/irix/md-os.c
- (signal_handler_sigsegv): Renamed to md_signal_handler_sigsegv.
- * src/vm/jit/i386/linux/md-os.c, src/vm/jit/i386/freebsd/md-os.c,
- src/vm/jit/x86_64/md.c (signal_handler_sigsegv): Renamed to
- md_signal_handler_sigsegv.
- (signal_handler_sigfpe): Renamed to md_signal_handler_sigfpe.
- * src/vm/signal.c (signal_init): Renamed signal_handler_sigsegv to
- md_signal_handler_sigsegv and signal_handler_sigfpe to
- md_signal_handler_sigfpe respectively.
- * src/vm/signallocal.h (md_signal_handler_sigsegv): Added.
- (md_signal_handler_sigfpe): Likewise.
-
-2006-01-20 13:19 twisti
-
- * src/vm/jit/alpha/codegen.h (ucontext.h): Removed.
- (thread_restartcriticalsection): Removed.
-
-2006-01-20 13:06 twisti
-
- * src/vm/jit/x86_64/disass.c (dis-asm.h): Added.
- (vm/global.h): Likewise.
- (mm/memory.h): Removed.
-
-2006-01-20 13:05 twisti
-
- * src/vm/class.c, src/vm/class.h (class_printflags): Added.
- (class_print): Likewise.
- (class_println): Likewise.
-
-2006-01-20 12:58 twisti
-
- * src/vm/jit/i386/disass.c (disassinstr): Set the read_memory_func in
- disassemble_info to disass_buffer_read_memory.
- (disassemble): Removed.
-
-2006-01-20 12:57 twisti
-
- * src/vm/jit/stack.c (show_icmd_method): Print basic blocks count and
- better basic block header output.
- ICMD_MULTIANEWARRAY: Changed iptr->target and iptr->val.a value.
- ICMD_IFLE_ICONST, ICMD_ELSE_ICONST: Print values better.
-
-2006-01-20 12:01 twisti
-
- * src/vm/jit/powerpc/disass.c (disassinstr): Set the read_memory_func
- in disassemble_info to disass_buffer_read_memory.
- (disassemble): Removed.
-
-2006-01-20 11:38 twisti
-
- * src/vm/jit/disass-common.c, src/vm/jit/disass.h: Added
- disassemble_info and disass_initialized.
- (disassemble): Added.
- (buffer_read_memory): Renamed to disass_buffer_read_memory.
- * src/vm/jit/x86_64/disass.c (disassinstr): Set the read_memory_func
- in disassemble_info to disass_buffer_read_memory.
- (disassemble): Removed.
-
-2006-01-20 10:15 twisti
-
- * regression/extest.java: Removed asmpart exceptions as they are now
- checked with codepatching.
- * regression/extest.2output: Regenerated.
- * regression/extest_clinit.java: Added.
-
-2006-01-20 10:08 twisti
-
- * src/vm/jit/alpha/md.c (md_init): Moved #include and extern's to the
- top of the file, since this broke compilation on debian unstable.
-
-2006-01-19 23:40 edwin
-
- * src/vm/jit/parse.h: Added vim boilerplate.
-
-2006-01-19 23:35 edwin
-
- * src/vm/jit/stack.c: Added vim boilerplate.
-
-2006-01-19 22:21 twisti
-
- * configure.in (AC_CONFIG_FILES): Removed tests/codepatching/Makefile
- and added tests/regression/codepatching/Makefile.
- * tests/Makefile.am (SUBDIRS): Removed codepatching.
- * tests/regression/Makefile.am (SUBDIRS) Added with codepatching.
- * tests/regression/codepatching/Makefile.am (JAVAFLAGS): Added.
-
-2006-01-19 22:11 edwin
-
- * src/vm/jit/parse.c (parse): Removed inlining code.
-
-2006-01-19 22:06 edwin
-
- * src/vm/options.c, src/vm/options.h (useinliningm): Removed.
-
-2006-01-19 22:05 twisti
-
- * tests/codepatching: Moved to tests/regression/codepatching.
-
-2006-01-19 21:31 edwin
-
- * src/vm/jit/jit.c (jit_compile): Removed the INAFTERMAIN hack.
-
-2006-01-19 21:27 edwin
-
- * src/vm/jit/inline/inline.c (inlining_setup): Removed INAFTERMAIN
- hack.
-
-2006-01-19 21:26 edwin
-
- * src/cacao/cacao.c (main): Disabled useinlining and useinliningm.
-
-2006-01-19 20:56 twisti
-
- * src/vm/jit/intrp/codegen.c, src/vm/jit/intrp/java.vmg (FALOAD)
- (FASTORE): Added, required for big-endian machines.
- * src/vm/jit/intrp/engine.c (access_array_float): Likewise.
-
-2006-01-19 20:53 twisti
-
- * src/vm/global.h (java_floatarray): Typo.
-
-2006-01-19 20:28 edwin
-
- * src/vm/jit/parse.c (parse, fillextable): Removed debugging code.
- Minor cleanup.
-
-2006-01-19 20:13 edwin
-
- * src/vm/jit/parse.c (parse): Removed commented out debugging code.
-
-2006-01-19 20:03 twisti
-
- * src/vm/class.c (class_showmethods): Replaced method_display with
- method_println.
-
-2006-01-19 20:00 twisti
-
- * src/vm/jit/inline/inline.c, src/vm/jit/inline/sets.c,
- src/vm/jit/inline/parseRTstats.c, src/vm/jit/inline/parseRT.c,
- src/vm/jit/inline/parseRTprint.h, src/vm/jit/inline/parseXTA.c:
- Replaced method_display and method_display_w_class calls with
- method_println.
-
-2006-01-19 19:49 twisti
-
- * src/vm/method.c, src/vm/method.h (method_display): Removed.
- (method_display_w_class): Likewise.
- (method_printflags): Added.
- (method_print): Likewise.
- (method_println): Likewise.
- Removed. --This line, and those below, will be ignored--
-
- M method.c
- M method.h
-
-2006-01-19 17:02 twisti
-
- * src/vm/jit/powerpc/linux/Makefile.am (INCLUDES): Renamed to
- AM_CPPFLAGS.
- * src/vm/jit/powerpc/Makefile.am (AM_CPPFLAGS): Added missing
- $(OS_DIR) include.
-
-2006-01-19 16:02 twisti
-
- * INCLUDES: Replaced with AM_CPPFLAGS as Tom Tromey suggested on irc,
- as this is more common these days.
-
-2006-01-19 11:58 edwin
-
- * alpha, mips, nat: removed obsolete directories resurrected by svn
- migration
-
-2006-01-19 09:47 twisti
-
- * INCLUDES: Replaced with AM_CPPFLAGS as Tom Tromey suggested on irc,
- as this is more common these days.
-
-2006-01-18 21:41 edwin
-
- * havoc.class: fix corruption by svn eol-style conversion
-
-2006-01-18 15:43 twisti
-
- * AC_CHECK_HEADER: Added ansidecl.h, symcat.h, bfd.h and zconf.h.
-
-2006-01-18 15:41 twisti
-
- * main: Call nogc_init for DISABLE_GC.
-
-2006-01-17 18:51 twisti
-
- * Removed extern stuff that was removed from the lib.
-
-2006-01-17 18:37 twisti
-
- * Updated to new classpath configure options.
-
-2006-01-17 18:24 twisti
-
- * CLASSPATH_INSTALL_DIR: Renamed to CLASSPATH_PREFIX.
-
-2006-01-17 17:06 twisti
-
- * CACAO_INSTALL_PREFIX: Renamed to CACAO_PREFIX.
- * NDEBUG: Check for libintl on cygwin and darwin.
- * --with-classpath-install-dir: Renamed to --with-classpath-prefix.
- * --with-classpath-libdir: Added to support 64-bit platforms where the
- libdir may be /usr/lib64.
-
-2006-01-17 16:59 twisti
-
- * main: Removed CACAO_INSTALL_PREFIX and CLASSPATH_INSTALL_DIR since
- CACAO_VM_ZIP_PATH and CLASSPATH_GLIBJ_ZIP_PATH are now full paths.
-
-2006-01-17 16:58 twisti
-
- * Java_gnu_classpath_VMSystemProperties_preInit: Renamed
- CACAO_INSTALL_PREFIX to CACAO_PREFIX.
-
-2006-01-17 16:57 twisti
-
- * CACAO_VM_ZIP_PATH: Prepend CACAO_PREFIX.
- * CLASSPATH_GLIBJ_ZIP_PATH: Prepend CLASSPATH_PREFIX.
- * CLASSPATH_LIBRARY_PATH: Prepend CLASSPATH_LIBDIR.
-
-2006-01-17 16:55 twisti
-
- * CLASSPATH_INSTALL_DIR: Renamed to CLASSPATH_PREFIX.
-
-2006-01-17 16:53 twisti
-
- * Added.
-
-2006-01-17 16:51 twisti
-
- * m4/as-ac-expand.m4: Added.
-
-2006-01-16 00:07 twisti
-
- * jni_init: Fixed small typo.
-
-2006-01-16 00:04 twisti
-
- * Java_gnu_classpath_VMSystemProperties_preInit: Use the same os.arch
- property values as SUN and others do, so we are compatible (e.g.
- jogl had
- some problems), file.encoding removed as it's set by GNU Classpath,
- hardcode values for gnu.cpu.endian.
-
-2006-01-15 23:32 twisti
-
- * utf_java_nio_DirectByteBufferImpl_ReadWrite: Removed.
- * utf_gnu_classpath_Pointer{32,64}: Likewise.
- * class_java_nio_Buffer: Added, load and link this class in
- jni_init().
- * class_java_nio_DirectByteBufferImpl: Likewise.
- * NewDirectByteBuffer: Removed debug output.
- * GetDirectBufferAddress: Added instanceof check.
- * GetDirectBufferCapacity: Likewise.
-
-2006-01-15 14:12 twisti
-
- * native_new_and_init: Ooops, reverting last change and added an
- explaining
- comment.
-
-2006-01-15 13:32 twisti
-
- * CLASSPATH_LIBRARY_PATH, CLASSPATH_GLIBJ_ZIP_PATH: Temporary bugfix.
-
-2006-01-15 12:28 twisti
-
- * native_findfunction: #ifdef ENABLE_STATICVM.
- * native_new_and_init: Fixed return value.
-
-2006-01-15 01:56 twisti
-
- * math.h: Added for isnan.
-
-2006-01-15 00:37 twisti
-
- * JAVAC: Removed.
-
-2006-01-15 00:36 twisti
-
- * Java_gnu_classpath_VMSystemProperties_preInit: Set user.country
- instead
- of user.region, set en_US if none is defined,
- java.protocol.handler.pkgs
- removed.
-
-2006-01-14 20:02 twisti
-
- * builtin_trace_args: Added callcount to verbose call output.
-
-2006-01-14 17:19 edwin
-
- * src/native/vm/Method.c (invokeNative): check class access rights
-
-2006-01-13 19:37 twisti
-
- * codegen_setup: #ifdef datareferences.
-
-2006-01-13 18:51 twisti
-
- * This class does not differ from the GNU classpath upstream version.
-
-2006-01-13 18:49 twisti
-
- * defineClassWithTransformers: Added, updated to generics version.
-
-2006-01-13 15:29 twisti
-
- * codegendata: #ifdef datareferences member.
- * codegen_finish: Moved data segment reference resolving into
- dseg_resolve_datareferences.
-
-2006-01-13 15:28 twisti
-
- * dseg_resolve_datareferences: Added.
-
-2006-01-13 15:27 twisti
-
- * Small reformatting.
-
-2006-01-13 10:47 twisti
-
- * src/vm/jit/{i386,x86_64}/{dis-asm.h,i386-dis.c}: Removed.
- * src/vm/jit/powerpc/{ppc.h,ppc-dis.c,ppc-opc.c}: Likewise.
- * m4/{ac_prog_javac.m4,ac_prog_javac_works.m4}: Added.
-
-2006-01-13 10:42 twisti
-
- * ICMD_MULTIANEWARRAY: Usage of iptr->val.a and iptr->target changed.
-
-2006-01-13 10:11 twisti
-
- * codegen.h: Added when ENABLE_JIT defined.
- * codegen_addpatchref: Set lastmcodeptr when ENABLE_JIT is defined
- and the
- architecture requires it.
-
-2006-01-13 10:09 twisti
-
- * ICMD_MULTIANEWARRAY: Usage of iptr->val.a and iptr->target changed.
-
-2006-01-12 23:54 twisti
-
- * ICMD_MULTIANEWARRAY: Usage of iptr->val.a and iptr->target changed.
-
-2006-01-12 23:33 twisti
-
- * arch.h: Added.
- * GC_test_and_set: Removed 64-bit version since the 32-bit seems to be
- sufficient and works.
-
-2006-01-12 23:31 twisti
-
- * show_icmd: Use CLASS_IS_OR_ALMOST_INITIALIZED.
- * initialize_class: Use CLASS_IS_OR_ALMOST_INITIALIZED.
-
-2006-01-12 23:30 twisti
-
- * CLASS_IS_OR_ALMOST_INITIALIZED: Added.
-
-2006-01-12 23:27 twisti
-
- * GETSTATIC_FLOAT, PUTSTATIC_FLOAT, GETFIELD_FLOAT, PUTFIELD_FLOAT:
- Added.
- * PATCHER_GETSTATIC_FLOAT, PATCHER_PUTSTATIC_FLOAT,
- PATCHER_GETFIELD_FLOAT,
- PATCHER_PUTFIELD_FLOAT: Likewise.
- * TRACENATIVECALL: Removed codegen_findmethod, use methodinfo* from
- threaded code stream.
- * TRACECALL, TRACERETURN, TRACELRETURN: Likewise.
-
-2006-01-12 23:23 twisti
-
- * Some 64-bit big-endian bugfixes.
- * Use CLASS_IS_OR_ALMOST_INITIALIZED macro.
-
-2006-01-12 23:21 twisti
-
- * 64-bit big-endian bugfix: replace s4 with ptrint.
-
-2006-01-12 23:10 twisti
-
- * Imported for the interpreter.
-
-2006-01-12 23:09 twisti
-
- * Added powerpc64 target.
-
-2006-01-12 23:08 twisti
-
- * intrp_disassinstr, intrp_disassemble: Added.
-
-2006-01-12 23:07 twisti
-
- * vm/options.h: Added.
-
-2006-01-12 23:05 twisti
-
- * config.h, vm/types.h: Added.
-
-2006-01-12 23:03 twisti
-
- * Use ASM_CALLJAVAFUNCTION* macros.
-
-2006-01-12 22:42 twisti
-
- * thread_addstaticcritical: Quick hack: #ifdef ENABLE_JIT
- asm_criticalsections.
- * sigsuspend_handler: Quick hack: #ifdef ENABLE_JIT
- thread_restartcriticalsection.
-
-2006-01-12 22:41 twisti
-
- * vm/options.h: Added.
- * descriptor_pool_parse_method_descriptor: #ifdef ENABLE_JIT
- md_param_alloc
- call.
- * descriptor_params_from_paramtypes: Likewise.
-
-2006-01-12 22:40 twisti
-
- * Fixed a lot of compiler warnings (functionptr -> u1*).
-
-2006-01-12 22:39 twisti
-
- * regs: Removed.
- * disassinstr, disassemble: Prefixed with intrp_.
-
-2006-01-12 22:38 twisti
-
- * ICMD_MULTIANEWARRAY: Usage of iptr->val.a and iptr->target changed.
-
-2006-01-12 22:37 twisti
-
- * builtin_gen_table: #if function according to arch.h.
- * codegen: Prefixed with intrp_, usage of iptr->val.a and iptr->target
- changed.
- * codegen_createlinenumbertable: Renamed to
- dseg_createlinenumbertable.
- * createcompilerstub: Prefixed with intrp_.
- * createnativestub: Likewise.
-
-2006-01-12 22:35 twisti
-
- * verify_multianewarray: Usage iptr->val.a and iptr->target changed.
- * JAVA_MULTIANEWARRAY: Pass c in iptr->val.a and cr in iptr->target.
-
-2006-01-12 22:34 twisti
-
- * codegen_createnativestub: #ifdef ENABLE_JIT md_param_alloc call.
- * codegen_disassemble_nativestub: Use DISASSEMBLE macro.
-
-2006-01-12 22:32 twisti
-
- * analyse_stack: #ifdef ENBALE_JIT md_return_alloc call.
- * icmd_print_stack: Print regs correctly for jit.
- * show_icmd_method: Likewise.
-
-2006-01-12 21:55 twisti
-
- * builtintable_internal: Removed ICMD_CHECKCAST.
-
-2006-01-12 21:39 twisti
-
- * Prefixed functions with intrp_.
- * md_init, md_stacktrace_get_returnaddress: Prefixed with intrp_.
- * thread_restartcriticalsection, md_param_alloc, md_return_alloc:
- Removed.
-
-2006-01-12 21:38 twisti
-
- * Prefix functions with intrp_.
-
-2006-01-12 21:37 twisti
-
- * Use ptrint instead of s8 in some places.
-
-2006-01-12 21:36 twisti
-
- * Use DISASSINSTR macro.
-
-2006-01-12 21:36 michi
-
- * Comment updated (for asm_cacheflush)
-
-2006-01-12 21:35 twisti
-
- * intrp_createcompilerstub, intrp_createnativestub, intrp_codegen:
- Added.
- * codegen.h: Include only for some archs.
- * md-abi.h: Include only for arm.
- * codegen_init: Changed #ifdef to ENABLE_JIT.
- * codegen_createnativestub: Call reg_setup only for jit, #ifdef
- createnativestub to support interpreter.
-
-2006-01-12 21:30 twisti
-
- * intrp_md_stacktrace_get_returnaddress: Added.
- * cacao_stacktrace_fillInStackTrace: #ifdef
- md_stacktrace_get_returnaddress
- to support interpreter.
-
-2006-01-12 21:29 twisti
-
- * Seperate ENABLE_JIT and ENABLE_INTRP.
-
-2006-01-12 21:17 twisti
-
- * config.h: Added.
- * intrp_patcher_get_putstatic, intrp_patcher_get_putfield,
- intrp_patcher_aconst, intrp_patcher_builtin_multianewarray,
- intrp_patcher_builtin_arraycheckcast,
- intrp_patcher_invokestatic_special,
- intrp_patcher_invokevirtual, intrp_patcher_invokeinterface,
- intrp_patcher_checkcast_instanceof, intrp_patcher_resolve_native:
- Likewise.
-
-2006-01-12 21:16 twisti
-
- * jit_compile_intern: #ifdef codegen call to support interpreter, use
- DISASSEMBLE macro.
-
-2006-01-12 21:15 twisti
-
- * DISASSINSTR, DISASSEMBLE: Added.
-
-2006-01-12 21:14 twisti
-
- * Use ASM_CALLJAVAFUNCTION macro.
-
-2006-01-12 21:13 twisti
-
- * Use ASM_CALLJAVAFUNCTION_INT macro.
-
-2006-01-12 21:11 twisti
-
- * intrp_asm_calljavafunction, intrp_createcompilerstub,
- intrp_asm_getclassvalues_atomic: Added.
-
-2006-01-12 21:08 twisti
-
- * Use ASM_CALLJAVAFUNCTION macros.
- * main: #ifdef md_init call to support interpreter.
- * link_class_intern: #ifdef createcompilerstub call to support
- interpreter.
-
-2006-01-12 21:07 twisti
-
- * Use ASM_CALLJAVAFUNCTION macros.
-
-2006-01-12 21:06 twisti
-
- * Use ASM_CALLJAVAFUNCTION_ADR macro.
- * Use ASM_CALLJAVAFUNCTION macro.
-
-2006-01-12 21:04 twisti
-
- * intrp_md_init: Added.
-
-2006-01-12 20:57 twisti
-
- * Check explicitly for isnan.
-
-2006-01-12 18:25 twisti
-
- * print_dynamic_super_statistics: Added from intrp.
-
-2006-01-12 18:09 michi
-
- * Included md-abi.h (needed for REG_SPLIT on Arm)
-
-2006-01-12 17:52 twisti
-
- * We have to use a machine dependent arch.h.
-
-2006-01-11 12:16 twisti
-
- * vm/jit/codegen.inc.h: Removed.
- * Fixed compiler warnings.
-
-2006-01-11 10:35 twisti
-
- * ICMD_F2I, ICMD_D2I, ICMD_F2L, ICMD_D2L: #if 0.
-
-2006-01-11 10:01 twisti
-
- * SUPPORT_FMOD: Removed.
- * SUPPORT_IFCVT: Replaced with SUPPORT_I2F, SUPPORT_I2D or
- SUPPORT_L2F,
- SUPPORT_L2D.
- * SUPPORT_LONG_ICVT: Replaced with SUPPORT_F2L or SUPPORT_D2L.
- * SUPPORT_LONG_FCVT: Replaced with SUPPORT_L2F or SUPPORT_L2D.
-
-2006-01-10 22:44 twisti
-
- * SUPPORT_FMOD: Removed.
- * SUPPORT_IFCVT: Replaced with SUPPORT_I2F, SUPPORT_I2D or
- SUPPORT_L2F,
- SUPPORT_L2D.
- * SUPPORT_LONG_ICVT: Replaced with SUPPORT_F2L or SUPPORT_D2L.
- * SUPPORT_LONG_FCVT: Replaced with SUPPORT_L2F or SUPPORT_L2D.
-
-2006-01-10 22:38 twisti
-
- * SUPPORT_FMOD: Removed.
- * SUPPORT_IFCVT: Replaced with SUPPORT_I2F, SUPPORT_I2D or
- SUPPORT_L2F,
- SUPPORT_L2D.
- * SUPPORT_LONG_ICVT: Replaced with SUPPORT_F2L or SUPPORT_D2L.
- * SUPPORT_LONG_FCVT: Replaced with SUPPORT_L2F or SUPPORT_L2D.
-
-2006-01-10 22:22 twisti
-
- * EXTRA_DIST: Added ChangeLog-2005.
-
-2006-01-10 22:18 twisti
-
- * SUPPORT_FMOD: Removed.
- * SUPPORT_IFCVT: Replaced with SUPPORT_I2F, SUPPORT_I2D or
- SUPPORT_L2F,
- SUPPORT_L2D.
- * SUPPORT_LONG_ICVT: Replaced with SUPPORT_F2L or SUPPORT_D2L.
- * SUPPORT_LONG_FCVT: Replaced with SUPPORT_L2F or SUPPORT_L2D.
-
-2006-01-10 22:11 twisti
-
- * asm_getclassvalues_atomic: Replaced with ASM_GETCLASSVALUES_ATOMIC.
- * SUPPORT_IFCVT: Replaced with SUPPORT_I2F or SUPPORT_I2D.
- * SUPPORT_FICVT: Replaced with SUPPORT_F2I.
- * SUPPORT_LONG_FCVT: Replaced with SUPPORT_L2F.
- * SUPPORT_LONG_ICVT: Replaced with SUPPORT_F2L or SUPPORT_D2L.
-
-2006-01-10 22:09 twisti
-
- * ASM_CALLJAVAFUNCTION, ASM_CALLJAVAFUNCTION_ADR,
- ASM_CALLJAVAFUNCTION_INT,
- ASM_CALLJAVAFUNCTION2, ASM_CALLJAVAFUNCTION2_ADR,
- ASM_CALLJAVAFUNCTION2_INT, ASM_CALLJAVAFUNCTION2_LONG,
- ASM_CALLJAVAFUNCTION2_FLOAT, ASM_CALLJAVAFUNCTION2_DOUBLE: Macros
- added,
- these macros hide the selection between jit and intrp functions.
- * ASM_GETCLASSVALUES_ATOMIC: Likewise.
- * intrp_asm_calljavafunction, intrp_asm_calljavafunction_int: Added.
- * intrp_asm_calljavafunction2, intrp_asm_calljavafunction2int,
- intrp_asm_calljavafunction2long, intrp_asm_calljavafunction2float,
- intrp_asm_calljavafunction2double: Likewise.
- * intrp_asm_getclassvalues_atomic: Likewise.
-
-2006-01-10 21:58 twisti
-
- * SUPPORT_IFCVT: Replaced with SUPPORT_I2F or SUPPORT_I2D.
- * SUPPORT_LONG_FCVT: Replaced with SUPPORT_L2F or SUPPORT_L2D.
- * SUPPORT_LONG_ICVT: Replaced with SUPPORT_F2I, SUPPORT_F2L or
- SUPPORT_D2I,
- SUPPORT_D2L.
-
-2006-01-10 21:11 twisti
-
- * exceptions_throw_negativearraysizeexception: Use
- * builtin_throw_exception: #ifndef NDEBUG.
- * builtin_trace_exception: Likewise.
- * builtin_trace_args: Likewise.
- * builtin_displaymethodstop: Likewise.
- * builtin_*: #if the function regarding the defines in arch.h.
-
-2006-01-10 20:57 twisti
-
- * exceptions_throw_classformaterror,
- exceptions_throw_arrayindexoutofboundsexception,
- exceptions_throw_illegalargumentexception,
- exceptions_throw_negativearraysizeexception,
- exceptions_throw_nullpointerexception: Added.
- * exceptions_print_exception: #ifndef NDEBUG.
-
-2006-01-10 20:56 twisti
-
- * exceptions_throw_classformaterror: Use this function.
-
-2006-01-10 20:55 twisti
-
- * exceptions_throw_nullpointerexception: Use this function.
-
-2006-01-10 20:50 twisti
-
- * exceptions_throw_nullpointerexception,
- exceptions_throw_arrayindexoutofboundsexception: Use these
- functions.
-
-2006-01-10 20:48 twisti
-
- * exceptions_throw_nullpointerexception,
- exceptions_throw_illegalargumentexception: Use these functions.
-
-2006-01-10 20:46 twisti
-
- * exceptions_throw_illegalargumentexception,
- exceptions_throw_negativearraysizeexception,
- exceptions_throw_arrayindexoutofboundsexception,
- exceptions_throw_nullpointerexception: Use these functions.
-
-2006-01-10 20:44 twisti
-
- * exceptions_throw_classformaterror,
- exceptions_throw_negativearraysizeexception,
- exceptions_throw_nullpointerexception: Added.
-
-2006-01-10 15:52 twisti
-
- * Not required anymore.
-
-2006-01-10 15:50 twisti
-
- * use_class_as_object, create_property, copy_vftbl, create_methodsig:
- Removed.
- * classMeth, nativeCall, methodCall, nativeMethod, nativeCompCall,
- methodCompCall, nativeCompMethod: Likewise.
- * natcall2utf, printNativeCall, markNativeMethodsRT: Likewise.
-
-2006-01-10 15:48 twisti
-
- * nativeCalls, nativeCompCalls: Removed.
- * copy_vftbl, create_methodsig: Likewise.
- * printNativeCall, printCompNativeCall, findNativeMethodCalls,
- findNativeClassCalls, utfNativeCall, natcall2utf: Likewise.
-
-2006-01-10 10:59 twisti
-
- * codegen_ncode_increase: Typo.
-
-2006-01-09 20:52 twisti
-
- * disass_buf: Fixed typo.
-
-2006-01-09 20:28 twisti
-
- * disass_printf: Ooops, #ifdef was wrong.
-
-2006-01-09 20:19 twisti
-
- * Removed, we now link against libbfd and libopcodes.
- * stdarg.h, string.h, assert.h, vm/jit/powerpc/dis-asm.h: Removed.
- * dis-asm.h, stdio.h, vm/jit/disass.h: Added.
- * myprintf, buffer_read_memory, perror_memory, generic_print_address,
- generic_symbol_at_address, bfd_getb32, bfd_getl32, sprintf_vma:
- Removed.
- * Use disass-common.c stuff.
-
-2006-01-09 20:15 twisti
-
- * libarch_la_SOURCES: Removed dis-asm.h, ppc-dis.c, ppc-opc.c and
- ppc.h.
-
-2006-01-09 19:21 twisti
-
- * assert.h, stdarg.h, vm/jit/x86_64/dis-asm.h: Removed.
- * stdio.h, vm/jit/disass.h: Added.
- * myprintf, buffer_read_memory, generic_symbol_at_address,
- generic_print_address, perror_memory: Likewise.
- * Use disass-common.c stuff.
-
-2006-01-09 16:37 twisti
-
- * string.h, vm/jit/i386/dis-asm.h: Removed.
- * mylinebuf, mylen: Likewise.
- * myprintf, buffer_read_memory, generic_symbol_at_address,
- generic_print_address, perror_memory: Likewise.
- * Use disass-common.c stuff.
-
-2006-01-09 16:36 twisti
-
- * WITH_BINUTILS_DISASSEMBLER: Added, define DISASS_OBJ.
- * noinst_LTLIBRARIES: Added DISASS_OBJ.
-
-2006-01-09 16:30 twisti
-
- * This file contains the common functions required when we use the
- binutils
- disassembler.
-
-2006-01-09 16:29 twisti
-
- * WITH_BINUTILS_DISASSEMBLER: Added.
- * disass_printf: Added.
-
-2006-01-09 16:26 twisti
-
- * WITH_BINUTILS_DISASSEMBLER: Added.
-
-2006-01-09 12:12 twisti
-
- * Removed, we now link against libbfd and libopcodes.
-
-2006-01-09 12:10 twisti
-
- * libarch_la_SOURCES: Removed dis-asm.h and i386-dis.c.
-
-2006-01-09 10:37 twisti
-
- * AC_CHECK_HEADER checks for ansidecl.h, bfd.h and symcat.h removed.
- * AC_CHECK_HEADER check for dis-asm.h added.
- * AC_CHECK_LIB checks for libbfd and libopcodes added.
-
-2006-01-09 10:35 twisti
-
- * Removed, we now link against libbfd and libopcodes.
- * libarch_la_SOURCES: Removed dis-asm.h and i386-dis.c, we now link
- against
- libbfd and libopcodes.
-
-2006-01-08 23:37 twisti
-
- * Updated from GNU Classpath:
-
- 2005-12-17 Guilhem Lavaux <guilhem@kaffe.org>
-
- * native/fdlibm/fdlibm.h
- (isnan): Define explicitly isnan if it is not a macro.
-
-2006-01-08 23:00 twisti
-
- * loader_load_all_classes: Print exception when loading failed.
-
-2006-01-08 22:38 twisti
-
- * SUCK_xx_xx: We can only optimize little endian loads on i386 and
- x86_64
- machines. All others have problems with alignment.
-
-2006-01-08 22:12 twisti
-
- * Ignore *.class files.
-
-2006-01-08 22:11 twisti
-
- * java-assert.h: Unused, removed.
-
-2006-01-08 22:01 twisti
-
- * Added VM interface change to be consistent:
-
- 2005-11-13 Archie Cobbs <archie@dellroad.org>
-
- * vm/reference/gnu/classpath/VMStackWalker.java (getClassLoader()):
- added to fix an infinite loop bug.
- * NEWS: note VM interface change.
-
-2006-01-08 21:32 twisti
-
- * suck_add: Check for lce != NULL before adding it to the list, since
- zip_open can return NULL.
-
-2006-01-08 19:14 twisti
-
- * JAVAC: Removed.
-
-2006-01-08 19:13 twisti
-
- * SOURCE_FILES: Added.
- * JAVAC: Removed.
- * checkall: Renamed to check.
-
-2006-01-08 19:12 twisti
-
- * Use $(mkdir_p), $(JAVAC) and $(ZIP) variables.
-
-2006-01-08 19:11 twisti
-
- * AM_PROG_MKDIR_P: Added.
- * Added headers checks for ansidecl.h, bfd.h, and symcat.h if we have
- debugging enabled.
- * AC_PROG_JAVAC: Added.
- * AC_PATH_PROG: Added check for zip.
-
-2006-01-08 19:09 twisti
-
- * Macros to check for a Java compiler, taken from
- http://ac-archive.sourceforge.net/.
-
-2006-01-04 09:35 twisti
-
- * Removed src/toolbox/avl.[ch] copyright.
-
-2006-01-04 09:34 twisti
-
- * avl_dump: Only print node->data.
-
-2006-01-03 23:46 twisti
-
- * Use new avl tree code.
- * Rewritten.
-
-2006-01-03 23:44 twisti
-
- * exit_handler: Removed print_dynamic_super_statistics.
- * print_stats: Added print_dynamic_super_statistics.
-
-2006-01-03 23:43 twisti
-
- * threads.h: Added.
- * builtin.h: Likewise.
-
-2006-01-03 23:08 twisti
-
- * CallNonvirtualBooleanMethodA: Added missing ;.
-
-2006-01-03 23:05 twisti
-
- * ENABLE_STATISTICS: Fixed typo.
-
-2006-01-02 21:01 christian
-
- typeing error
-
-2006-01-02 17:13 twisti
-
- * nregdescint, nregdescfloat: Moved to md-abi.c.
-
-2006-01-02 17:12 twisti
-
- * nregdescint, nregdescfloat: Added.
-
-2006-01-02 17:11 twisti
-
- * noinst_HEADERS: Removed md-abi.inc.
-
-2006-01-02 16:40 twisti
-
- * signal_handler_sigsegv: Replaced functionptr with u1*.
-
-2006-01-02 16:18 twisti
-
- * nregdescint, nregdescfloat: Moved to md-abi.c.
-
-2006-01-02 16:17 twisti
-
- * nregdescint, nregdescfloat: Added.
- * noinst_HEADERS: Removed md-abi.inc.
-
-2006-01-02 16:12 twisti
-
- * INCLUDES: Added OS_DIR, some archs have their md-abi.* files in the
- os
- directory.
-
-2006-01-02 16:08 christian
-
- *** empty log message ***
-
-2006-01-02 16:04 twisti
-
- * nregdescint, nregdescfloat: Moved to md-abi.c.
-
-2006-01-02 16:03 twisti
-
- * nregdescint, nregdescfloat: Added.
- * noinst_HEADERS: Removed md-abi.inc.
-
-2006-01-02 14:32 christian
-
- Removed old debug message
-
-2006-01-02 14:26 twisti
-
- * md-abi.inc: Removed.
-
-2006-01-02 14:25 twisti
-
- * nregdescint, nregdescfloat: Moved to md-abi.c.
-
-2006-01-02 14:24 twisti
-
- * nregdescint, nregdescfloat: Added.
- * noinst_HEADERS: Removed md-abi.inc.
-
-2006-01-02 14:11 christian
-
- Corrected \"\" to \<\> for system header include
-
-2006-01-02 14:07 twisti
-
- * nregdescint, nregdescfloat: Moved to md-abi.c.
- * noinst_HEADERS: Removed md-abi.inc.
-
-2006-01-02 14:06 twisti
-
- * nregdescint, nregdescfloat: Added.
- * disassinstr: Some code improvement.
-
-2006-01-02 14:05 twisti
-
- * md-abi.inc: Removed.
-
-2006-01-02 13:05 christian
-
- Changed register allocator .inc to .c files and moved them to
- src/vm/jit/allocator
-
-2006-01-02 12:59 christian
-
- Changed register allocator .inc to .c files and moved them to
- src/vm/jit/allocator
-
-2006-01-02 12:22 twisti
-
- * Fixed result message for debug.
-
-2006-01-02 12:10 twisti
-
- * Typo.
-
-2006-01-02 12:04 twisti
-
- * Added ltdl.h check.
-
-2006-01-02 11:34 twisti
-
- * Fixed ltdl.h include path.
-
-2006-01-02 01:34 twisti
-
- * Fixed ltdl.h include path.
-
-2006-01-02 01:15 twisti
-
- * I don't think we really need them, but they are still in Attic.
-
-2006-01-02 01:10 twisti
-
- * Generated changelog for 2005.
-
-2006-01-02 01:05 twisti
-
- * unzip.[ch], libffi, libltdl: Removed.
-
-2006-01-01 21:53 twisti
-
- * Removed libltdl.
-
-2006-01-01 21:38 twisti
-
- * We now use the system libltdl.
-
-2006-01-01 21:32 twisti
-
- * Changed text of kaffe's stuff, dalibor pointed this out.
-
-2006-01-01 21:29 twisti
-
- * AC_LIBLTDL_CONVENIENCE, AC_SUBST(LIBLTDL): Removed.
- * AC_COMPILE_CHECK_SIZEOF: Replaced with AC_CHECK_SIZEOF.
-
-2006-01-01 21:22 twisti
-
- * m4 macros have a different copyright header.
-
-2006-01-01 21:13 twisti
-
- * Lists all third party software we use. This list contains all
- stuff we
- used in 0.93. Stuff that has been ripped will be deleted after that
- commit, this is for the records.
-
-2006-01-01 20:55 twisti
-
- * Not required.
-
-2006-01-01 19:39 twisti
-
- * Removed libltdlc.la.
- * DIST_SUBDIRS: Removed libltdl.
- * SUBDIRS: Likewise.
-
-2006-01-01 19:38 twisti
-
- * Added libltdl check.
- * AC_CONFIG_SUBDIRS: Removed src/libltdl.
-
-2006-01-01 18:39 twisti
-
- * libarch_la_SOURCES: Removed symcat.h.
-
-2006-01-01 18:34 twisti
-
- * Use system one.
-
-2006-01-01 18:33 twisti
-
- * libarch_la_SOURCES: Removed symcat.h.
-
-2006-01-01 18:30 twisti
-
- * generic_symbol_at_address: Print only 8 bytes.
-
-2006-01-01 18:21 twisti
-
- * Use system ones.
- * generic_symbol_at_address: Added, they were implemented in dis-buf.c
- which was removed.
- * generic_print_address: Likewise.
- * perror_memory: Likewise.
-
-2006-01-01 18:20 twisti
-
- * libarch_la_SOURCES: Removed ansidecl.h, bfd.h and dis-buf.c.
- * config.h, vm/jit/codegen-common.h: Added.
-
-2006-01-01 16:40 twisti
-
- * Changed include to use system headers.
-
-2006-01-01 16:39 twisti
-
- * Use system ones.
- * generic_symbol_at_address: Added, they were implemented in dis-buf.c
- which was removed.
- * generic_print_address: Likewise.
- * perror_memory: Likewise.
-
-2006-01-01 16:37 twisti
-
- * libarch_la_SOURCES: Removed ansidecl.h, bfd.h and dis-buf.c.
-
-2006-01-01 16:35 twisti
-
- * DEC OSF cc only defines __alpha.
-
-2006-01-01 16:34 twisti
-
- * class_resolvefield: Renamed except to throwexception since some
- compilers
- have a builtin except macro (like DEC OSF cc).
- * class_resolveclassmethod: Likewise.
- * class_resolveinterfacemethod: Likewise.
-
-2006-01-01 16:31 twisti
-
- * zip_open: Handle compiler error with DEC OSF's cc.
+ [eb3186f90670]
-2005-12-30 20:45 twisti
+ * src/native/vm/sun/jvm.c, src/vmcore/options.c, src/vmcore/options.h:
+ * src/vmcore/options.c (opt_TraceJVMCallsVerbose): Added.
+ * src/vmcore/options.h: Likewise.
- * vm/jit/codegen.inc: Removed.
- * vm/exceptions.h: Added.
- * vm/jit/codegen-common.h: Likewise.
- * vm/jit/dseg.h: Likewise.
- * codegen: Renamed codegen_createlinenumbertable to
- dseg_createlinenumbertable.
+ * src/native/vm/sun/jvm.c (TRACEJVMCALLSVERBOSE): New macro. Use
+ TRACEJVMCALLS in all functions.
+ [7ac7dbdbce71]