Граф коммитов

1764 Коммитов

Автор SHA1 Сообщение Дата
Myk Melez 69ebdeb196 Merge pull request #1598 from mozilla/intex
asm.jsify VM
2015-12-04 17:04:46 -08:00
Myk Melez 4630f8b7b4 Merge branch 'master' into intermittent-file-connection-failure 2015-09-06 21:27:47 -07:00
Myk Melez a9250a2ed9 Merge pull request #1865 from brendandahl/intex-shell
Add a partially java compatible shell.
2015-08-30 13:25:27 -07:00
Brendan Dahl c985fcfc05 Add a partially java compatible shell. 2015-08-28 13:00:00 -07:00
Myk Melez eb53a6975c Merge pull request #1850 from brendandahl/intex-better-isolate-test
Use a more predicable isolate test with assertions.
2015-08-28 11:59:29 -07:00
Myk Melez 32d1cd304a ensure /tcktestdir created for FileConnection tests 2015-08-27 11:16:20 -07:00
Marco Castelluccio 6e157c07c1 Use saner timeout values 2015-08-27 10:25:54 -07:00
Brendan Dahl 2f77cbc84f Fix nits. 2015-08-27 10:24:21 -07:00
Marco Castelluccio 3c21e5a1b2 Merge branch 'master' of https://github.com/andreasgal/j2me.js into intex 2015-08-27 10:20:54 -07:00
Brendan Dahl cb126b4344 Bump the test number. 2015-08-25 16:02:54 -07:00
Brendan Dahl 891f746802 Use a more predicable isolate test with assertions. 2015-08-25 15:20:59 -07:00
Tim Abraldes b9b4a647eb Merge branch 'master' into localmsgtest 2015-08-25 11:59:11 -07:00
Tim Abraldes 9a33b2339d Review comments: Add documentation, sleep calls 2015-08-25 11:58:16 -07:00
Marco Castelluccio 4ddc9d7180 Merge branch 'master' of https://github.com/andreasgal/j2me.js into intex 2015-08-20 18:04:48 -07:00
Myk Melez 59a3fc1312 update number of unit tests to run 2015-08-20 16:17:44 -07:00
Marco Castelluccio e1c639f814 Re-enable tests that required the JIT to run 2015-08-20 15:46:52 -07:00
Marco Castelluccio 9afd89c007 Synchronize FS after the first foregroundEnableBackgroundService test. Fixes #1809 2015-08-19 16:43:24 -07:00
Myk Melez e2327fa683 Merge branch 'master' into intex 2015-08-19 15:10:44 -07:00
Myk Melez b7be53a86c make downloadJAD take precedence to jad 2015-08-18 10:14:02 -07:00
Marco Castelluccio 7f003b9c70 Add tests to exercise the code path where the typo was 2015-08-18 02:55:21 +02:00
Marco 32528cfd84 Revert "Revert "Optimize System::arraycopy"" 2015-08-18 01:55:47 +02:00
Tim Abraldes 9638be0197 Merge branch 'master' into localmsgtest 2015-08-17 16:33:41 -07:00
Marco Castelluccio 517525f81a Disable tests that require the JIT 2015-08-18 00:54:27 +02:00
Marco Castelluccio b3476abbdc Merge branch 'intex' of https://github.com/mozilla/pluotsorbet into intex-jit 2015-08-17 23:53:46 +02:00
Marco 4ae71e8423 Revert "Optimize System::arraycopy" 2015-08-17 23:41:15 +02:00
Brendan Dahl 6a038b2bd3 Load default config for gc tests. 2015-08-14 16:56:50 -07:00
Brendan Dahl d7259712f7 Merge branch 'intex' of https://github.com/mozilla/pluotsorbet into intex-jit
Conflicts:
	native.js.in
