Joshua Warner
fa1e3d74c0
reduce Allocator interface
2014-07-16 18:51:29 -06:00
Joshua Warner
2d0ac3ac17
reduce vm::Zone interface
2014-07-16 18:41:02 -06:00
Joshua Warner
eb92c904c6
split Tokenizer into its own header
2014-07-16 18:41:02 -06:00
Joshua Warner
29ee088f19
remove unused Half type
2014-07-16 18:41:02 -06:00
Joshua Warner
80cf745424
move executable allocator out of System class
2014-07-16 18:40:57 -06:00
Joshua Warner
a1631c00f9
use size_t in Allocator
2014-07-16 18:10:51 -06:00
Joshua Warner
d92edcc36d
Merge pull request #299 from dicej/heapdump
...
fix heapdump=true build
2014-07-16 16:31:28 -06:00
Joel Dice
cae4b49005
fix heapdump=true build
2014-07-16 15:51:48 -06:00
Joel Dice
00340cdc6b
Merge pull request #298 from joshuawarner32/fix-arm
...
fix arm build
2014-07-16 10:37:36 -06:00
Joshua Warner
2778531873
fix arm build
2014-07-16 08:59:50 -06:00
Joel Dice
4b7b3d2680
Merge pull request #295 from joshuawarner32/fix-windows-build
...
fix windows build
2014-07-15 12:31:10 -06:00
Joel Dice
bdd5e2a661
Merge pull request #296 from joshuawarner32/fix-openjdk-src
...
fix openjdk-src build (oversight from type-generator refactor)
2014-07-15 12:29:02 -06:00
Joshua Warner
bfddef54c6
fix openjdk-src build (oversight from type-generator refactor)
2014-07-15 08:31:22 -06:00
Joshua Warner
21cec8834f
fix LLD macro for gcc >= 4.8 on windows
2014-07-14 10:42:53 -06:00
Joshua Warner
732669dc01
statically link libstdc++ to type-generator on windows
2014-07-14 10:39:16 -06:00
Joshua Warner
2f94c5b03d
fix windows build
2014-07-14 08:57:03 -06:00
Joshua Warner
cf835b8cc7
Merge pull request #290 from dicej/all-the-bugs
...
fix all the bugs
2014-07-12 17:12:10 -06:00
Joel Dice
2a43e68c16
fix all the bugs
...
So there I was, planning to just fix one little bug: Thread.holdsLock
and Thread.yield were missing for the Android class library. Easy
enough, right? So, I added a test, got it passing, and figured I'd go
ahead and run ci.sh with all three class libraries. Big mistake.
Here's the stuff I found:
* minor inconsistency in README.md about OpenSSL version
* untested, broken Class.getEnclosingMethod (reported by Josh)
* JNI test failed for tails=true Android build
* Runtime.nativeExit missing for Android build
* obsolete assertion in CallEvent broke tails=true Android build
* obsolete superclass field offset padding broke bootimage=true Android build
* runtime annotation parsing broke bootimage=true Android build
(because we couldn't modify Addendum.annotationTable for classes in
the heap image)
* ci.sh tried building with both android=... and openjdk=..., which
the makefile rightfully balked at
Sorry this is all in a single commit; I didn't expect so many
unrelated issues, and I'm too lazy to break them apart.
2014-07-12 16:57:24 -06:00
Joel Dice
a80ac91728
Merge pull request #289 from joshuawarner32/refactor-type-gen
...
Refactor type generator
2014-07-12 16:21:32 -06:00
Joshua Warner
80f19abf3a
put all commented code in if(false) blocks instead; fix ensuing broken code
2014-07-12 10:16:03 -06:00
Joshua Warner
4e9da8deb2
use static_cast in place of c-style cast (code review feedback)
2014-07-12 09:43:54 -06:00
Joshua Warner
8a4b043ee3
generate makeZeroed method, to return a zero-initialzed instance of a Gc* class
2014-07-11 13:47:43 -06:00
Joshua Warner
836cc41320
bulk, global reformat
2014-07-11 13:25:22 -06:00
Joshua Warner
7642b94308
reformat changes since master
2014-07-11 13:25:22 -06:00
Joshua Warner
cbad6931af
retypedef object to GcObject*, remove (almost?) all unnecessary reinterpret_casts
2014-07-11 13:25:22 -06:00
Joshua Warner
b0490b8233
finish using setters
2014-07-11 13:25:22 -06:00
Joshua Warner
4367867be9
use setters in classpath-android.cpp
2014-07-11 13:25:22 -06:00
Joshua Warner
43b9cce7d0
don't mark nogc fields
2014-07-11 13:25:21 -06:00
Joshua Warner
40e71a4856
use setters in machine.cpp
2014-07-11 13:25:21 -06:00
Joshua Warner
880b9fa910
use setters in machine.h
2014-07-11 13:25:21 -06:00
Joshua Warner
cc4eaae706
use setters in compile.cpp
2014-07-11 13:25:21 -06:00
Joshua Warner
e548d37666
use setters in classpath-common.h
2014-07-11 13:25:21 -06:00
Joshua Warner
3a9454117e
use setters in util.cpp
2014-07-11 13:25:21 -06:00
Joshua Warner
07a9599d1a
generate new setters in type-generator
2014-07-11 13:25:21 -06:00
Joshua Warner
ed1f34dca3
formalize MyProcessor::roots (for Compiler) in types.def
2014-07-11 13:25:21 -06:00
Joshua Warner
052f2498aa
formalize Machine::roots in types.def
2014-07-11 13:25:21 -06:00
Joshua Warner
75f2dd013c
remove old function-based accessors
2014-07-11 13:25:21 -06:00
Joshua Warner
a1583f1ecc
touch up type safety in types.def
2014-07-11 13:25:20 -06:00
Joshua Warner
c796bdbde4
add bootimage-generator/main.cpp changes
2014-07-11 13:25:20 -06:00
Joshua Warner
b4798550a3
add machine.cpp changes
2014-07-11 13:25:20 -06:00
Joshua Warner
b5a1d97bd1
add interpret.cpp changes
2014-07-11 13:25:20 -06:00
Joshua Warner
9f0327bb9e
add process and classpath-avian changes
2014-07-11 13:25:20 -06:00
Joshua Warner
86d9249f29
add builtin.cpp changes
2014-07-11 13:25:20 -06:00
Joshua Warner
924f242e66
add compile.cpp changes
2014-07-11 13:25:20 -06:00
Joshua Warner
4df8f59f3c
staticly type finalizer and cleaner
2014-07-11 13:25:20 -06:00
Joshua Warner
1e201e54fc
staticly type GcContinuation*
2014-07-11 13:25:20 -06:00
Joshua Warner
b8ddc779a2
staticly type GcReference
2014-07-11 13:25:20 -06:00
Joshua Warner
bb331e9414
make callNode and methodRuntimeData.native better statically typed
2014-07-11 13:25:19 -06:00
Joshua Warner
1da8170c66
apply jnienv + java-common changes
2014-07-11 13:25:19 -06:00
Joshua Warner
9c93c5989c
apply classpath-common.h changes
2014-07-11 13:25:19 -06:00