cacao.git
18 years ago* src/vm/jit/stack.h (COPY): Prevent setting varkind to STACKVAR for stackslots copie...
christian [Thu, 16 Feb 2006 19:39:36 +0000 (19:39 +0000)]
* 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).

18 years ago* src/native/jni.c (_Jv_jni_invokeNative): Cleanup.
edwin [Tue, 14 Feb 2006 20:27:06 +0000 (20:27 +0000)]
* src/native/jni.c (_Jv_jni_invokeNative): Cleanup.

* src/native/jni.c (Changes): Added my name.

* src/native/jni.c (vim boilerplate): Added.

18 years ago* src/native/jni.c (_Jv_jni_invokeNative): Look up _all_ instance methods
edwin [Tue, 14 Feb 2006 20:10:58 +0000 (20:10 +0000)]
* src/native/jni.c (_Jv_jni_invokeNative): Look up _all_ instance methods
in the vftbl.

18 years ago* src/vm/linker.c (link_class_intern): Do not override package-private methods
edwin [Tue, 14 Feb 2006 20:09:53 +0000 (20:09 +0000)]
* src/vm/linker.c (link_class_intern): Do not override package-private methods
from other packages.

* src/vm/linker.c (vim boilerplate): Added.

18 years ago* src/vm/classcache.c, src/vm/classcache.h: Merge cache entries when
edwin [Tue, 14 Feb 2006 15:53:36 +0000 (15:53 +0000)]
* src/vm/classcache.c, src/vm/classcache.h: Merge cache entries when
they are resolved to the same class.

18 years ago* src/vm/utf8.c, src/vm/utf8.h (utf_full_hashkey): Added.
edwin [Tue, 14 Feb 2006 15:34:50 +0000 (15:34 +0000)]
* src/vm/utf8.c, src/vm/utf8.h (utf_full_hashkey): Added.

18 years ago* configure.ac (AC_INIT): Changed version number to 0.95+cvs.
twisti [Tue, 14 Feb 2006 11:01:42 +0000 (11:01 +0000)]
* configure.ac (AC_INIT): Changed version number to 0.95+cvs.
(CFLAGS): Changed optimization back to -O0.

18 years ago* CACAO 0.95
twisti [Tue, 14 Feb 2006 10:42:27 +0000 (10:42 +0000)]
* CACAO 0.95

18 years ago* ChangeLog: Updated for release 0.95.
twisti [Tue, 14 Feb 2006 10:30:02 +0000 (10:30 +0000)]
* ChangeLog: Updated for release 0.95.

18 years ago* configure.ac: Updated version to 0.95, set optimization level to
twisti [Tue, 14 Feb 2006 10:14:28 +0000 (10:14 +0000)]
* configure.ac: Updated version to 0.95, set optimization level to
-O2, some indent changes.
* ChangeLog-2005: Removed 2006 entries.

18 years ago* src/vm/jit/profile/profile.c (profile_thread): Fixed compiler
twisti [Tue, 14 Feb 2006 01:10:45 +0000 (01:10 +0000)]
* src/vm/jit/profile/profile.c (profile_thread): Fixed compiler
warning.

18 years ago* src/vm/jit/intrp/codegen.c (createcompilerstub): Store the
twisti [Tue, 14 Feb 2006 01:05:41 +0000 (01:05 +0000)]
* src/vm/jit/intrp/codegen.c (createcompilerstub): Store the
methodinfo pointer in the same place as in the methodheader for
compiled methods.

18 years ago* src/vm/jit/x86_64/codegen.c (createcompilerstub): Store the
twisti [Tue, 14 Feb 2006 00:41:57 +0000 (00:41 +0000)]
* src/vm/jit/x86_64/codegen.c (createcompilerstub): Store the
methodinfo pointer in the same place as in the methodheader for
compiled methods.

18 years ago* contrib/svn2cl.xsl: New file.
twisti [Tue, 14 Feb 2006 00:33:22 +0000 (00:33 +0000)]
* contrib/svn2cl.xsl: New file.
* THIRDPARTY (contrib/svn2cl.xsl): Added copyright message.

18 years ago* NEWS: Updated 0.95 release notes.
twisti [Tue, 14 Feb 2006 00:05:24 +0000 (00:05 +0000)]
* NEWS: Updated 0.95 release notes.

18 years ago* src/vm/loader.c (load_field): Removed f->xta.
twisti [Tue, 14 Feb 2006 00:03:56 +0000 (00:03 +0000)]
* 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.

