Alexey Pelykh
0cbaad6495
Windows Phone 8 / Windows RT initial support
...
Conflicts:
makefile
2013-02-07 11:38:57 +02:00
Victor Shcherb
ed94eafe16
Fix proguard warnings
...
Conflicts:
TODO.if.merge
2013-02-07 11:38:56 +02:00
Victor Shcherb
ba80761128
Add android redirect to logcat
2013-02-07 11:38:55 +02:00
Victor Shcherb
8da990f593
Fix android makefile
2013-02-07 11:38:54 +02:00
Alexey Pelykh
62104e843c
Path fix
2013-02-07 11:38:53 +02:00
Alexey Pelykh
b0cae77b2a
Android toolchain
2013-02-07 11:38:53 +02:00
Victor Shcherb
4cd8ab5910
Add android platform
2013-02-07 11:38:52 +02:00
Victor Shcherb
eea079ea70
Fix RAF
2013-02-07 11:38:51 +02:00
Alexey Pelykh
57f4463c4c
RandomAccessFile
2013-02-07 11:38:50 +02:00
Victor Shcherb
7699c12597
Add java lang math methods
2013-02-07 11:38:49 +02:00
Alexey Pelykh
13848cb520
java.lang.Math.log() and java.lang.Math.tan()
2013-02-07 11:38:48 +02:00
Joel Dice
ce9d7c35bb
mention FreeBSD support in README.md
...
Courtesy of Damjan Jovanovic.
2013-02-06 07:54:04 -07:00
Joel Dice
f2552ab4c5
Merge remote-tracking branch 'csoren/winxp'
2013-02-05 09:54:01 -07:00
Joel Dice
5a07e04d56
assert that there are no outstanding Get*Critical requests during allocation
...
When GetStringCritical or GetPrimitiveArrayCritical are called, the VM
cannot risk new Java heap allocations until the corresponding release
method is called because allocations may result in GC, which cannot
happen while a string or array is pinned in memory. We already have a
check for this latter in the footprint function used during GC, but
it's best to catch the problem as early as possible.
2013-02-05 09:48:20 -07:00
Carsten Elton Sorensen
757d8427ea
Add missing classes for Windows XP
2013-02-05 11:36:09 +01:00
Carsten Elton Sorensen
5b051f5138
Merge remote-tracking branch 'readytalk/master'
2013-02-05 07:56:14 +01:00
Simon Ochsenreither
57a67fb312
Fix field names, add getters to j.l.Package
2013-02-04 14:14:45 +01:00
Joel Dice
5dcf6eae5a
fix GC safety issue in MyClasspath::updatePackageMap
2013-02-03 20:29:24 -07:00
Joel Dice
e8f8ebdc67
fail quickly if an object allocation cannot be satisfied
...
Previously, we would blithely exceed the heap ceiling and force the
next allocation to deal with the problem, including a major GC and
possible OutOfMemoryError. As of this commit, we throw an error
immediately if we find that the allocation will push us over the
ceiling.
2013-02-03 15:53:36 -07:00
Joel Dice
23bb2e8743
force a GC in allocate3 if the heap limit has been exceeded
...
Otherwise, we'll throw an OOME even though there may be enough
unreachable objects eligible for collection to get back below the
limit.
2013-02-03 15:20:53 -07:00
Joel Dice
3db9e73aa1
fix GC safety issues in classpath-openjdk.cpp
2013-02-03 15:19:35 -07:00
Joel Dice
80c8940b7f
ensure joining threads are always notified when a thread exits
...
Previously, we'd only do this if the thread exited without throwing an
exception. Now we do it regardless.
2013-02-03 15:18:32 -07:00
Joel Dice
1890e348fb
fix handling of classe, method, and field names with non-ASCII characters
2013-02-03 14:10:47 -07:00
Simon Ochsenreither
1db67e463f
Add Class#isEnum and improve error handling in Enum.valueOf
2013-02-03 16:03:15 +01:00
Simon Ochsenreither
b1eb4b9718
Adds code to get the Scala REPL working
2013-01-30 04:31:38 +01:00
Joel Dice
0c5471d25e
remove temporary #error used for debugging
...
Sorry, that wasn't supposed to be checked in.
2013-01-28 16:24:08 -07:00
Joel Dice
67fd707254
fix handling of unusual exception handler layout
...
Scala sometimes generates bytecode such that the scope of an exception
handler starts at another exception handler, e.g.:
Exception table:
from to target type
290 372 382 any
382 451 451 any
290 372 451 any
Avian's compiler was incorrectly initializing the stack frame for the
second handler in this case. This commit fixes the problem.
2013-01-26 22:06:53 -07:00
Joel Dice
75f5921b3e
revert accidental makefile change
2013-01-26 20:07:18 -07:00
Joel Dice
dec2095c63
fix openjdk bootimage cross builds
...
We need to extract the OpenJDK classes into the build classpath
directory for the target platform before running the
bootimage-generator, or else it won't be able to find the classes.
2013-01-26 18:01:34 -07:00
Joel Dice
70a7a50a49
fix int-to-long conversions from memory on x86_32
...
The instruction for 32-bit-to-64-bit sign extension on x86_32 requires
that the input value be placed in EAX and the sign extension in EDX.
However, the compiler can get confused if the input value is in memory
addressed via one of those registers and doesn't know how to move it.
This patch works around that limitation by doing the move explicitly
in MemoryEvent::compile if necessary.
2013-01-26 17:15:15 -07:00
Joel Dice
1a44ec9eef
fix incorrect macro name in bootimage.cpp
2013-01-25 16:47:31 -07:00
Joel Dice
2131adf3aa
fix Windows OpenJDK build
2013-01-25 08:07:47 -07:00
Joel Dice
844520a402
fix embed.cpp build for 64-bit Windows
2013-01-25 07:57:57 -07:00
Joel Dice
36eee724c9
check argument types in JVM_InvokeMethod
...
Method.invoke must throw an IllegalArgumentException if it receives
the wrong number or types of arguments, and since this isn't done by
the OpenJDK class library, we must do it in the VM.
2013-01-24 12:16:41 -07:00
Joel Dice
0adccdc99c
return unadorned filename from JVM_GetSystemPackage
...
Package.defineSystemPackage expects a filename, not a URL.
2013-01-24 12:16:40 -07:00
Joel Dice
2a45a5919c
return XToolkit from iOS getPreferredToolkit stub
...
This is necessary to prevent an NPE in Hashtable.put when
System.initProperites tries to put a null value in the map for
java.awt.graphicsenv.
2013-01-19 14:10:31 -07:00
Joel Dice
ccbdd6723a
specify CodeCapacity based on target arch, not build arch
2013-01-19 14:08:07 -07:00
Seth Goings
6e6ee31128
Update .travis.yml
2013-01-07 11:37:01 -07:00
Seth Goings
548a40ea3a
Update .travis.yml
...
Use make to build this project in Travis instead of the Java default
2013-01-07 11:36:34 -07:00
Terek Campbell
d53920a188
Edit README.md to work with ReadyTalk's Travis CI
2013-01-07 10:57:50 -07:00
Terek Campbell
3fcb15edca
Merge branch 'master' of https://github.com/terekcampbell/avian
2013-01-07 09:40:20 -07:00
Terek Campbell
ff08a658fe
Further changes to travis.yml
2013-01-07 09:39:25 -07:00
terekcampbell
3010aa13a5
Updated README for Travis CI
2013-01-07 09:38:02 -07:00
Terek Campbell
ab0310d781
Added the travis.yml file
2013-01-07 09:29:31 -07:00
Terek Campbell
7caa479084
Deleted the old readme.txt file
2013-01-04 16:45:47 -07:00
Terek Campbell
cca7ade32e
Changed the readme file to a Markdown file
2013-01-04 16:42:11 -07:00
terekcampbell
dfbc34c3a4
Will now look pretty when converted to .md
2013-01-04 16:09:54 -07:00
terekcampbell
ccbe01c16a
Edit the top
2013-01-04 14:03:15 -07:00
Joel Dice
e8f560895b
preserve sun.misc.Launcher.getLauncher in openjdk.pro
...
The VM calls this method when booting, so we need to tell ProGuard to
retain it.
2012-12-31 11:56:35 -07:00
Joel Dice
dd685de6e6
add extra empty line before heading in readme.txt
...
This makes it consistent with the other headings.
2012-12-31 11:07:26 -07:00