Commit Graph

2917 Commits

Author SHA1 Message Date
Alexey Andreev
d76eeb9be3 Improve <clinit> elimination. Improve inlining in ADVANCED optimization mode 2020-02-14 12:46:57 +03:00
Alexey Andreev
fecdd6613a Use tab character to indent stack traces 2020-02-14 10:39:50 +03:00
Alexey Andreev
289bfc9488 C: fix Function.get when getting function from different class 2020-02-10 19:52:17 +03:00
Alexey Andreev
f1d83ad9d3 Optimize empty collections 2020-02-10 17:11:50 +03:00
Alexey Andreev
a414a7979c Fix NPE 2020-02-10 17:08:25 +03:00
Alexey Andreev
3b1dae4412 Fix <clinit> elimination in case of native methods 2020-02-10 16:37:32 +03:00
Alexey Andreev
862b5e79a1 Update upper supported IDEA version 2020-02-05 16:04:51 +03:00
Alexey Andreev
884fcfe538 Return accidentally removed annotation 2020-02-04 18:02:48 +03:00
Alexey Andreev
8cba925a89 C: fix bug in deobfuscator 2020-02-04 17:37:00 +03:00
Alexey Andreev
fa198244dd Fix bug in ArrayDeque implementation 2020-02-04 17:36:46 +03:00
Alexey Andreev
f4ec4872c5 C: fix crash when creating stack trace triggers GC 2020-02-04 14:25:22 +03:00
norzak
5397d2ec6b
JS: rename misspelled property name (#466)
It should be setTextContent not getTextContent
2020-02-03 14:38:36 +03:00
Alexey Andreev
45d36eac83 C: fix crash on GC when there are queued WeakReference instances in the heap
When performing young GC, we can encounter some WeakReferences which get into
corresponding ReferenceQueue. In this case queue internal state will be updated.
After it defragmentation phase runs which updates references to relocated objects.
For performance reason, defragmentation phase scans only regions either
marked with write barriers or regions that contain surviving objects in
young generation. However, sometimes a queue can be in neither of these sets,
so we additionally mark regions containing all affected queues.
2020-01-31 18:23:50 +03:00
Alexey Andreev
374f7c6634 C: allow to define custom logging functions. Use unified logging function within VM 2020-01-30 18:18:16 +03:00
Alexey Andreev
f13a7e6375 C: fix Strings.fromC/fromC16 methods 2020-01-30 15:41:37 +03:00
Alexey Andreev
2285254aa4 IDEA: fix inspection settings 2020-01-27 16:06:36 +03:00
Alexey Andreev
afa4e15846 Trying to fix #460
Actually, could not reproduce this, added some tests (they passed on initial version).
2020-01-27 16:03:51 +03:00
Colorize
c30e2d3c24 Collection spliterator that does not depend on how the list implementation implements spliterator() 2020-01-27 15:35:18 +03:00
Alexey Andreev
7a2cd6ae4f Fix more bugs in devirtualization 2020-01-24 16:23:28 +03:00
Alexey Andreev
2d2ef642a3 Fix virtual method resolution in code server mode 2020-01-23 19:03:47 +03:00
Alexey Andreev
05ac4b62bf Add HTTP headers in code server to not cache content 2020-01-23 18:59:05 +03:00
Alexey Andreev
72275a0877 Fix passing reflection tests with fast global analysis enabled 2020-01-23 18:58:18 +03:00
Alexey Andreev
c53a563e96 Fix bug in devirtualization while inlining 2020-01-23 15:53:11 +03:00
Alexey Andreev
4776bebe8e C/Wasm: fix incorrect removal of GC root in optimizer 2020-01-22 17:16:44 +03:00
Alexey Andreev
a35a10bbc6 Reduce GC region size 2020-01-22 13:15:57 +03:00
Alexey Andreev
1ac0f7156c C/Wasm: fix OOME from compiled application 2020-01-22 13:15:57 +03:00
Jörg Hohwiller
236c6191c2 #457: also add check/reportValidity 2020-01-16 18:33:39 +03:00
adamjryan
34aed76714 Add write replace method to lambdas that implement java.io.Serializable (#453)
Add write replace method to lambdas that implement java.io.Serializable

* Peripheral java library classes added as part of the toString method
of SerializedLambda to align functionality with the standard library.
* Test added that checks the SerializedLambda can be returned and that
it is populated with the correct values including it's toString method.
2020-01-15 11:11:48 +03:00
Jörg Hohwiller
9b6f5e7895 added setCustomValidity (#458) 2020-01-15 11:10:00 +03:00
Jörg Hohwiller
5ed4de3a5a added placeholder property (was present in text area but missing in input) 2020-01-14 11:21:41 +03:00
Jörg Hohwiller
c0d42a9d7a #455: added Node.textContent property support 2020-01-13 11:02:01 +03:00
kris-scheibe
2f9e7b0cfb update ASM to version 7.2 2020-01-12 11:11:46 +03:00
Adam J Ryan
42cd4c7cb4 Missing (un)boxing for long values in reflection method value marshalling. 2020-01-12 11:01:22 +03:00
Alexey Andreev
e064457fe7 Fix issues in Spliterators code 2019-12-09 11:53:40 +03:00
Colorize
dd255f9da0 Extend the class library with the part of Spliterators that is used by Google Guava (#443)
Add class library support for the part of Spliterators that is used by Google Guava.
2019-12-09 11:29:16 +03:00
Alexey Andreev
9d0a53175a Do not insert GC write barriers when value assigned to field is known to be null or constant literal 2019-12-05 15:36:32 +03:00
Alexey Andreev
72fc62f082 Fix bug that causes heap to grow without need 2019-12-05 15:07:18 +03:00
Alexey Andreev
8237403161 Fix build of IDEA plugin 2019-12-04 18:45:22 +03:00
Alexey Andreev
96be75664c Fix build of IDEA plugin 2019-12-04 18:13:28 +03:00
Alexey Andreev
a36cd51c53 Fix build of IDEA plugin 2019-12-04 17:25:07 +03:00
Alexey Andreev
efa15936da Fix build of IDEA plugin 2019-12-04 16:56:47 +03:00
Alexey Andreev
0dbc4a22bb Set proper content type in code server 2019-12-04 16:18:00 +03:00
Alexey Andreev
477d8b2d69 Fix Stream.collect. Add some of the missing functional interfaces 2019-12-04 15:50:10 +03:00
Alexey Andreev
037acc613c Update IDEA version to 2018.2.8 2019-12-04 15:29:10 +03:00
Alexey Andreev
a7df41d41d Fix debugging when script is included with additional query string 2019-12-04 15:28:40 +03:00
Alexey Andreev
e147a998e5 Remove performance optimization that causes bug when modifying class hierarchy within class transformers 2019-12-04 12:41:41 +03:00
Alexey Andreev
4b3a8e757b Reduce size of a Kotlin program that uses lightweight reflection 2019-12-03 20:57:31 +03:00
Alexey Andreev
fed75ef0cf Reduce size of minimal application 2019-12-03 20:56:53 +03:00
Alexey Andreev
16f4d2571b Support generations in GC 2019-12-03 12:10:55 +03:00
devnewton
0ff17fc2fb Gamepad api (#444)
Add gamepad API to JSO
2019-12-02 18:59:29 +03:00