- * 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.
- * 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.
-
-2006-05-06 18:29 motse
-
- * 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.
-
-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,
- tests/regression/codepatching/putfieldconstD.java,
- tests/regression/codepatching/putfieldconstF.java,
- tests/regression/codepatching/putstaticconstC.java,
- tests/regression/codepatching/putfieldconstJ.java,
- tests/regression/codepatching/putfieldconstL.java,
- tests/regression/codepatching/putstaticconstI.java,
- tests/regression/codepatching/putfieldconstC.java,
- tests/regression/codepatching/putstaticconstD.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
-
- * src/vm/jit/intrp/asmpart.c (intrp_asm_vm_call_method_int): Fix
- build
- errors. TWISTI, please review these changes.
-
-2006-04-28 00:31 edwin
-
- * 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.
-
-2006-04-27 23:03 twisti
-
- * 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.
-
-2006-04-27 12:33 twisti
-
- * 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.
-
-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
- warnings.
-
-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`.
-
-2006-04-25 17:48 edwin
-
- * 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.
-
-2006-04-25 17:45 edwin
-
- * src/mm/memory.h (MZERO): Added macro MZERO for convenient memory
- cleaning.
-
-2006-04-25 17:42 edwin
-
- * 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.
-
-2006-04-25 15:46 edwin
-
- * src/vm/jit/i386/md.c (md_get_method_patch_address): Avoid compiler
- warning.
-
-2006-04-25 15:31 edwin
-
- * src/cacao/cacao.c (main): Avoid warning about unused label.
- Cleaned up whitespace.
-
-2006-04-25 15:26 edwin
-
- * src/vm/exceptions.c (exceptions_throw_verifyerror_for_stack): Avoid
- compiler warning.
-
-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.
-
-2006-04-24 15:43 edwin
-
- * 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.
-
-2006-04-23 15:31 edwin
-
- * src/vm/cycles-stats.c (cycles_stats_get_cpu_MHz): Better error
- handling.
-
-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
- comments.
-
-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.
-
-2006-04-20 18:04 edwin
-
- * 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.
-
-2006-04-20 10:55 twisti
-
- * src/vm/jit/x86_64/codegen.h (M_ALD32): Added.
-
-2006-04-20 10:42 twisti
-
- * src/vm/jit/x86_64/md-abi.h (REG_METHODPTR): Added.
-
-2006-04-20 08:45 twisti
-
- * src/lib/vm/reference/java/lang/VMClassLoader.java: Updated to GNU
- Classpath version.
-
-2006-04-19 01:05 edwin
-
- * 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.
-
-2006-04-17 15:49 edwin
-
- * src/vm/jit/intrp/codegen.c (intrp_codegen): Cast mcodeptr to u1*.
- This should fix intrp on archs with u4* mcodeptr.
-
-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.
-
-2006-04-17 11:47 twisti
-
- * src/vm/jit/codegen-common.h (codegendata): Define lastmcodeptr on
- all architectures. I think it does not matter.
-
-2006-04-14 23:50 edwin
-
- * src/vm/jit/codegen-common.h: Typo fix.
-
-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.
-
-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/vm/jit/codegen-common.c (codegen_setup): Fixed compiler
- warnings, set lastmcodeptr.
- (codegen_increase): Fixed compiler warnings.
- (codegen_finish): Likewise.
- (codegen_createnativestub): Likewise.
-
-2006-04-14 11:28 twisti
-
- * src/vm/jit/alpha/emit.h: Removed. There's now a common one in
- src/vm/jit/.
-
-2006-04-14 11:20 twisti
-
- * 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.
-
-2006-04-13 20:45 edwin
-
- * 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.
-
-2006-04-13 18:21 edwin
-
- * 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.
-
-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
-
- * 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.