18 years ago* src/vm/jit/inline/sets.c, src/vm/jit/inline/parseRTstats.c,
twisti [Tue, 14 Feb 2006 00:01:03 +0000 (00:01 +0000)]
* 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.

18 years ago* src/vm/class.c (class_findmethod_approx): Removed.
twisti [Mon, 13 Feb 2006 23:45:27 +0000 (23:45 +0000)]
* src/vm/class.c (class_findmethod_approx): Removed.
* src/vm/class.h (class_findmethod_approx): Likewise.
(class_resolvemethod_approx): Likewise.

18 years ago* NEWS: Added JNI method resolution fix.
edwin [Mon, 13 Feb 2006 23:16:14 +0000 (23:16 +0000)]
* NEWS: Added JNI method resolution fix.

18 years ago* src/vm/method.c (assert.h): Added.
twisti [Mon, 13 Feb 2006 18:55:55 +0000 (18:55 +0000)]
* 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.

18 years ago* src/vm/utf8.c (utf_display): Some reformatting.
twisti [Mon, 13 Feb 2006 10:53:49 +0000 (10:53 +0000)]
* src/vm/utf8.c (utf_display): Some reformatting.
(utf_display_classname): Likewise.

18 years ago* src/vm/jit/mips/codegen.c (createcompilerstub): Store the methodinfo
twisti [Mon, 13 Feb 2006 00:12:24 +0000 (00:12 +0000)]
* src/vm/jit/mips/codegen.c (createcompilerstub): Store the methodinfo
pointer in the same place as in the methodheader for compiled methods.

18 years ago* src/vm/jit/alpha/md.c (md_assembler_get_patch_address): New method.
twisti [Sun, 12 Feb 2006 23:43:09 +0000 (23:43 +0000)]
* 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.

18 years ago* src/vm/jit/powerpc/codegen.c (createcompilerstub): Store the
twisti [Sun, 12 Feb 2006 23:22:36 +0000 (23:22 +0000)]
* 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.

18 years ago* src/threads/native/threads.c (threads_dump): Removed unused variable 'ee'.
edwin [Sun, 12 Feb 2006 22:08:13 +0000 (22:08 +0000)]
* src/threads/native/threads.c (threads_dump): Removed unused variable 'ee'.

18 years ago* src/native/vm/VMClass.c (Java_java_lang_VMClass_getDeclaredMethods):
edwin [Sun, 12 Feb 2006 21:57:46 +0000 (21:57 +0000)]
* 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.

18 years ago* src/threads/native/threads.c (allocLockRecordSimple): Fixed declaration
edwin [Sun, 12 Feb 2006 21:47:10 +0000 (21:47 +0000)]
* src/threads/native/threads.c (allocLockRecordSimple): Fixed declaration
after code error.

18 years ago* src/vm/jit/i386/codegen.c (createcompilerstub): Store the
twisti [Sun, 12 Feb 2006 16:28:35 +0000 (16:28 +0000)]
* src/vm/jit/i386/codegen.c (createcompilerstub): Store the
methodinfo* in the same place as in the methodheader for compiled
methods.

18 years ago* NEWS: Added directory check bugfix.
edwin [Sun, 12 Feb 2006 16:24:50 +0000 (16:24 +0000)]
* NEWS: Added directory check bugfix.

18 years ago* NEWS: Added two bugfixes.
edwin [Sun, 12 Feb 2006 16:10:29 +0000 (16:10 +0000)]
* NEWS: Added two bugfixes.

18 years ago* src/vm/loader.c, src/vm/loader.h (vim boilerplate): Added.
edwin [Sun, 12 Feb 2006 16:02:43 +0000 (16:02 +0000)]
* src/vm/loader.c, src/vm/loader.h (vim boilerplate): Added.

18 years ago* src/vm/zip.c (zip_open): Don't add directories to the zipfile
twisti [Sun, 12 Feb 2006 13:11:06 +0000 (13:11 +0000)]
* 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).

18 years ago* src/vm/jit/x86_64/md-abi.c (md_param_alloc): Regard use of A0 for returning float...
christian [Sun, 12 Feb 2006 12:59:52 +0000 (12:59 +0000)]
* src/vm/jit/x86_64/md-abi.c (md_param_alloc): Regard use of A0 for returning float values.

18 years ago* src/native/vm/VMClassLoader.c (vim boilerplate): Added.
edwin [Sun, 12 Feb 2006 02:18:20 +0000 (02:18 +0000)]
* src/native/vm/VMClassLoader.c (vim boilerplate): Added.

