Alexey Andreev
2ad5baaccc
JS: don't write single return statement
2020-03-03 15:01:33 +03:00
Alexey Andreev
eb3490dba0
Improve inlining
2020-03-03 14:34:27 +03:00
Alexey Andreev
146776ff55
JS: reduce size of declaration of classes without fields
2020-03-03 12:47:06 +03:00
Alexey Andreev
c1891a1908
Further work on decreasing generated code size
2020-03-03 12:17:39 +03:00
Alexey Andreev
b71a2b6c65
Compile tests with Java version 11
2020-03-02 17:19:15 +03:00
Alexey Andreev
6d1c0f037e
Ignore failing html4j test
2020-03-02 16:56:33 +03:00
Alexey Andreev
ea1134d66b
Trying to reduce number of classes for which name is provided in their metadata
2020-03-02 16:36:09 +03:00
Alexey Andreev
46e786d957
JS: commit forgotten html test template file
2020-03-02 16:18:08 +03:00
Alexey Andreev
cb26a10251
JS: when running tests, create proper HTML files to allow debugging these tests
2020-03-02 15:58:28 +03:00
Alexey Andreev
81235ac714
JS: reduce size of wrapped virtual methods
2020-03-02 11:50:45 +03:00
Alexey Andreev
8d1eb3fcc6
Better optimization of <clinit> when reading other's class static final fields
2020-03-02 11:23:58 +03:00
Alexey Andreev
a30702aa70
Add missing import
2020-03-02 11:22:21 +03:00
Kris Scheibe
160fa2b1fa
Java 9 collection factories ( #478 )
...
Adds the collection factories List.of(...), Set.of(...), Map.of(...) and Map.ofEntries(...) which were introduced to the JDK in Java 9
2020-03-02 11:20:43 +03:00
Jörg Hohwiller
60d0ad902c
added support for java.lang.reflect.Type
2020-03-02 11:15:24 +03:00
Alexey Andreev
2f95045345
Improve optimization of unused methods that were inlined on every usage
2020-02-28 14:42:51 +03:00
Alexey Andreev
aefdee2507
Fix checkstyle errors
2020-02-27 19:02:47 +03:00
Alexey Andreev
ea36a1fca8
Fix checkstyle errors
2020-02-27 18:57:45 +03:00
Alexey Andreev
7f02ccdd87
Mark some tests with @WholeClassCompilation
2020-02-27 18:43:27 +03:00
Alexey Andreev
95426e2159
Add per-class compilation when running tests (requires @WholeClassCompilation
annotation)
2020-02-27 18:43:08 +03:00
Alexey Andreev
150a613709
C/Wasm: trying to fix GC (again)
2020-02-26 14:51:40 +03:00
Alexey Andreev
84aa50e7eb
C/Wasm: trying to fix GC
2020-02-26 14:38:01 +03:00
Alexey Andreev
6790ad0818
Code server: fix proxying gzipped resources
2020-02-26 14:27:58 +03:00
Jörg Hohwiller
eeca1a502c
added Element.id property
2020-02-26 10:38:49 +03:00
Dennis Bijlsma
cbbf7b5298
Add support for URL encode/decode methods added in Java 10.
2020-02-25 11:41:34 +03:00
kris-scheibe
9daba6e5a6
add HTMLElement.innerText
2020-02-25 10:47:17 +03:00
Alexey Andreev
0e7c1e5ef9
Wasm: don't generate class metadata if it's not used. Don't generate names and call site metadata in minified mode
2020-02-21 17:29:31 +03:00
Alexey Andreev
3f2c52000f
Wasm: support null checks and array bound checks
2020-02-21 16:32:45 +03:00
Alexey Andreev
c35861610f
Wasm: support null checks and array bound checks
2020-02-21 16:32:00 +03:00
Alexey Andreev
7d95c0fb04
Wasm: fix GC
2020-02-21 16:22:25 +03:00
Colorize
a97bda3c1a
Support Collection.removeIf ( #474 )
2020-02-17 11:23:24 +03:00
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