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

108 Коммитов

Автор SHA1 Сообщение Дата
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
Marco Castelluccio 8e2b1f9f05 Remove old instrumentation and profiling code. Fixes #989. 2015-01-31 19:54:20 +01:00
Myk Melez d7ccc1e539 Merge pull request #979 from brendandahl/return-check2
Thoroughly check return values.
2015-01-30 18:30:51 -08:00
Brendan Dahl 8c3cc1889e Thoroughly check return values.
Use asserts.
2015-01-29 18:12:56 -08:00
Michael Bebenita b8748b4055 Don't gate fast counters with the profile flag. 2015-01-29 16:50:20 -08:00
Michael Bebenita 0e8932616e Only permit OSR entry points for outer loop headers. This allows the relooper do a better job. 2015-01-29 15:27:26 -08:00
Michael Bebenita 99d11b80fc Merge commit '1741920316ee5d5bb29bf1d91b2860447664c5d5' into jitopt3 2015-01-27 16:56:27 -08:00
Brendan Dahl 1741920316 Remove util.newPrimitiveArray. 2015-01-27 15:36:13 -08:00
Brendan Dahl e0a2c48bc8 Remove util.newObject. 2015-01-27 15:10:04 -08:00
Brendan Dahl 8d3f459d55 Remove util.newArray. 2015-01-27 14:59:21 -08:00
Michael Bebenita a042426843 OSR only at loop headers. 2015-01-25 13:41:37 -08:00
Michael Bebenita fdc6d9e96f Reapply change from previous busted commit. 2015-01-22 17:03:43 -08:00
Michael Bebenita 83552d28da Handle exceptions thrown by bottom most OSR frames. 2015-01-22 17:01:41 -08:00
Michael Bebenita fa83973d68 Adds missed interpreter call counts. 2015-01-22 17:01:28 -08:00
Myk Melez e1628e292c Merge pull request #906 from brendandahl/fix-resolved-invoke-locks
Use slow path for synchronized methods to ensure we lock.
2015-01-22 10:32:47 -08:00
Brendan Dahl 90f0e50324 Use slow path for synchronized methods to ensure we lock. 2015-01-21 19:55:23 -08:00
Michael Bebenita 032f6ab6e1 Inline frequently called Object initializer. 2015-01-21 17:05:59 -08:00
Michael Bebenita 7c4ae6d4ac Merge commit 'c835d81fa2ca1d4b39d5cae4d1d8d1cc2077ac1e' into jitjit 2015-01-20 22:43:38 -08:00
Michael Bebenita b23c068403 Add comments. 2015-01-20 16:50:08 -08:00
Michael Bebenita 86d79098b6 Enable JIT compilation by default. 2015-01-20 15:56:29 -08:00
Myk Melez 4dcdfe1925 Merge branch 'master' into mbebenita-intopt
Conflicts:
	Makefile
	jit/baseline.ts
	jit/blockMap.ts
2015-01-20 14:14:29 -08:00
Myk Melez 7b4c8053ed remove the rest of the debugger statements 2015-01-20 13:43:27 -08:00
Michael Bebenita 280c5a5a89 Use a different array for resolved constants. 2015-01-20 11:02:05 -08:00
Michael Bebenita 5809744eef More OSR changes., WIP. 2015-01-19 12:28:04 -08:00
Michael Bebenita bf537b5c7a OSR Support and misc cleanup. 2015-01-18 19:54:01 -08:00
Michael Bebenita de892b94e2 Quicken resolved opcodes. Optime frame stack. 2015-01-16 16:40:58 -08:00
Michael Bebenita 06930297c5 Remove frame sets so that we can save on memory allocation. 2015-01-16 04:58:54 -08:00
Michael Bebenita 7432645bea Pool frames to save on allocation. 2015-01-16 01:45:59 -08:00
Michael Bebenita bc210e84dc No point in calling yet another function. 2015-01-16 01:44:35 -08:00
Michael Bebenita a0e7500f49 Some cleanup. 2015-01-16 00:46:34 -08:00
Michael Bebenita 336ead1407 Merge branch 'master' of https://github.com/andreasgal/j2me.js
Conflicts:
	Makefile
	libs/console.js
	main.html
	references.ts
	runtime.ts
	style/main.css
2015-01-15 14:53:59 -08:00
Michael Bebenita e8b9366541 Don't count by default. 2015-01-14 20:40:05 -08:00
Michael Bebenita e61cf6927e Only link right before initializing a class. 2015-01-14 17:13:14 -08:00
Brendan Dahl d6439415db Add missing newlines. 2015-01-13 16:47:42 -08:00
Michael Bebenita dcd02fd608 Merge branch 'jit-merge' of https://github.com/brendandahl/j2me.js
Conflicts:
	interpreter.ts
	style/main.css
2015-01-08 14:11:19 -08:00
Michael Bebenita 67f6da5285 Faster tracing. 2015-01-07 15:46:53 -08:00
Brendan Dahl 83618a2cd7 Fix exception handling location. 2015-01-07 15:08:56 -08:00
Brendan Dahl e9ef0dc92f Remove optimization for wide instructions. 2015-01-07 13:46:01 -08:00
Myk Melez 477c3b3078 Merge branch 'brendandahl-jit-merge' into mbebenita-master
Conflicts:
	interpreter.ts
	tests/gfx/ImmutableImageFromByteArrayTest.java
2015-01-04 22:37:21 -08:00
Brendan Dahl c38ab782c3 Fix error that's not really an error. 2015-01-02 17:03:37 -08:00
Brendan Dahl 2c52242fd0 Don't handle non-java exceptions. 2015-01-02 15:43:51 -08:00