18 years ago* src/vm/classcache.c (classcache_store): Made classcache_store idempotent.
edwin [Sun, 12 Feb 2006 02:17:10 +0000 (02:17 +0000)]
* 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).

18 years ago* src/native/vm/VMClass.c (getDeclaredMethods): Set the method's class
twisti [Sun, 12 Feb 2006 00:30:13 +0000 (00:30 +0000)]
* 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.

18 years ago* src/vm/exceptions.c, src/vm/exceptions.h
twisti [Sun, 12 Feb 2006 00:25:12 +0000 (00:25 +0000)]
* src/vm/exceptions.c, src/vm/exceptions.h
(exceptions_throw_nosuchmethoderror): New method.

18 years ago* src/vm/jit/stack.h (COPY) All copied stackslots set to TEMPVAR. This prevents confl...
christian [Sat, 11 Feb 2006 21:25:45 +0000 (21:25 +0000)]
* src/vm/jit/stack.h (COPY) All copied stackslots set to TEMPVAR. This prevents conflicts with LOCALVAR
and
(DUP) Likewise.
STACKVARS.

18 years ago* src/vm/jit/stack.h (TYPE_VERIFYERROR): Converted most of body to a function.
edwin [Tue, 7 Feb 2006 23:18:23 +0000 (23:18 +0000)]
* src/vm/jit/stack.h (TYPE_VERIFYERROR): Converted most of body to a 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.

18 years ago* src/vm/jit/stack.h (vim boilerplate): Fixed.
edwin [Tue, 7 Feb 2006 21:27:58 +0000 (21:27 +0000)]
* src/vm/jit/stack.h (vim boilerplate): Fixed.

18 years ago* NEWS: Added some stuff.
twisti [Tue, 7 Feb 2006 21:15:11 +0000 (21:15 +0000)]
* NEWS: Added some stuff.

18 years ago* src/vm/jit/intrp/codegen.c (createcalljavafunction):
edwin [Tue, 7 Feb 2006 17:28:05 +0000 (17:28 +0000)]
* src/vm/jit/intrp/codegen.c (createcalljavafunction):
Removed t_inlining_globals.

18 years ago* src/vm/jit/codegen-common.c, src/vm/jit/codegen-common.h (codegen_setup):
edwin [Tue, 7 Feb 2006 17:22:13 +0000 (17:22 +0000)]
* 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.

18 years ago* src/vm/jit/i386/codegen.c (codegen): Prepared for inlining. The icmds
edwin [Tue, 7 Feb 2006 16:52:17 +0000 (16:52 +0000)]
* 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.

18 years ago* src/vm/jit/jit.h (Changes): Fixed tabs.
edwin [Tue, 7 Feb 2006 16:47:44 +0000 (16:47 +0000)]
* src/vm/jit/jit.h (Changes): Fixed tabs.

18 years ago* src/threads/native/threads.c, src/threads/native/threads.h
twisti [Mon, 6 Feb 2006 21:06:12 +0000 (21:06 +0000)]
* src/threads/native/threads.c, src/threads/native/threads.h
(sleepThread): Renamed to thread_sleep.

18 years ago* src/cacao/cacao.c (vm/jit/profile.h): Changed to
twisti [Mon, 6 Feb 2006 21:01:54 +0000 (21:01 +0000)]
* src/cacao/cacao.c (vm/jit/profile.h): Changed to
vm/jit/profile/profile.h.
(main): profile_init and profile_start_thread calls added.

18 years ago* configure.ac (AC_CONFIG_FILES): Added src/vm/jit/profile/Makefile.
twisti [Mon, 6 Feb 2006 18:50:24 +0000 (18:50 +0000)]
* configure.ac (AC_CONFIG_FILES): Added src/vm/jit/profile/Makefile.

18 years ago* src/vm/jit/Makefile.am (DIST_SUBDIRS): Added profile.
twisti [Mon, 6 Feb 2006 18:49:53 +0000 (18:49 +0000)]
* src/vm/jit/Makefile.am (DIST_SUBDIRS): Added profile.
(PROFILE_LIB): Added.
(PROFILE_SOURCES): Removed.

18 years ago* src/vm/jit/profile/profile.c (profile_init): New method.
twisti [Mon, 6 Feb 2006 18:48:50 +0000 (18:48 +0000)]
* 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.

