twisti [Tue, 4 Jan 2005 11:21:18 +0000 (11:21 +0000)]
Define CACAO_EXT_DIR.
twisti [Tue, 4 Jan 2005 11:21:02 +0000 (11:21 +0000)]
Warning fixes.
twisti [Tue, 4 Jan 2005 11:19:46 +0000 (11:19 +0000)]
Include cacao.h for env variable.
twisti [Tue, 4 Jan 2005 11:18:50 +0000 (11:18 +0000)]
Declare asm_calljavafunction2int and asm_calljavafunction2float to prevent
warnings.
twisti [Tue, 4 Jan 2005 11:16:57 +0000 (11:16 +0000)]
Install only into ${prefix}/jre/bin.
twisti [Tue, 4 Jan 2005 11:16:06 +0000 (11:16 +0000)]
Export: JNI jvm, env and bootclasspath.
twisti [Tue, 4 Jan 2005 11:15:21 +0000 (11:15 +0000)]
- started jni invocation
- changes INSTALL_PREFIX to CACAO_INSTALL_PREFIX
- classpath bugfix
twisti [Mon, 3 Jan 2005 14:03:08 +0000 (14:03 +0000)]
Wrapper scripts.
twisti [Wed, 29 Dec 2004 15:07:34 +0000 (15:07 +0000)]
- 0.92cvs
- -O0
- disable __thread by default
twisti [Wed, 29 Dec 2004 15:00:57 +0000 (15:00 +0000)]
Export BOOTCLASSPATH and not CLASSPATH.
twisti [Wed, 29 Dec 2004 15:00:25 +0000 (15:00 +0000)]
- implemented bootclasspath usage
- use SystemClassLoader to load main class
twisti [Wed, 29 Dec 2004 14:18:38 +0000 (14:18 +0000)]
Removed unused jitrunning stuff.
twisti [Wed, 29 Dec 2004 13:48:07 +0000 (13:48 +0000)]
Removed : from classpath.
twisti [Wed, 29 Dec 2004 13:47:33 +0000 (13:47 +0000)]
Removed : from CACAO_RT_JAR_PATH.
twisti [Wed, 29 Dec 2004 13:47:15 +0000 (13:47 +0000)]
#ifdef USE_THREADS monitorenter/exit calls.
twisti [Wed, 29 Dec 2004 13:24:01 +0000 (13:24 +0000)]
Unified icmd_names and opcode_names (name length, removed ICMDs from opcode
table, undef number).
twisti [Wed, 29 Dec 2004 12:58:30 +0000 (12:58 +0000)]
#ifdef USE_THREADS monitorenter/exit calls.
twisti [Wed, 29 Dec 2004 12:55:32 +0000 (12:55 +0000)]
Return type fix in GetMethodID.
twisti [Wed, 29 Dec 2004 12:47:18 +0000 (12:47 +0000)]
- make classpath_info a struct, not a union (there are just a few entries)
- if suck_init called more than once, the classpath entries are appended
twisti [Wed, 29 Dec 2004 12:39:46 +0000 (12:39 +0000)]
Set correct java.vendor.url and java.home.
motse [Mon, 27 Dec 2004 21:35:23 +0000 (21:35 +0000)]
added option -jar to cacao
motse [Thu, 23 Dec 2004 17:50:43 +0000 (17:50 +0000)]
remove a few warnings
unknown [Thu, 23 Dec 2004 11:20:11 +0000 (11:20 +0000)]
This commit was manufactured by cvs2svn to create tag
'cacao-0_91-release'.
twisti [Thu, 23 Dec 2004 11:20:11 +0000 (11:20 +0000)]
Changed target to check.
twisti [Thu, 23 Dec 2004 11:19:44 +0000 (11:19 +0000)]
- typo
- added native to subdirs
twisti [Wed, 22 Dec 2004 15:35:54 +0000 (15:35 +0000)]
extest_clinit removed.
twisti [Wed, 22 Dec 2004 14:56:34 +0000 (14:56 +0000)]
Release 0.91, -O2.
twisti [Wed, 22 Dec 2004 14:50:00 +0000 (14:50 +0000)]
Added stub size InternalError.
twisti [Wed, 22 Dec 2004 13:17:24 +0000 (13:17 +0000)]
DARWIN compilation fix.
twisti [Wed, 22 Dec 2004 12:52:24 +0000 (12:52 +0000)]
#include "mm/boehm.h"
twisti [Wed, 22 Dec 2004 12:37:58 +0000 (12:37 +0000)]
Use montiorenter/exit only with threads.
twisti [Wed, 22 Dec 2004 12:31:07 +0000 (12:31 +0000)]
- 3 different clinit classes, because an ExceptionInInitializerError causes
the class to be undefined
twisti [Wed, 22 Dec 2004 12:29:25 +0000 (12:29 +0000)]
Now in extest.java.
twisti [Wed, 22 Dec 2004 12:21:38 +0000 (12:21 +0000)]
Use monitorenter/exit only with threads.
twisti [Wed, 22 Dec 2004 11:07:18 +0000 (11:07 +0000)]
- use monitorenter/exit only with threads
- declare: asm_calljavafunction2int and asm_calljavafunction2float
twisti [Wed, 22 Dec 2004 10:49:35 +0000 (10:49 +0000)]
- use monitorenter/exit only with threads
- some darwin defines
twisti [Wed, 22 Dec 2004 10:48:27 +0000 (10:48 +0000)]
Quick hack: #ifdef USE_THREADS cacao_catch_Handler's code.
twisti [Wed, 22 Dec 2004 10:47:13 +0000 (10:47 +0000)]
Use monitorenter/exit only with threads.
twisti [Wed, 22 Dec 2004 10:13:01 +0000 (10:13 +0000)]
MULTIANEWARRAY bugfix.
twisti [Wed, 22 Dec 2004 09:54:48 +0000 (09:54 +0000)]
- MULTIANEWARRAY bugfix
- added unknown ICMD exception
- warning fixes
twisti [Wed, 22 Dec 2004 09:35:31 +0000 (09:35 +0000)]
- MULTIANEWARRAY bugfix
- warning fixes
jowenn [Wed, 22 Dec 2004 09:27:58 +0000 (09:27 +0000)]
less warnings and C90 compile fix
jowenn [Tue, 21 Dec 2004 20:35:54 +0000 (20:35 +0000)]
one useless debug output less
jowenn [Tue, 21 Dec 2004 20:19:19 +0000 (20:19 +0000)]
don't terminate with "method not found" during compile time Exceptions, jit_compile returns now the native stub if it is called with a native function (JNI), 2 additinal static initializer tests
jowenn [Tue, 21 Dec 2004 16:54:26 +0000 (16:54 +0000)]
wrong comment end
twisti [Tue, 21 Dec 2004 16:53:37 +0000 (16:53 +0000)]
Added a native function, which is not implemented.
twisti [Tue, 21 Dec 2004 16:52:37 +0000 (16:52 +0000)]
- test for clinit exceptions in PUTSTATIC and GETSTATIC
- test for exceptions in native stub
twisti [Tue, 21 Dec 2004 16:50:02 +0000 (16:50 +0000)]
- restuctured native stub
- throw exception if stubsize is too small for generated instructions
twisti [Tue, 21 Dec 2004 16:32:46 +0000 (16:32 +0000)]
Output of check, i think ;-)
jowenn [Tue, 21 Dec 2004 15:15:26 +0000 (15:15 +0000)]
kjc runs again. verbose typechecking partly
twisti [Tue, 21 Dec 2004 14:10:20 +0000 (14:10 +0000)]
jvm98 should work again.
twisti [Tue, 21 Dec 2004 10:14:35 +0000 (10:14 +0000)]
Declare functions with (void).
twisti [Tue, 21 Dec 2004 10:13:27 +0000 (10:13 +0000)]
- removed pthread/semaphore includes
- declare functions with (void)
twisti [Tue, 21 Dec 2004 10:12:44 +0000 (10:12 +0000)]
global.h include path fix.
twisti [Tue, 21 Dec 2004 10:11:23 +0000 (10:11 +0000)]
#include <pthread.h>
twisti [Tue, 21 Dec 2004 10:09:08 +0000 (10:09 +0000)]
Fixed function call.
twisti [Tue, 21 Dec 2004 10:08:06 +0000 (10:08 +0000)]
- declare functions with (void)
- fixed function calls
twisti [Tue, 21 Dec 2004 09:58:17 +0000 (09:58 +0000)]
- check more precise for $host_cpu (e.g. problems with powerpc64)
- move INSTALL_PREFIX into config.h
twisti [Tue, 21 Dec 2004 09:56:58 +0000 (09:56 +0000)]
- fixed MULTIANEWARRAY SAVEDVAR bug
- increased MCODECHECK in exception stubs
- smaller changes
twisti [Tue, 21 Dec 2004 09:55:33 +0000 (09:55 +0000)]
Removed logging from init_systemclassloader.
twisti [Tue, 21 Dec 2004 09:51:19 +0000 (09:51 +0000)]
- throw exception with name in GetMethodID and GetStaticMethodID
- removed logging
twisti [Tue, 21 Dec 2004 09:37:22 +0000 (09:37 +0000)]
Added gnu_java_awt_peer_gtk_GdkFontPeer.h to CLEANFILES.
twisti [Tue, 21 Dec 2004 09:36:57 +0000 (09:36 +0000)]
This one is generated.
twisti [Tue, 21 Dec 2004 09:35:27 +0000 (09:35 +0000)]
- added gnu header and emacs tailer
- sorted awt classes
twisti [Tue, 21 Dec 2004 09:15:09 +0000 (09:15 +0000)]
Added awt includes to CLEANFILES.
twisti [Tue, 21 Dec 2004 09:13:53 +0000 (09:13 +0000)]
Warning fixes.
jowenn [Tue, 21 Dec 2004 07:46:58 +0000 (07:46 +0000)]
fix dummy macro for !(i386 || alpha)
twisti [Mon, 20 Dec 2004 22:21:06 +0000 (22:21 +0000)]
#ifdef GC_darwin_register_mach_handler_thread in GC_DARWIN_THREADS.
twisti [Mon, 20 Dec 2004 21:05:31 +0000 (21:05 +0000)]
- removed i386 method_uses_ stuff
- builtin{1,2} warning fixes
- replace intreg_argnum with INT_ARG_CNT
twisti [Mon, 20 Dec 2004 21:04:08 +0000 (21:04 +0000)]
Removed i386 method_uses_ stuff.
jowenn [Mon, 20 Dec 2004 20:16:57 +0000 (20:16 +0000)]
generate package names correctly, now they are not allways (utf*)0. Adds a new crash in the typechecking code. The package checks there have to be redone. Now fixed to not crash, but the check is useless currently. Now IllegalAccessException is thrown, if a not accessible field (currently only read (will fix set operations tomorrow)) is being accessed via reflection. method invokation does the check too. If a reflected methodID represents an abstract method or the class it belongs to is an interface, the virtual method is now resolved and called instead.
jowenn [Sun, 19 Dec 2004 17:39:01 +0000 (17:39 +0000)]
one additional condition which should throw an array index out of bounds, instead of crashing. Less debug output. One additional test for crash compatibility with sun's vm
jowenn [Sun, 19 Dec 2004 12:40:24 +0000 (12:40 +0000)]
calculate destination block offset correctly. Problem (segfault) was triggered in jython 2.1 in the loadFromPath method
jowenn [Fri, 17 Dec 2004 23:05:27 +0000 (23:05 +0000)]
1) disable the is leaf check for i386, where there is no problem
2) classes which are used as objects should really be linked
3) fix fill_callblock_objA to handle references and arrays correctly
(1 detected through mauve test suite. This will have to be fixed for the Alpha architecture, where the ret address for leaf methods is not stored on the stack)
(2+3 prevented jython from starting. Right now a hello world works, but there are other problems I have to hunt down)
twisti [Fri, 17 Dec 2004 14:30:32 +0000 (14:30 +0000)]
- fixed function comments
- removed log output
twisti [Fri, 17 Dec 2004 12:30:34 +0000 (12:30 +0000)]
Check MULTIANEWARRAY SAVEDVAR copy code.
motse [Thu, 16 Dec 2004 22:13:10 +0000 (22:13 +0000)]
add check for lr != null to threadHoldsLock
motse [Thu, 16 Dec 2004 16:46:57 +0000 (16:46 +0000)]
disable gthread-jni's portable native sync due to yet unresolved threading issues
motse [Thu, 16 Dec 2004 14:40:58 +0000 (14:40 +0000)]
add gnu_java_awt_peer_gtk_GdkFontPeer.h to nativetable.inc
jowenn [Wed, 15 Dec 2004 17:25:04 +0000 (17:25 +0000)]
it should not be IllegalArgumentException, but IllegalAccessException, but that check looks wrong anyway. I have to look more into the the topic of handling the IllegalArgumentException, so this is commented out again for now
jowenn [Wed, 15 Dec 2004 16:21:20 +0000 (16:21 +0000)]
throw the required acceptions in the Field.getXYZ natives, support for static fields in reflection. add missing use_class_as_object call
twisti [Wed, 15 Dec 2004 16:14:57 +0000 (16:14 +0000)]
powerpc-linux changes.
twisti [Wed, 15 Dec 2004 15:55:32 +0000 (15:55 +0000)]
#ifdef the cacao_catch_Handler to __DARWIN__.
twisti [Wed, 15 Dec 2004 15:48:43 +0000 (15:48 +0000)]
Use dynamic buffer in log_message_class and log_message_method to prevent
buffer overflows.
twisti [Wed, 15 Dec 2004 12:57:23 +0000 (12:57 +0000)]
- use bl instead of lwz-mtctr-bctrl sequence
- removed _ from symbols and added defines for darwin (still to decide how
to check for darwin assembler)
twisti [Tue, 14 Dec 2004 13:16:11 +0000 (13:16 +0000)]
Calculate regoff for float ARGVAR's correcly.
twisti [Tue, 14 Dec 2004 13:14:40 +0000 (13:14 +0000)]
Fixed x86_64 argument passing typo.
twisti [Mon, 13 Dec 2004 16:58:37 +0000 (16:58 +0000)]
Fixed argument passing in native stub, testarguments now works properly.
twisti [Mon, 13 Dec 2004 10:09:35 +0000 (10:09 +0000)]
- more checks
- gnu header
twisti [Mon, 13 Dec 2004 08:44:56 +0000 (08:44 +0000)]
- call builtin_trace_args (runverbose) after monitorenter, to get a proper
calltrace with threads
- nativestub changes: fixed stub size (throw an exception we the sub is too
small)
twisti [Mon, 13 Dec 2004 08:41:33 +0000 (08:41 +0000)]
- much indent (sorry)
- asm_calljavafunction2 argument copy bugfix
twisti [Mon, 13 Dec 2004 08:40:16 +0000 (08:40 +0000)]
Changed x86_64 abi back to 8 float argument registers.
twisti [Mon, 13 Dec 2004 08:28:10 +0000 (08:28 +0000)]
Don't export loadingtime and compilingtime (error with gcc-4.0).
twisti [Mon, 13 Dec 2004 08:27:03 +0000 (08:27 +0000)]
Include paths fixed.
carolyn [Fri, 10 Dec 2004 23:21:03 +0000 (23:21 +0000)]
inlining of parameters fixed
twisti [Fri, 10 Dec 2004 13:53:36 +0000 (13:53 +0000)]
Added forgotten ansidecl.h.
twisti [Fri, 10 Dec 2004 13:11:17 +0000 (13:11 +0000)]
- back to -O0 till next release
- added tests/native/Makefile
twisti [Fri, 10 Dec 2004 13:10:29 +0000 (13:10 +0000)]
More generic version, more tests.
twisti [Thu, 9 Dec 2004 14:20:12 +0000 (14:20 +0000)]
Added src/ to paths.
twisti [Thu, 9 Dec 2004 14:07:22 +0000 (14:07 +0000)]
- fixed -verbosecall crash (too small stub size)
- warning fixes
- code cleanup + indent