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

148 Коммитов

Автор SHA1 Сообщение Дата
Brendan Dahl c80cb03206 Merge branch 'master' of https://github.com/mozilla/j2me.js into intex
Conflicts:
	Makefile
	jsshell.js
	references-jsc.ts
	references.ts
	vm/context.ts
	vm/jvm.ts
2015-05-14 17:27:30 -07:00
Michael Bebenita a1679f8d02 Expand view names. 2015-05-07 17:31:22 -07:00
Brendan Dahl 9cd9ec437c Enable preemption and use a fair scheduler. 2015-05-07 16:07:40 -07:00
Michael Bebenita be7e4d5f69 Snapshot, more opcodes. 2015-05-04 19:46:26 -07:00
Michael Bebenita 49d4059021 Beginnings of a asm.jsified interpreter. The first goal is to optimize our thread stack data structures to make interpretation and unwinding faster. 2015-04-30 09:51:47 -07:00
Yuan Xulei 019b1f02e8 free frames as much as possible 2015-04-08 18:07:03 +08:00
Brendan Dahl 54ea2d4ceb Merge branch 'master' of https://github.com/mozilla/j2me.js into per-thread-timeline 2015-04-03 10:42:08 -07:00
Marco Castelluccio cb7ed55cb8 Remove debug logging 2015-04-03 02:59:27 +02:00
Brendan Dahl ed5359c922 Show profiles per thread and don't leave() on unwinds. 2015-04-02 11:14:15 -07:00
Marco Castelluccio acb0c57de6 Run basic unit tests with JIT compilation forcibly enabled for all methods 2015-04-02 18:47:55 +02:00
Yuan Xulei 5bd4a2c3cd Make frame.setLocal() and frame.incLocal() inline 2015-04-02 16:52:50 +08:00
Yuan Xulei d3bfbeb9b7 Make Frame.getLocal() inline. 2015-04-02 16:43:32 +08:00
Yuan Xulei 42641c7c4c remove localBase, which is constantly 0. 2015-04-02 16:33:39 +08:00
Myk Melez cbde382daa Merge pull request #1256 from marco-c/remove_util_creation_methods
Remove util.js creation methods
2015-03-17 16:16:11 -07:00
Marco Castelluccio aefd674189 Remove util.fromJavaString. Fixes #863. 2015-03-18 00:01:13 +01:00
Michael Bebenita 44c0644b9b Get rid of unnecessarily complicated signature descriptors and code that was generating type definitions in the compiler. 2015-03-14 00:58:22 -07:00
Michael Bebenita 2afebd722b Rename poorly named tryLinkMethod to getLinkedMethod 2015-03-13 14:58:09 -07:00
Michael Bebenita d1c47e70bc Reuse local. 2015-03-13 11:16:25 -07:00
Michael Bebenita 6f6b2baf6f Stab at lazy linking. 2015-03-12 16:58:32 -07:00
Michael Bebenita 7a129e8c6b Simpler class mangling, and discourage usage of className. 2015-03-11 17:41:01 -07:00
Michael Bebenita ad99e0431b Merge. 2015-03-11 17:04:06 -07:00
Michael Bebenita 12e400b501 Parse signature descriptors from UTF8 strings. 2015-03-11 16:42:07 -07:00
Michael Bebenita 40d88c1871 UTF8ify parser API 2015-03-11 13:05:03 -07:00
Michael Bebenita be1c46c8cd Got some midlets working again. 2015-03-11 00:43:22 -07:00
Marco Castelluccio a85ce16c66 Don't store implKey string in MethodInfo but use a getter 2015-03-10 21:22:16 +01:00
Marco Castelluccio 2eecc7f918 Merge branch 'master' of github.com:mozilla/j2me.js into parse
Conflicts:
	jit/baseline.ts
	jit/blockMap.ts
2015-03-07 20:34:20 +01:00
Marco Castelluccio 7c23f49df2 Add method signature in the stacktrace 2015-03-06 17:32:22 +01:00
Marco Castelluccio ac637f56b9 Lazily parse exceptions; don't store exception table in memory 2015-03-06 00:19:04 +01:00
Michael Bebenita f8ee9f469f Remove resolve methods from class info. 2015-03-04 23:50:26 -08:00
Michael Bebenita d6b67f7ca6 Move all counters into a separate object so we can reduce the size of the method info. 2015-03-04 22:34:19 -08:00
Brendan Dahl fe882a03f8 Use codeAttribute. 2015-03-04 16:58:59 -08:00
Brendan Dahl f39caf2763 Merge branch 'master' of https://github.com/mozilla/j2me.js into parse
Conflicts:
	bindings.ts
	jsshell.js
	vm/classRegistry.ts
2015-03-03 17:51:58 -08:00
Brendan Dahl 2e91a72eb5 Remove CLASSES getField() and use temporary getField(). 2015-03-02 18:05:13 -08:00
Brendan Dahl 251e3c3da0 Merge branch 'master' of https://github.com/mozilla/j2me.js into static-race2
Conflicts:
	bindings.ts
2015-03-02 14:25:26 -08:00
Michael Bebenita a32c150538 Merge commit 'fcc61a07ef753974b3ea9c44a688ebdb62b2a521' into parse
Conflicts:
	actors.ts
	interpreter.ts
	vm/context.ts
	vm/jvm.ts
	vm/runtime.ts
2015-02-28 14:47:45 -08:00
Michael Bebenita affb5765f1 Method and field resolution. 2015-02-28 14:36:34 -08:00
Michael Bebenita d61ee78b38 Snapshot. 2015-02-27 17:37:08 -08:00
Marco d1661f40f1 Merge pull request #1183 from brendandahl/multi-new-array
Add baseline jit for new multi array.
2015-02-28 02:35:36 +01:00
Brendan Dahl deca81db5e Add baseline jit for new multi array. 2015-02-27 16:28:45 -08:00
Brendan Dahl 771458ce5d Remove debugger statement. 2015-02-27 13:42:20 -08:00
Brendan Dahl 764c00beb4 Use Class.java static initialization code. 2015-02-24 12:45:18 -08:00
Brendan Dahl 77f3a9c16e Save OSR entry points for AOT code. 2015-02-11 13:10:53 -08:00
Marco Castelluccio 5f51cd67b6 Fix thread lock condition in interpreter.ts 2015-02-10 13:54:51 +01:00
Myk Melez 043231ebd9 Merge pull request #1038 from yxl/exit
Improve experience of exiting
2015-02-06 19:28:16 -08:00
Marco Castelluccio 3815e32e7e Log methodInfo.implKey for methods that fail the return value check 2015-02-06 23:54:07 +01:00
Yuan Xulei f24cf1527a Implement Runtime.stop method. 2015-02-05 15:52:49 +08:00
Marco Castelluccio 83aacc676b Don't use forEach in performance-sensitive code 2015-02-04 20:03:32 +01:00
Marco Castelluccio dfbbc5f170 Make waiting and ready properties of the Lock object 2015-02-03 22:43:45 +01:00
Marco Castelluccio e3b8bf957c Merge branch 'master' of https://github.com/andreasgal/j2me.js into remove_instrument
Conflicts:
	config/urlparams.js
2015-02-02 20:05:03 +01:00
Myk Melez 0eeb37672c remove unused DEBUG flag 2015-02-01 19:33:54 -08:00