18 years ago* src/vm/jit/profile.h: Moved to src/vm/jit/profile/.
twisti [Mon, 6 Feb 2006 18:34:55 +0000 (18:34 +0000)]
* src/vm/jit/profile.h: Moved to src/vm/jit/profile/.

--HG--
rename : src/vm/jit/profile.h => src/vm/jit/profile/profile.h

18 years ago* src/vm/jit/profile.c: Moved to src/vm/jit/profile/.
twisti [Mon, 6 Feb 2006 18:33:40 +0000 (18:33 +0000)]
* src/vm/jit/profile.c: Moved to src/vm/jit/profile/.

--HG--
rename : src/vm/jit/profile.c => src/vm/jit/profile/profile.c

18 years ago* src/vm/jit/profile: Ooops.
twisti [Mon, 6 Feb 2006 18:32:49 +0000 (18:32 +0000)]
* src/vm/jit/profile: Ooops.

--HG--
rename : src/vm/jit/profile => src/vm/jit/profile.c

18 years ago* src/vm/jit/profile.c: Moved to src/vm/jit/profile/.
twisti [Mon, 6 Feb 2006 18:31:49 +0000 (18:31 +0000)]
* src/vm/jit/profile.c: Moved to src/vm/jit/profile/.

--HG--
rename : src/vm/jit/profile.c => src/vm/jit/profile

18 years ago* src/vm/jit/allocator/Makefile.am: Use tabs instead of space.
twisti [Mon, 6 Feb 2006 18:14:56 +0000 (18:14 +0000)]
* src/vm/jit/allocator/Makefile.am: Use tabs instead of space.
(INCLUDE): Renamed to AM_CPPFLAGS.

18 years ago* doc/Makefile.am (EXTRA_DIST): Added inlining_stacktrace.txt and
edwin [Mon, 6 Feb 2006 08:22:14 +0000 (08:22 +0000)]
* doc/Makefile.am (EXTRA_DIST): Added inlining_stacktrace.txt and
native_threads.txt.

18 years ago* src/threads/native/threads.c: Minor cleanup.
edwin [Mon, 6 Feb 2006 06:49:04 +0000 (06:49 +0000)]
* src/threads/native/threads.c: Minor cleanup.

18 years ago* src/threads/native/threads.c: Uncuddled `else`s and other cleanup.
edwin [Mon, 6 Feb 2006 06:46:35 +0000 (06:46 +0000)]
* src/threads/native/threads.c: Uncuddled `else`s and other cleanup.

18 years ago* doc/inlining_stacktrace.txt: Clarified, added entry after the inlined body
edwin [Mon, 6 Feb 2006 06:16:34 +0000 (06:16 +0000)]
* doc/inlining_stacktrace.txt: Clarified, added entry after the inlined body
for the rest of the line after the call.

18 years ago* src/vm/jit/i386/machine-instr.h (compare_and_swap): Commented.
edwin [Mon, 6 Feb 2006 05:00:12 +0000 (05:00 +0000)]
* src/vm/jit/i386/machine-instr.h (compare_and_swap): Commented.

18 years ago* doc/native_threads.txt: Added.
edwin [Mon, 6 Feb 2006 04:50:38 +0000 (04:50 +0000)]
* doc/native_threads.txt: Added.

18 years ago* src/threads/native/threads.c (allocLockRecordPool): Relink the free list
edwin [Mon, 6 Feb 2006 04:46:39 +0000 (04:46 +0000)]
* 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.

18 years ago* src/vm/jit/stacktrace.c (stacktrace_add_method_intern): Added.
edwin [Mon, 6 Feb 2006 01:28:07 +0000 (01:28 +0000)]
* 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'.

18 years ago* src/vm/jit/verify/typecheck.c (verify_basic_block): Teach the verifier
edwin [Mon, 6 Feb 2006 01:08:37 +0000 (01:08 +0000)]
* 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.

18 years ago* src/vm/jit/stack.c (analyse_stack): Set bptr->stack for each visited
edwin [Mon, 6 Feb 2006 01:02:59 +0000 (01:02 +0000)]
* src/vm/jit/stack.c (analyse_stack): Set bptr->stack for each visited
block.
(show_icmd): Implemented printing of new inline instructions.

18 years ago* src/vm/jit/allocator/simplereg.c (ICMD_INLINE_GOTO): Added.
edwin [Mon, 6 Feb 2006 00:02:50 +0000 (00:02 +0000)]
* src/vm/jit/allocator/simplereg.c (ICMD_INLINE_GOTO): Added.
(Changes): Added my name to 'Changes'.
(vim boilerplate): Added.

