Ilya Mizus
33a48afd17
NativeCrypto is back for non-Windows platforms
2014-03-05 01:33:41 +04:00
Mike Jensen
d94fc8f009
Fix for travis build failure for needing to initialize the new field in Thread.
2014-03-04 11:21:14 -07:00
Mike Jensen
d5e3acd7a5
Add parkBlocker variable to Thread.java
2014-03-03 16:45:28 -07:00
Mike Jensen
7dd799476a
Interfaces and the foundation for a ReentrantLock implementation
2014-03-03 16:04:56 -07:00
Mike Jensen
b5dd74c3d8
Adds the Deque interface, and allows LinkedList to implement that interface.
...
This also changes ConcurrentLinkedQueue to implement the Queue interface, and just throw exceptions for operations which are not currently implemented.
2014-03-03 16:02:12 -07:00
Joshua Warner
6ed98b85f8
Merge pull request #188 from dicej/volatile
...
move Unsafe.get{Object|Int}Volatile from classpath-openjdk.cpp to builti...
2014-03-03 15:32:57 -07:00
Joel Dice
0a89683eff
move Unsafe.get{Object|Int}Volatile from classpath-openjdk.cpp to builtin.cpp
...
This makes them available in all class libraries, not just the OpenJDK
library. Note that I've also removed the unecessary idle statements,
per ab4adef
.
2014-03-03 14:55:49 -07:00
Vasily Litvinov
6ae149809f
Enabled "FIXME_STUB" macro
2014-03-04 00:41:58 +04:00
Ilya Mizus
301fb1ae13
Refactoring
2014-02-28 11:18:48 +04:00
Joel Dice
1cd822b23e
Merge pull request #180 from joshuawarner32/move-allocator
...
Move allocator & Slice into util
2014-02-27 08:55:24 -07:00
Ilya Mizus
6df337b0c4
Added errno descriptions for Android classpath on Windows
2014-02-27 01:56:17 +03:00
Joshua Warner
e837502d43
Merge pull request #184 from dicej/zip-available
...
remove redundant decrement in ZipFile.getInputStream inner class
2014-02-26 15:55:48 -07:00
Joel Dice
2036eeaaa6
Merge pull request #182 from joshuawarner32/ffi-split
...
split out ffi::call from System
2014-02-26 15:46:05 -07:00
Joshua Warner
e6eead07fa
call vm::dynamicCall directly, instead of through System
2014-02-26 15:10:41 -07:00
Joel Dice
094af1e794
remove redundant decrement in ZipFile.getInputStream inner class
...
We were decrementing the "remaining" field twice for each byte read
using the no-arg read method, which resulted in available() returning
a value that was too small.
2014-02-26 14:48:28 -07:00
Joshua Warner
53816970ea
Merge pull request #183 from dicej/codesource
...
move OpenJDK.getProtectionDomain into Classes.java
2014-02-26 14:47:02 -07:00
Joel Dice
0c298eb513
move OpenJDK.getProtectionDomain into Classes.java
...
This way, apps can access the CodeSource of a class whether they're
using the OpenJDK class library or the Avian one.
2014-02-26 14:09:42 -07:00
Vasily Litvinov
63a691f41d
Adding a define to tell Android Classpath to disable IPv6, removing -fPIC on Windows as it's useless there and generates warnings
2014-02-26 19:41:55 +04:00
Joshua Warner
deca71da52
build arm and powerpc targets in the ci build
2014-02-25 21:38:29 -07:00
Joshua Warner
2ac9070399
fix arm/powerpc build
2014-02-25 21:33:08 -07:00
Joshua Warner
db19c7b3a2
add Slice::resize and Slice::alloc
2014-02-25 20:34:03 -07:00
Joshua Warner
892d359ba0
use size_t for Vector::minimumCapacity
2014-02-25 20:34:03 -07:00
Joshua Warner
b711aef1b3
use Slice in Vector
2014-02-25 20:34:03 -07:00
Joshua Warner
a807966143
use Slice<uint8_t> in FixedAllocator
2014-02-25 20:34:03 -07:00
Joshua Warner
b083f3df04
move fixed allocator out of machine.h
2014-02-25 20:34:03 -07:00
Joshua Warner
f69f86b487
move Slice out of object-writer, to be more general
2014-02-25 20:34:03 -07:00
Joshua Warner
52b23b8a6a
move Allocator to include, properly namespaced
2014-02-25 19:13:41 -07:00
Vasily Litvinov
e217a4faf8
Removing workaround for Enum.java, fixing the root cause of the issue
2014-02-26 03:35:05 +04:00
Vasily Litvinov
a2ff617f1e
Adding a workaround for read-only Enum.java during build
2014-02-26 03:24:10 +04:00
Vasily Litvinov
4184c8313a
Adding Eclipse workspace to .gitignore
2014-02-26 02:35:54 +04:00
Ilya Mizus
2eaeaa2b12
Merge remote-tracking branch 'refs/remotes/ReadyTalk/master' into avian-droid
2014-02-26 01:27:32 +03:00
Joshua Warner
d95a8a9626
Merge pull request #179 from dicej/android-thread-join
...
fix Thread.join when using Android class library
2014-02-25 15:20:21 -07:00
Joel Dice
1445835c4f
fix Thread.join when using Android class library
...
Android's Thread.join expects the VM to null-out Thread.vmThread when
the thread exits. Otherwise, it will block forever.
2014-02-25 14:58:32 -07:00
Joel Dice
3912f2c0e4
Merge pull request #171 from joshuawarner32/master
...
Flatten "vm" dir and split signal handling out of vm::System
2014-02-25 14:11:09 -07:00
Joshua Warner
2b17ba7766
Merge pull request #177 from dicej/VMSupportsCS8
...
add Avian_java_util_concurrent_atomic_AtomicLong_VMSupportsCS8
2014-02-24 14:21:51 -07:00
Joel Dice
c021329d0d
add Avian_java_util_concurrent_atomic_AtomicLong_VMSupportsCS8
...
Android's class library uses this to find out whether the VM supports
compareAndSwapLong natively. Avian does on all platforms, so we just
return true.
2014-02-24 14:16:40 -07:00
Joel Dice
3ce78cf8c1
Merge pull request #176 from joshuawarner32/shift-32-bit-regression
...
fix #172 , regression in compiling shift operations
2014-02-24 13:55:26 -07:00
Joshua Warner
f1806ce90e
fix #172 , regression in compiling shift operations
2014-02-24 13:24:14 -07:00
Joshua Warner
aec8bfc308
Merge pull request #174 from dicej/lIphlpapi
...
add "-lIphlpapi" to embedding example link command
2014-02-24 12:00:13 -07:00
Joel Dice
2689ec79a3
add "-lIphlpapi" to embedding example link command
...
This is needed to allow the link to succeed when doing an openjdk-src
build on Windows.
2014-02-24 08:37:42 -07:00
Joshua Warner
3bd00f19bc
fix remote-test functionality for windows
2014-02-22 15:35:12 -07:00
Joshua Warner
bc9f7d2f87
refactor SignalRegistrar interface
2014-02-21 23:37:32 -07:00
Joshua Warner
ca7d51edb3
add crash function to match the semantics of System::abort
2014-02-21 23:37:28 -07:00
Joshua Warner
730dade53e
break out signal handling from System
2014-02-21 23:36:40 -07:00
Joshua Warner
5ffdfecdc2
remove vm from code paths, to match namespacing
2014-02-21 13:32:28 -07:00
Ilya Mizus
66f25193df
OsConstants removed from blacklist
2014-02-21 23:14:07 +03:00
Ilya Mizus
a1d98280ab
Merge remote-tracking branch 'refs/remotes/ReadyTalk/master' into avian-droid
2014-02-21 03:53:12 +03:00
Ilya Mizus
ff4c07f05b
Changes to build on my libcore version
2014-02-21 03:50:06 +03:00
Joshua Warner
4a436bad80
Merge pull request #170 from l1m5/master
...
Change ConcurrentLinkedQueue.poll(boolean remove) to private.
2014-02-11 15:30:13 -07:00
Ben Limmer
d9ce351a24
Change ConcurrentLinkedQueue.poll(boolean remove) to private.
...
Since it's not available in the Oracle classpath.
Closes #169 .
2014-02-11 14:55:29 -07:00