Joel Dice
15020d77a6
refactor intrinsic support
...
This ensures that the low-level, architecture specific code need not
be aware of the semantics and names of Java methods.
2009-10-17 19:26:14 -06:00
Joel Dice
f702795178
fix integer truncation bug
2009-10-17 18:35:19 -06:00
Joel Dice
cec6444911
fix bootimage build for case where the JIT code area is too far from the AOT code area to do immediate-offset jumps between them
2009-10-17 18:18:03 -06:00
Joel Dice
963bfb3e3f
avoid array bounds warnings from GCC 4.3
...
These warnings are due to GCC being smart enough to do interprocedural
constant propagation but not smart enough to avoid false positives in
all cases when looking for array bounds errors.
2009-10-17 18:09:54 -06:00
Joel Dice
7b0378c180
support darwin/x86_64
2009-10-14 10:01:37 -06:00
Joel Dice
0ae02511c6
remove unused definition from makefile
2009-10-13 19:40:39 -06:00
Joel Dice
c3824b0108
specify segment __RWX in bootimage-lflags on Darwin to match new name used in binaryToObject
2009-10-13 19:14:03 -06:00
Joel Dice
0f4fc07048
whitespace tweaks in readme.txt
2009-10-13 19:08:45 -06:00
Joel Dice
ef4a8430ad
add binaryToObject utility
...
We use this utility instead of objcopy to embed data into object files
because it offers more control over e.g. section alignment, which is
important for bootimage builds.
2009-10-13 19:00:16 -06:00
Joel Dice
87950e86b8
add missing parameter to native SystemClassLoader methods
2009-10-13 18:42:49 -06:00
Joel Dice
9fcdfaf7ff
implement binaryToElf utility and use it instead of objcopy on Linux
...
This is necessary because objcopy does not currently allow us to
specify the alignment requirement for the .boot section used to store
the boot image for AOT builds. This may be a problem for Windows as
well, in which case we'll need to add a binaryToPE utility.
2009-10-11 16:09:23 -06:00
Joel Dice
c65b106112
whitespace tweak in binaryToMacho.cpp
2009-10-11 16:06:09 -06:00
Joel Dice
b878b84d32
set DebugCompile to false in compile.cpp
2009-10-11 16:05:37 -06:00
Joel Dice
b4c1c6badf
fix process=interpret build
2009-10-10 18:23:14 -06:00
Joel Dice
44a6620aa1
disable use of SSE when compiling ahead-of-time
2009-10-10 17:46:43 -06:00
Joel Dice
38bf29300f
enable SSE<->GPR moves when size matches word size
2009-10-10 22:27:35 +00:00
Joel Dice
78d9e51b7e
replace hasMoreThanOneSite with uniqueSite; rename Value fields
...
uniqueSite also checks, if applicable, to see if the second word of a
value shares the specified site with the first value as its sole site.
Also renamed a couple of fields in Value for clarity.
2009-10-10 16:07:30 -06:00
Joel Dice
622b3d1c4e
replace compare and branch instructions with combined versions
...
This allows the assembler to see the operand types of the comparison
and the condition for jumping in the same operation, which is
essential for generating efficient code in cases such as
multiple-precision compare-and-branch.
2009-10-10 15:03:23 -06:00
Joel Dice
609a1a9633
snapshot
2009-10-07 00:50:32 +00:00
Joel Dice
23197da679
fix handling of subroutines in methods of return type long on 32-bit systems
2009-10-06 03:17:12 +00:00
Joel Dice
4f78783ef1
various bugfixes for SSE-based floating-point support
2009-10-05 14:25:12 +00:00
Joel Dice
d25da6116a
snapshot
2009-10-04 22:10:36 +00:00
Joel Dice
5dad9bddd6
snapshot
2009-10-04 19:56:48 +00:00
Joel Dice
6cef085d7e
snapshot
2009-09-26 19:43:44 +00:00
Joel Dice
325f93b4d1
Merge branch 'master' into wip
...
Conflicts:
src/compile.cpp
src/compiler.cpp
src/machine.h
src/x86.cpp
2009-09-20 15:43:32 -06:00
Joel Dice
1faf93c163
fix typo in Proxy.makeInvokeCode
2009-09-19 16:27:28 -06:00
Joel Dice
953cb69e5e
move proxy and annotation code from C++ to Java
...
This allows code shrinkers to remove it if it's not used by the application.
2009-09-19 16:21:15 -06:00
Joel Dice
1a2eb3836c
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian
2009-09-18 18:01:57 -06:00
Joel Dice
7aa906d97b
support runtime-visible annotations and java.lang.reflect.Proxy
2009-09-18 18:01:54 -06:00
Joel Dice
6fa25f992c
Properties.setProperty should return an Object
2009-09-18 17:51:05 -06:00
Joel Dice
d0f8889e27
fix GC safety bugs in parseMethodTable and makeArrayClass
2009-09-18 12:20:35 -06:00
Joel Dice
b645c284b5
fix memory leak in debug build
2009-09-17 21:36:52 -06:00
Joel Dice
fcc4ff93e0
remove debug logging
2009-09-17 21:22:47 -06:00
Joel Dice
1dfa421a6c
fix argument mixup in Runtime.exit
2009-09-17 18:28:42 -06:00
Joel Dice
a2a33c259e
fix test class build when boot classes change
2009-09-17 11:50:35 -06:00
Joel Dice
dc10bcacf8
update heapdump doc to refer to new Machine.dumpHeap method
2009-09-15 07:59:24 -06:00
Joel Dice
49d113f43f
fix parallel bootimage build
2009-09-05 18:40:37 -06:00
Joel Dice
44ae6a02c2
fix parallel (make -jN) build
2009-09-05 16:04:43 -06:00
Joel Dice
3446ed0fce
fix MSVC build regression in java-io.cpp
2009-09-05 15:35:00 -06:00
Joel Dice
8956b98604
speed up build (especially on Windows) by avoiding redundant shell command execution in makefile
2009-09-05 15:21:45 -06:00
Joel Dice
bf2b17cfa6
fix misspelled comment
2009-09-04 17:08:45 -06:00
Joel Dice
b0ba70866e
fix incorrect line numbers in NPE traces
2009-09-04 15:09:40 -06:00
Joel Dice
e47c149fb1
fix misuse of FindFirstFile
2009-09-03 17:57:32 -06:00
Joel Dice
6519047342
fix bootimage build
2009-09-03 09:06:04 -06:00
Joel Dice
84ac2e417d
follow reference pointer before using in in refrenceTargetUnreachable in case it points to a moved object
2009-09-01 18:32:21 -06:00
Joel Dice
6aff383ee1
ensure Heap::needsMark and Heap::mark work correctly during GC
2009-09-01 18:31:18 -06:00
Joel Dice
4f794f533e
fix handling of reachable, moved weak references in postVisit
2009-09-01 17:23:30 -06:00
Joel Dice
0a96f4c552
ensure WeakHashMap.MyCell objects are registered with the ReferenceQueue
2009-09-01 17:22:31 -06:00
Joel Dice
49005f0746
fix name-clash regression in heapdump.cpp
2009-09-01 13:09:53 -06:00
Joel Dice
27f35bf239
fix heapdump build
2009-09-01 12:15:33 -06:00