18 years ago* src/vm/jit/allocator/lsra.c, src/vm/jit/allocator/lsra.h (lsra, lsra_init):
edwin [Sun, 5 Feb 2006 23:34:07 +0000 (23:34 +0000)]
* 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.

18 years ago* src/vm/jit/jit.c (reg_setup): Removed t_inlining_globals argument.
edwin [Sun, 5 Feb 2006 23:24:34 +0000 (23:24 +0000)]
* 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.

18 years ago* src/vm/jit/jit.h (Changes): Added my name to 'Changes'.
edwin [Sun, 5 Feb 2006 23:09:23 +0000 (23:09 +0000)]
* src/vm/jit/jit.h (Changes): Added my name to 'Changes'.

18 years ago* src/vm/jit/jit.h (ICMD_INLINE_GOTO): Added. Not used, yet.
edwin [Sun, 5 Feb 2006 23:07:39 +0000 (23:07 +0000)]
* 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.

18 years ago* src/vm/jit/parse.c (parseRT.h, parseXTA.h, inline.h, parseRTprint.h):
edwin [Sun, 5 Feb 2006 23:02:05 +0000 (23:02 +0000)]
* 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.

18 years ago* src/vm/jit/parse.c, src/vm/jit/parse.h (inline_env): Removed most occurences.
edwin [Sun, 5 Feb 2006 22:47:24 +0000 (22:47 +0000)]
* src/vm/jit/parse.c, src/vm/jit/parse.h (inline_env): Removed most occurences.
(bound_check1): Renamed to bound_check_exclusive.

18 years ago* src/vm/jit/parse.c (useinlining): Removed.
edwin [Sun, 5 Feb 2006 22:22:05 +0000 (22:22 +0000)]
* src/vm/jit/parse.c (useinlining): Removed.

18 years ago* doc/inlining_stacktrace.txt: Added warning about signedness.
edwin [Sun, 5 Feb 2006 17:36:59 +0000 (17:36 +0000)]
* doc/inlining_stacktrace.txt: Added warning about signedness.
Fixed copy&paste errors.

18 years ago* doc/inlining_stacktrace.txt: Added.
edwin [Sun, 5 Feb 2006 15:26:34 +0000 (15:26 +0000)]
* 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.