2015-08-14 16:34:04 -07:00
Myk Melez 297547e879 Merge pull request #1801 from marco-c/optimize_System_arraycopy
Optimize System::arraycopy
2015-08-14 16:00:25 -07:00
Marco Castelluccio 3fbd965073 Merge branch 'intex' of https://github.com/mozilla/pluotsorbet into intex-jit 2015-08-14 22:45:59 +02:00
Myk Melez 43713880e2 apply comment about zero-out tests to all such tests 2015-08-14 12:10:24 -07:00
Marco Castelluccio f4f9f08ad4 Re-enable tests that we disabled because too slow without the JIT 2015-08-14 20:47:42 +02:00
Myk Melez a4839a0b69 zero primitive arrays with memset 2015-08-13 18:00:37 -07:00
Marco Castelluccio 2ad2d7fdb3 Re-enable basic unit tests with runtime compilation forcibly enabled 2015-08-14 02:02:28 +02:00
Marco Castelluccio ad3a74a31c Free all uncollectable objects allocated during tests 2015-08-14 01:38:12 +02:00
Marco Castelluccio c9b3255890 Test arraycopy with different kinds of primitive arrays 2015-08-13 16:45:19 +02:00
Marco Castelluccio ab63b521cf Merge branch 'intex-jit' of https://github.com/brendandahl/j2me.js into intex-jit 2015-08-11 15:49:38 +02:00
Myk Melez 335d7a0d45 Merge branch 'master' into intex 2015-08-10 17:06:21 -07:00
Tim Abraldes f01f176286 Fix race conditions in TestLocalMsgProtocol.
TestLocalMsgProtocol has some logic that looks like this:

    synchronized (someLockObject) {
        someFlag = true;
        someLockObject.notifyAll();
    }

    someBlockingFunctionThatMakesFlagActuallyTrue();

That's clearly a race condition, as the condition flag is set before the
condition is actually true. If we're relying on timing here, we're
giving ourselves a false sense of security.

Additionally, TestLocalMsgProtocol uses wait-loops to wait for
connections to be opened. However, it also opens those connections on
separate threads, so the wait-loops are unnecessary because we can just
`join` on the thread that creates the connection.
2015-08-07 14:04:05 -07:00
Myk Melez 82edbdd353 update license text for files from Jikes RVM 2015-08-06 13:46:22 -07:00
Marco Castelluccio 3e870b8dd8 Allocate a smaller array to avoid the GC thinking the object is still used (because we currently don't set pointers to object interiors as invalid). Fixes #1772. 2015-07-30 22:58:42 +02:00
Marco Castelluccio 1ad0d2f015 Collect everything before running the test 2015-07-30 22:57:24 +02:00
Marco Castelluccio 055a59b985 Merge branch 'intex' of https://github.com/mozilla/pluotsorbet into intex-jit 2015-07-29 21:33:12 +02:00
Marco Castelluccio 90520525ab Merge branch 'intex-bailouts' of https://github.com/brendandahl/j2me.js into intex-jit 2015-07-29 21:27:45 +02:00
Myk Melez d171378351 Merge pull request #1775 from marco-c/use_register_disappearing_link
Use GC_register_disappearing_link to implement weak references
2015-07-29 11:15:53 -07:00
Marco Castelluccio e4d12ce547 Remove a test that is no longer needed (it was very specific to our old implementation) 2015-07-28 20:26:36 +02:00
Marco Castelluccio 7960c161ff Update number of passing tests 2015-07-28 19:08:53 +02:00
Marco Castelluccio d6d668c4d6 Test multiple WeakReferences to the same object; add a complex WeakReference::clear test 2015-07-28 18:24:53 +02:00
Marco Castelluccio c146d91b9a Force a collection at the beginning of TestRuntime to make a collection while allocating the array less likely. Fixes #1772. 2015-07-28 17:07:05 +02:00
Marco Castelluccio 45dc0dc98a Merge branch 'intex' of https://github.com/mozilla/pluotsorbet into runtime_gc 2015-07-27 23:28:53 +02:00
Marco Castelluccio e976ccfc8c Perform a single big allocations instead of multiple smaller ones 2015-07-27 23:25:07 +02:00