jowenn [Fri, 5 Mar 2004 17:04:35 +0000 (17:04 +0000)]
use the old code on alpha for now
jowenn [Tue, 2 Mar 2004 21:18:23 +0000 (21:18 +0000)]
native functions, getClassContext, currentClassLoader implementation (with stack unwinding across native functions, as far as I know that is needed), test cases, usage of the gnu systemclassloader, storage of classloader in classinfo structure, ...
At the moment the stack unwinding is only implemented for i386, alpha will follow during the next days, so currently only i386 will compile and work. I'll do a cleanup of debug code and #if 0 blocks, once I have the alpha platform code in cvs too
twisti [Thu, 26 Feb 2004 00:20:02 +0000 (00:20 +0000)]
- don't use asm_builtin trace functions anymore
- use check_clinit for PUT/GETSTATIC
twisti [Thu, 26 Feb 2004 00:18:36 +0000 (00:18 +0000)]
Define functions prototypes
twisti [Thu, 26 Feb 2004 00:17:51 +0000 (00:17 +0000)]
Changed names of asm_calljava* functions
twisti [Thu, 26 Feb 2004 00:16:50 +0000 (00:16 +0000)]
- removed builtin trace functions
- implemented check_clinit
twisti [Thu, 26 Feb 2004 00:09:51 +0000 (00:09 +0000)]
Removed GC_DEBUG for x86_64
twisti [Thu, 26 Feb 2004 00:00:38 +0000 (00:00 +0000)]
- restructured
- exception handling
edwin [Tue, 24 Feb 2004 13:28:08 +0000 (13:28 +0000)]
fix bug when jit_compile is entered recursively
edwin [Tue, 24 Feb 2004 13:26:24 +0000 (13:26 +0000)]
avoid 'label at end of compound statement' warning
jowenn [Mon, 16 Feb 2004 04:00:59 +0000 (04:00 +0000)]
fix for Object[] oa = (Object[])java.lang.reflect.Array.newInstance(Runnable.class, 1);
jowenn [Mon, 16 Feb 2004 03:59:26 +0000 (03:59 +0000)]
testcase for twisti's Array.NewInstance problem
edwin [Sun, 8 Feb 2004 20:24:57 +0000 (20:24 +0000)]
changed savedstack implementation
edwin [Sun, 8 Feb 2004 19:54:52 +0000 (19:54 +0000)]
fixed exception typechecking
edwin [Sun, 8 Feb 2004 18:13:05 +0000 (18:13 +0000)]
restore input stack types changed by <init> call
edwin [Sun, 8 Feb 2004 15:17:10 +0000 (15:17 +0000)]
don't override private methods
edwin [Thu, 5 Feb 2004 23:13:19 +0000 (23:13 +0000)]
silently remove ACC_SUPER on interfaces
twisti [Thu, 5 Feb 2004 21:44:29 +0000 (21:44 +0000)]
Added java.security.ProtectionDomain, java.lang.VMString to header
generation.
twisti [Thu, 5 Feb 2004 21:23:19 +0000 (21:23 +0000)]
We have to add the string to cacao's constant pool when String.intern() is
called.
twisti [Thu, 5 Feb 2004 21:20:33 +0000 (21:20 +0000)]
Pass string offset to literalstring_u2, fixed to store them properly. Still
one thing left with copymode == false.
carolyn [Wed, 4 Feb 2004 11:42:41 +0000 (11:42 +0000)]
RT update for loader changes
twisti [Mon, 2 Feb 2004 23:09:49 +0000 (23:09 +0000)]
Safety first.
twisti [Mon, 2 Feb 2004 00:52:42 +0000 (00:52 +0000)]
- initialize class only if the called function is static
- small variable size fix
twisti [Mon, 2 Feb 2004 00:51:04 +0000 (00:51 +0000)]
Print initialize class log message only if it's really done.
carolyn [Thu, 29 Jan 2004 13:20:05 +0000 (13:20 +0000)]
Static analysis changes to parse starting with Object.<clinit>
carolyn [Thu, 29 Jan 2004 13:19:02 +0000 (13:19 +0000)]
*** empty log message ***
twisti [Wed, 28 Jan 2004 10:51:58 +0000 (10:51 +0000)]
Second try.
twisti [Tue, 27 Jan 2004 15:14:06 +0000 (15:14 +0000)]
First version of x86 section.
carolyn [Thu, 22 Jan 2004 23:00:32 +0000 (23:00 +0000)]
Commented out MFREE due to stack overflow with current CACAO
twisti [Thu, 22 Jan 2004 21:38:58 +0000 (21:38 +0000)]
- show float arguments as hex values in runverbose mode
- patch PUT/GETSTATIC calling code with a jump
twisti [Thu, 22 Jan 2004 19:06:00 +0000 (19:06 +0000)]
Patch the code for PUT/GETSTATIC instructions to jump over the calling
code.
twisti [Thu, 22 Jan 2004 13:25:36 +0000 (13:25 +0000)]
Don't print log test in nativeInit.
twisti [Thu, 22 Jan 2004 13:24:36 +0000 (13:24 +0000)]
- fixed F2D (in corner case situations like MIN_VALUE we had problems)
- show float arguments as integer hex values in runverbose mode (removed
asm_* trace functions)
- size of native stub depends on runverbose switch
twisti [Wed, 21 Jan 2004 19:36:48 +0000 (19:36 +0000)]
cacaoh needs and depends on
gnuclasspathnat/native/jni/java-lang/.libs/libjavalang.a
stefan [Wed, 21 Jan 2004 00:49:42 +0000 (00:49 +0000)]
More NATIVE_THREADS ifdefs
stefan [Tue, 20 Jan 2004 23:19:14 +0000 (23:19 +0000)]
Fix linking order
edwin [Mon, 19 Jan 2004 13:53:43 +0000 (13:53 +0000)]
added -liberalutf option
edwin [Mon, 19 Jan 2004 12:59:47 +0000 (12:59 +0000)]
optimizations and cleanup
edwin [Mon, 19 Jan 2004 12:53:24 +0000 (12:53 +0000)]
minor optimizations and cleanup
edwin [Mon, 19 Jan 2004 12:32:29 +0000 (12:32 +0000)]
cleanup
edwin [Mon, 19 Jan 2004 12:29:13 +0000 (12:29 +0000)]
minor documentation corrections
edwin [Mon, 19 Jan 2004 12:24:13 +0000 (12:24 +0000)]
cleanup
edwin [Mon, 19 Jan 2004 12:18:14 +0000 (12:18 +0000)]
cleanup, added typecheck statistics
edwin [Mon, 19 Jan 2004 12:16:11 +0000 (12:16 +0000)]
cleanup and documentation, deactivate debug macros
edwin [Mon, 19 Jan 2004 12:14:39 +0000 (12:14 +0000)]
cleanup and documentation
edwin [Fri, 16 Jan 2004 13:07:12 +0000 (13:07 +0000)]
verifier documentation
jowenn [Fri, 16 Jan 2004 07:25:13 +0000 (07:25 +0000)]
fix relative pathes
jowenn [Thu, 15 Jan 2004 21:39:01 +0000 (21:39 +0000)]
adapted for new directory structure
stefan [Wed, 14 Jan 2004 12:42:52 +0000 (12:42 +0000)]
Added critical regions for native threads
stefan [Wed, 14 Jan 2004 12:37:05 +0000 (12:37 +0000)]
Added AVL
edwin [Tue, 13 Jan 2004 19:57:08 +0000 (19:57 +0000)]
added class/field/method name checking
edwin [Tue, 13 Jan 2004 17:17:12 +0000 (17:17 +0000)]
Added check for field/method uniqueness
twisti [Mon, 12 Jan 2004 13:31:56 +0000 (13:31 +0000)]
Removed HAVE_ stuff, just define float versions. I have to check if this
is _really_ correct.
twisti [Mon, 12 Jan 2004 12:03:11 +0000 (12:03 +0000)]
If class is not initialized in put/getstatic we generate a call, thus
isleafmethod = false;
jowenn [Mon, 12 Jan 2004 11:59:55 +0000 (11:59 +0000)]
removal for extern and ZEXPORT. This allows compiliation of the zip part on OSF1.
twisti [Sun, 11 Jan 2004 21:18:30 +0000 (21:18 +0000)]
These new output files reflect the usage of gnu's classpath (float printing
is slightly different).
twisti [Sun, 11 Jan 2004 21:16:59 +0000 (21:16 +0000)]
Added exceptions test.
twisti [Sun, 11 Jan 2004 21:16:35 +0000 (21:16 +0000)]
Output of exception tests.
twisti [Sun, 11 Jan 2004 20:59:29 +0000 (20:59 +0000)]
- added gnu header
- removed struct's but included header files
- removed annoying log
stefan [Sun, 11 Jan 2004 19:04:13 +0000 (19:04 +0000)]
*** empty log message ***
edwin [Sun, 11 Jan 2004 00:55:25 +0000 (00:55 +0000)]
moved packagename field to end of classinfo
edwin [Sat, 10 Jan 2004 22:49:32 +0000 (22:49 +0000)]
added package access checking
edwin [Sat, 10 Jan 2004 21:30:06 +0000 (21:30 +0000)]
typecheck cleanup
edwin [Sat, 10 Jan 2004 20:12:10 +0000 (20:12 +0000)]
implemented subroutine verification (Coglio's method) + several verifier fixes
edwin [Wed, 7 Jan 2004 22:05:04 +0000 (22:05 +0000)]
use global utf strings
edwin [Wed, 7 Jan 2004 20:05:30 +0000 (20:05 +0000)]
added verification checks
edwin [Wed, 7 Jan 2004 19:09:47 +0000 (19:09 +0000)]
include main.h
edwin [Wed, 7 Jan 2004 18:51:16 +0000 (18:51 +0000)]
added various verification checks
edwin [Wed, 7 Jan 2004 18:50:41 +0000 (18:50 +0000)]
handle end_pc == code_length
stefan [Tue, 6 Jan 2004 23:42:01 +0000 (23:42 +0000)]
exceptionptr update for native threads
twisti [Tue, 6 Jan 2004 20:55:56 +0000 (20:55 +0000)]
Removed this ugly log output.
twisti [Tue, 6 Jan 2004 18:49:09 +0000 (18:49 +0000)]
We have to use gnu as because the optimization level can change the code
length. We should check for gas on mips systems.
twisti [Tue, 6 Jan 2004 16:40:00 +0000 (16:40 +0000)]
I should not copy some file without changing the class ;-)
twisti [Tue, 6 Jan 2004 16:37:19 +0000 (16:37 +0000)]
These tests should check all possible exceptions.
twisti [Tue, 6 Jan 2004 16:32:59 +0000 (16:32 +0000)]
- include main.h for compiler switches
- put/getstatic changes (static class initializer)
- removed redefinition of code generation macros
- native stub changes (call trace, arg stuff -- this must be completed)
- fixed CALL_JAVA_xxx defines
twisti [Tue, 6 Jan 2004 16:21:51 +0000 (16:21 +0000)]
- small code indent fix
- function prototypes
twisti [Tue, 6 Jan 2004 16:18:42 +0000 (16:18 +0000)]
- removed has_no_x_instr_set
- added asm_check_clinit, asm_builtin_trace, asm_builtin_exittrace
- added codesize comments to asm_calljavafunction_asm and
asm_calljavafunction2_asm
twisti [Tue, 6 Jan 2004 15:37:05 +0000 (15:37 +0000)]
Log class initialization
twisti [Tue, 6 Jan 2004 15:36:25 +0000 (15:36 +0000)]
Log class initialization in builtin_new.
twisti [Tue, 6 Jan 2004 15:29:14 +0000 (15:29 +0000)]
Log initialization of super classes and interfaces.
stefan [Mon, 5 Jan 2004 23:59:28 +0000 (23:59 +0000)]
Native threads
stefan [Mon, 5 Jan 2004 23:58:39 +0000 (23:58 +0000)]
Moved _GNU_SOURCE so it actually has an effect
stefan [Mon, 5 Jan 2004 21:27:29 +0000 (21:27 +0000)]
make compileable without USE_ZLIB
twisti [Mon, 5 Jan 2004 10:51:58 +0000 (10:51 +0000)]
- asm_check_clinit (static class initializer)
- removed unnecessary calljavafunction2 headers
- removed asm_builtin_trace, asm_builtin_exittrace
twisti [Mon, 5 Jan 2004 10:49:05 +0000 (10:49 +0000)]
- include main.h for compiler switches
- get/putstatic class initialization (static class initializer)
twisti [Mon, 5 Jan 2004 10:40:42 +0000 (10:40 +0000)]
Include main.h for compiler switches.
twisti [Mon, 5 Jan 2004 10:38:06 +0000 (10:38 +0000)]
Removed exports of compiler switches (moved to main.h).
stefan [Mon, 5 Jan 2004 08:07:33 +0000 (08:07 +0000)]
Apparently older autoconf versions had problems
twisti [Mon, 5 Jan 2004 00:50:24 +0000 (00:50 +0000)]
Removed compiler_addinitclass
twisti [Mon, 5 Jan 2004 00:48:22 +0000 (00:48 +0000)]
Forgot to remove #if 0's
twisti [Mon, 5 Jan 2004 00:43:03 +0000 (00:43 +0000)]
- added comments
- moved compiler switches from jit.c
twisti [Mon, 5 Jan 2004 00:42:13 +0000 (00:42 +0000)]
- moved compiler switches into main
- don't initialize all classes (static class initializer)
twisti [Mon, 5 Jan 2004 00:27:21 +0000 (00:27 +0000)]
Removed heap_addreference
twisti [Mon, 5 Jan 2004 00:27:00 +0000 (00:27 +0000)]
- warning fix (include)
- removed heap_addreference
- ignore exceptions in finalizers
twisti [Mon, 5 Jan 2004 00:04:51 +0000 (00:04 +0000)]
- include parse.h
- put/getstatic changes for static class initializer
- removed redefinition of code generation macros
- recoded the whole createnativestub stuff
twisti [Mon, 5 Jan 2004 00:00:25 +0000 (00:00 +0000)]
- added gnu header and emacs tailer
- added asm_check_clinit for static class initializer
twisti [Sun, 4 Jan 2004 23:39:36 +0000 (23:39 +0000)]
- added gnu header
- throw correct exceptions
- code beautify
twisti [Sun, 4 Jan 2004 23:24:25 +0000 (23:24 +0000)]
cacao depends on gnu classpath libraries.
jowenn [Sun, 4 Jan 2004 22:10:24 +0000 (22:10 +0000)]
support for multiple zip archives as class source, configure check for OSF1 in classpath, fix for Method/Constructor.toString()
stefan [Sun, 4 Jan 2004 15:46:08 +0000 (15:46 +0000)]
__thread test