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

63 Коммитов

Автор SHA1 Сообщение Дата
Marco Castelluccio d6884d3197 Merge branch 'master' of https://github.com/andreasgal/j2me.js into signature 2014-10-10 01:25:00 -07:00
Marcus Cavanaugh 527e65a695 Make synthetic methods use the MethodInfo constructor. 2014-10-09 16:31:00 -07:00
Marco Castelluccio 2239e793df Set consumes property of a MethodInfo instead of calculating it for each invoke*. Fixes #407. 2014-10-09 15:11:11 -07:00
Marco Castelluccio e0a4c9eac8 Remove callee.localsBase check 2014-10-06 10:51:49 -07:00
Marco Castelluccio f695a7a024 Create synthetic methods with Uint8Array bytecode to avoid bailouts in frame.js 2014-10-02 12:26:23 -07:00
Marco Castelluccio e42b3e8c46 Remove stopFrame 2014-09-30 19:18:26 -07:00
Marco Castelluccio 0162737534 Terminate execution when there's only one frame left 2014-09-30 18:44:28 -07:00
Marco Castelluccio e1390b706c Merge branch 'master' of https://github.com/andreasgal/j2me.js into seal_Frame 2014-09-30 17:46:46 -07:00
Marco Castelluccio 1146835d77 Don't create a fake caller frame for synthetic methods 2014-09-30 17:23:24 -07:00
Marco Castelluccio 50aef85f82 Don't use syntheticKey in Instrument.getKey. Fixes #371. 2014-09-30 15:16:38 -07:00
Marco Castelluccio 49725d1acc Prevent addition of properties on Frame 2014-09-30 14:30:56 -07:00
Marcus Cavanaugh fe323649c6 Reimplement java.lang.String with JS Strings. 2014-09-29 09:43:31 -07:00
Marco Castelluccio de7ec4104d Add vmc and vfc fields to all classes 2014-09-25 19:20:41 -07:00
Marcus Cavanaugh dd7b30dd76 Override slow java.lang.String methods. 2014-09-24 12:56:36 -07:00
Myk Melez 8f8dd4d174 pause on all thread yields; pair pause/resumeHooks calls correctly 2014-09-23 01:51:33 -07:00
Myk Melez f6d2159537 remove question about whether Context.execute behavior is bug 2014-09-22 10:51:46 -07:00
Myk Melez 7472648262 identify individual synthetics 2014-09-22 01:46:49 -07:00
Myk Melez 85178cace0 identify synthetics in profile 2014-09-22 01:35:12 -07:00
Myk Melez 820decfe24 also call pause hooks when yielding thread 2014-09-22 00:40:01 -07:00
Myk Melez 4bdea32e65 don't count time spent paused 2014-09-21 23:59:15 -07:00
Myk Melez a246fe988a read the correct arguments from the caller's stack; stop unnecessarily bitwise-anding integer 2014-09-11 14:27:11 -07:00
Marco Castelluccio 4c486409f2 Actually remove VM.Yield from raiseException 2014-08-27 16:42:31 -07:00
Marco Castelluccio 720ac83d2d Remove raiseRuntimeException function 2014-08-26 09:49:51 -07:00
Marco Castelluccio c3fbae4470 Introduce raiseExceptionAndYield function and use it when needed 2014-08-26 09:47:51 -07:00
Andreas Gal 936de85d1c add basic support for isolates, not complete yet 2014-08-07 10:10:54 -07:00
Andreas Gal c6f918d9e0 move pending/initialized to runtime 2014-08-06 17:11:27 -07:00
Andreas Gal 08614d1704 add a runtime abstraction 2014-08-06 17:04:44 -07:00
Andreas Gal 6f5866f663 move newPrimitiveArray to context as well 2014-08-06 16:53:35 -07:00
Andreas Gal 695d1619f8 move isolate-specific state out of CLASSES 2014-08-06 16:48:17 -07:00
Andreas Gal 67c5746f6d move newArray to context 2014-08-06 13:52:18 -07:00
Andreas Gal 4dbfc348c8 move newMultiArray over to context 2014-08-06 13:49:46 -07:00
Andreas Gal 40f72e4c22 factor out raiseRuntimeException 2014-08-05 15:14:30 -07:00
Marco Castelluccio 3d2f88082c Use console.info to log uncaught exceptions 2014-08-05 11:48:37 -07:00
Andreas Gal 3991c8a173 implement proper back traces 2014-07-30 15:49:58 -07:00
Andreas Gal 48714d05c0 move newString to classes 2014-07-29 17:40:19 -07:00
Andreas Gal aa05e9f177 resolve all constant pool entries 2014-07-29 04:26:03 -07:00
Andreas Gal 27bad76041 eliminate ready() 2014-07-29 02:24:21 -07:00
Andreas Gal 8abebc4c65 cleanup monitor code some more in preparation for interrupt() 2014-07-29 02:15:09 -07:00
Andreas Gal 00ab9966d7 more fixes to the wait code 2014-07-29 01:52:56 -07:00
Andreas Gal d329f7c206 implement timeout for wait 2014-07-29 01:13:42 -07:00
Andreas Gal ffd8626cd3 common out code to unblock a thread 2014-07-29 01:07:15 -07:00
Andreas Gal eb44d1ecd7 re-take multiple locks when returning from a wait if needed 2014-07-28 15:14:09 -07:00
Andreas Gal 1173b8c47b unlock all levels when entering a wait state 2014-07-28 14:36:12 -07:00
Andreas Gal a7d98c8312 abstract waiting on objects 2014-07-28 14:25:23 -07:00
Andreas Gal c47178f9f6 raise exception when trying to unlock a monitor we don't own 2014-07-28 13:49:14 -07:00
Andreas Gal d32c8c8906 wait/notify actually works now 2014-07-28 12:54:57 -07:00
Andreas Gal eb7b9eec14 improve locking of class initialization 2014-07-28 12:42:42 -07:00
Andreas Gal 11394b361b more work on monitors 2014-07-28 10:47:02 -07:00
Andreas Gal ae2426c4c0 a couple assorted fixes for threading 2014-07-28 00:53:37 -07:00
Andreas Gal 29c84a4c15 fix order of static class initialization 2014-07-27 20:30:10 -07:00