18 years ago* src/threads/native/threads.h: waiting is correctly typed now (previous checkin...
stefan [Sun, 5 Feb 2006 13:52:26 +0000 (13:52 +0000)]
* src/threads/native/threads.h: waiting is correctly typed now (previous checkin was wrong).

18 years ago* src/threads/native/threads.c: Let's see if this improves the dead lock situation...
stefan [Sun, 5 Feb 2006 13:39:34 +0000 (13:39 +0000)]
* src/threads/native/threads.c: Let's see if this improves the dead lock situation (waiter handling changed slightly).

18 years ago* tests/regression/native/.cvsignore (*.h, *.so): Added.
twisti [Sun, 5 Feb 2006 12:22:13 +0000 (12:22 +0000)]
* tests/regression/native/.cvsignore (*.h, *.so): Added.

18 years ago* tests/regression/native/Makefile.am,
twisti [Sun, 5 Feb 2006 12:20:26 +0000 (12:20 +0000)]
* tests/regression/native/Makefile.am,
tests/regression/codepatching/Makefile.am,
tests/regression/Makefile.am (JAVAFLAGS): Use VM_ZIP_STRING and
GLIBJ_ZIP_STRING.

18 years ago* src/vm/jit/powerpc/asmpart.S, src/vm/jit/alpha/asmpart.S,
twisti [Sun, 5 Feb 2006 12:03:43 +0000 (12:03 +0000)]
* 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.

18 years ago* src/vm/jit/stacktrace.c (stacktrace_create): Get the value of
twisti [Sun, 5 Feb 2006 00:40:53 +0000 (00:40 +0000)]
* 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.

18 years ago* src/mm/memory.h (string.h): Moved after config.h.
twisti [Sun, 5 Feb 2006 00:16:54 +0000 (00:16 +0000)]
* 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.

18 years ago* src/mm/nogc.c (config.h): Moved in front of system headers.
twisti [Sun, 5 Feb 2006 00:13:21 +0000 (00:13 +0000)]
* src/mm/nogc.c (config.h): Moved in front of system headers.
(heap_allocate): Call exceptions_throw_outofmemory_exit.
(nogc_init): Likewise.

18 years ago* src/threads/none/: New.
twisti [Sun, 5 Feb 2006 00:01:23 +0000 (00:01 +0000)]
* 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.

18 years ago* src/vm/access.c (assert.h): Move after config.h.
twisti [Sat, 4 Feb 2006 23:59:54 +0000 (23:59 +0000)]
* 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.

18 years ago* src/vm/jit/allocator/simplereg.c (allocate_scratch_registers):
twisti [Sat, 4 Feb 2006 23:56:24 +0000 (23:56 +0000)]
* 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.

18 years ago* src/vm/jit/stacktrace.h (stacktrace_getCallingClassLoader): Renamed
twisti [Sat, 4 Feb 2006 20:15:23 +0000 (20:15 +0000)]
* src/vm/jit/stacktrace.h (stacktrace_getCallingClassLoader): Renamed
to stacktrace_getCurrentClassLoader.

* src/cacaoh/headers.c (nativelyoverloaded): Fixed compiler warning.

18 years ago* src/native/native.c (native_resolve_function): Print failed is the
twisti [Sat, 4 Feb 2006 19:09:16 +0000 (19:09 +0000)]
* src/native/native.c (native_resolve_function): Print failed is the
symbol was not found.

18 years ago* src/vm/jit/stacktrace.h (STACKTRACE_CAPACITY_DEFAULT)
twisti [Sat, 4 Feb 2006 19:08:24 +0000 (19:08 +0000)]
* 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.

18 years ago* src/vm/jit/stacktrace.c (stacktrace_add_entry): Reallocate to
twisti [Sat, 4 Feb 2006 19:04:31 +0000 (19:04 +0000)]
* 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.

18 years ago* doc/stack.txt: Typos fixed.
edwin [Sat, 4 Feb 2006 17:39:08 +0000 (17:39 +0000)]
* doc/stack.txt: Typos fixed.

18 years ago* doc/stack.txt: Expanded tabs.
edwin [Sat, 4 Feb 2006 17:31:54 +0000 (17:31 +0000)]
* doc/stack.txt: Expanded tabs.

18 years ago* doc/Makefile.am (stack.txt): Added EXTRA_DIST entry for stack.txt.
edwin [Sat, 4 Feb 2006 17:31:27 +0000 (17:31 +0000)]
* doc/Makefile.am (stack.txt): Added EXTRA_DIST entry for stack.txt.

18 years ago* doc/stack.txt: Added. This file describes some details about the
edwin [Sat, 4 Feb 2006 17:25:57 +0000 (17:25 +0000)]
* doc/stack.txt: Added. This file describes some details about the
stack representation.

18 years ago* src/native/Makefile.am (CLEANFILES): Always clean nativetable.inc.
twisti [Sat, 4 Feb 2006 00:43:15 +0000 (00:43 +0000)]
* src/native/Makefile.am (CLEANFILES): Always clean nativetable.inc.
($(srcdir)/native.c): Moved inside if ENABLE_STATICVM where it
belongs! Dammit!

18 years ago* src/native/Makefile.am: Accidentally moved the library into if
twisti [Sat, 4 Feb 2006 00:33:39 +0000 (00:33 +0000)]
* src/native/Makefile.am: Accidentally moved the library into if
ENABLE_STATICVM.
* src/native/include/Makefile.am: Enable accidentally removed
dependencies.

18 years ago* src/vm/jit/verify/typecheck.c (logging): Adapted to new logging API.
edwin [Sat, 4 Feb 2006 00:13:48 +0000 (00:13 +0000)]
* src/vm/jit/verify/typecheck.c (logging): Adapted to new logging API.

18 years ago* src/vm/jit/stack.h (MARKREACHED): Use BBREACHED for readability.
edwin [Sat, 4 Feb 2006 00:08:10 +0000 (00:08 +0000)]
* src/vm/jit/stack.h (MARKREACHED): Use BBREACHED for readability.
(vim boilerplate): Added.

18 years ago* src/vm/method.h (methodinfo): Fixed copy&paste error in comment.
edwin [Sat, 4 Feb 2006 00:04:41 +0000 (00:04 +0000)]
* src/vm/method.h (methodinfo): Fixed copy&paste error in comment.
(vim boilerplate): Added.

18 years ago* src/vm/jit/stacktrace.c (vim boilerplate): Added.
edwin [Sat, 4 Feb 2006 00:00:01 +0000 (00:00 +0000)]
* src/vm/jit/stacktrace.c (vim boilerplate): Added.