Vyacheslav Gerasimov
63153a0beb
Schedule space dev env warmup job at 5 am GMT +3
2022-02-04 15:24:47 +03:00
Vyacheslav Gerasimov
260e6fc369
Enable kotlin-native in space dev environment
2022-02-04 15:24:47 +03:00
Dmitriy Novozhilov
b1255d78a2
Fix link to test helper plugin in Readme
2022-02-04 15:03:06 +03:00
Mikhail Glukhikh
974736809e
Fix test data inconsistency caused by commit clash
2022-02-04 14:33:33 +03:00
Artem Kobzar
5223efd3f1
fix(Kotlin/JS IR): nested comments in implicit export.
2022-02-04 10:55:52 +00:00
Aleksei.Cherepanov
a80d01265a
Use possible incompatible metadata as a fallback for incremental analysis
...
If LeverVersion is set to greater than 1 of the current compiler version, metadata became null here org.jetbrains.kotlin.load.kotlin.header.ReadKotlinClassHeaderAnnotationVisitor.createHeader, which leads to NPE during incremental analysis. Using the same incompatible data as fallback prevent it
#KTIJ-20954 Fixed
Merge-request: KT-MR-5680
Merged-by: Aleksei Cherepanov <aleksei.cherepanov@jetbrains.com >
2022-02-04 09:42:05 +00:00
Alexander Udalov
6601b8b62c
Write snapshot by chunks in ProfilingCompilerPerformanceManager.dumpProfile
...
To prevent OutOfMemoryError from converting the whole string to byte
array, in case the snapshot is very big (see KT-51058).
Also, remove 'framebuf' option from -Xprofile help, since async-profiler
2.0+ has unlimited frame buffer.
2022-02-03 22:09:44 +01:00
Igor Yakovlev
392ab75bee
[WASM] BasicWasmBoxTest refactoring
2022-02-03 21:25:59 +01:00
Igor Yakovlev
eb8c3aa54e
[WASM] Remove WasmImport annotation
2022-02-03 21:25:59 +01:00
Igor Yakovlev
d30a4fa4d5
[WASM/Native] Split AllCodePointsTest into two separate tests
2022-02-03 21:25:59 +01:00
Igor Yakovlev
8eec1743fb
[WASM] Remove TODO with UOE for std readln actuals
2022-02-03 21:25:59 +01:00
Igor Yakovlev
81c688b207
[WASM] Unmute passing test
2022-02-03 21:25:58 +01:00
Igor Yakovlev
0fe7ad8157
[WASM] Enable std tests
2022-02-03 21:25:58 +01:00
Igor Yakovlev
32fbf69738
[WASM] Std code clean up
2022-02-03 21:25:58 +01:00
Igor Yakovlev
195513d4f2
[WASM] Workaround about call toTypedArray on AbstractCollection
2022-02-03 21:25:58 +01:00
Igor Yakovlev
c3a6d0b499
[WASM] Fix invalid constructors call flow for exceptions
2022-02-03 21:25:58 +01:00
Igor Yakovlev
e30b449454
[WASM] Replace non-performance way of building String from CharArray
2022-02-03 21:25:58 +01:00
Igor Yakovlev
a44b103da9
[WASM] Fix invalid equals/hashCode for Double.NaN and Float.NaN
2022-02-03 21:25:58 +01:00
Igor Yakovlev
ea76501f9e
[WASM] Implement ConstrainedOnceSequence
2022-02-03 21:25:58 +01:00
Igor Yakovlev
d0370bd145
[WASM] Fix invalid Array.fill methods implementations
2022-02-03 21:25:58 +01:00
Igor Yakovlev
5ed104063d
[WASM] Implement missing test asserter
2022-02-03 21:25:58 +01:00
Igor Yakovlev
ece0f83ab2
[WASM] Implement std kotlin.time
2022-02-03 21:25:57 +01:00
Igor Yakovlev
1052ebb44d
[WASM] Fix invalid rounding for Double to Int/Long conversion
2022-02-03 21:25:57 +01:00
Igor Yakovlev
b4435fe091
[WASM] Escape wasm trap on division of s32/s64 min values on -1
2022-02-03 21:25:57 +01:00
Igor Yakovlev
0acb1c0c05
[WASM] Implemented Wasm unhandled exceptions on JS site
2022-02-03 21:25:57 +01:00
Igor Yakovlev
e32f9eb2ce
[WASM] throwableExtensions implementation
2022-02-03 21:25:57 +01:00
Alexander Korepanov
28b1f1c50f
[JS IR] Add IC invalidation tests
2022-02-03 20:19:17 +00:00
Alexander Udalov
210cc67041
Android extensions: do not produce unbound symbol for mutableMapOf
...
#KT-50784 Fixed
2022-02-03 19:14:52 +01:00
Ilya Goncharov
a2167200d6
[JS IR] IR module to name
...
Merge-request: KT-MR-5672
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com >
2022-02-03 17:28:46 +00:00
Mikhail Glukhikh
11bbd79c4b
FIR: replace ConeKotlinType with more concrete type when possible
2022-02-03 19:12:18 +03:00
Mikhail Glukhikh
27d4c745cb
ConeSimpleKotlinType: introduce & use unwrapDefinitelyNotNull
2022-02-03 19:12:17 +03:00
Mikhail Glukhikh
d1194e5fd2
FIR: drop some usages of ConeTypeContext
2022-02-03 19:12:17 +03:00
Mikhail Glukhikh
81ff9b820a
FIR: make ConeSimpleKotlinType the only original for definitely not-null
2022-02-03 19:12:16 +03:00
Alexander Shabalin
434213f416
[K/N] Add ScopedThread
...
* thread that by default joins in the destructor (like C++20 jthread)
* can be given a name
Merge-request: KT-MR-5619
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2022-02-03 15:38:07 +00:00
Alexander Udalov
9826172720
CLI: support "arg=value" for argument's deprecatedName
...
#KT-51093 Fixed
2022-02-03 16:23:12 +01:00
Igor Laevsky
4e84e14d34
[Wasm] Don't squish modules together
2022-02-03 18:19:30 +03:00
nataliya.valtman
259d6b82c4
Advance bootstrap to 1.7.0-dev-1452
2022-02-03 17:47:47 +03:00
Xin Wang
fdbcb64d39
JVM_IR: frame optimization for cast to IntProgression
...
#KT-29199
2022-02-03 17:45:06 +03:00
Mikhael Bogdanov
15e08893aa
FIR: support DefinitelyNotNull types
...
#KT-49465 Fixed
2022-02-03 14:07:20 +01:00
Mikhail Glukhikh
bd31cbaebf
Unmute some FIR2IR tests
2022-02-03 15:03:33 +03:00
Vyacheslav Gerasimov
87d813d780
Add space warmup job for gateway and fleet
...
#KTI-776
2022-02-03 11:53:00 +03:00
Vyacheslav Gerasimov
c7a165e6f7
Add Dockerfile for jb-gateway and fleet dev environment
...
#KTI-776
2022-02-03 11:53:00 +03:00
Pavel Kunyavskiy
85633771da
[K/N] Replace escape analysis correctness check to RuntimeAssert to avoid checks in release mode
2022-02-03 08:08:21 +00:00
Ilya Matveev
23d606b053
[K/N][tests] Support setting GC scheduler in the new infra
2022-02-03 07:30:33 +00:00
Ilya Matveev
8668797afd
[K/N][tests] Do not run backed.native tests with aggressive GC
2022-02-03 07:30:33 +00:00
Alexander Udalov
6379fe4c4c
JVM IR: link via descriptors instead of signatures by default
...
Doing so speeds up psi2ir ~2 times, and thus improves total compiler
performance by about 6-8%.
Unless JVM IR is in the mode where linking via signatures is the only
way (-Xserialize-ir, -Xklib), signatures are actually not needed at all,
SymbolTable can use the frontend representation (descriptors for FE1.0,
and hopefully FIR elements for K2) as hash table keys. The only catch is
that since other backends still need to work with signatures, all the
common IR utilities, such as irTypePredicates.kt, need to work correctly
for IR elements both with signatures and without.
Also, introduce a fallback compiler flag -Xlink-via-signatures, in case
something goes wrong, to be able to troubleshoot and workaround any
issues.
#KT-48233
2022-02-03 02:48:05 +01:00
Alexander Udalov
6e4131de8e
IR: improve toString for symbols
2022-02-03 02:48:05 +01:00
Kristoffer Andersen
cd118e4723
[EE-IR] Minor: Generate valid bytecode for Fragment Class in PSI2IR
...
Testing revealed buggy generation of classes: the prior code is
rejected by the JVM verifier due to missing call to `this()` or
`super()`.
2022-02-02 23:45:41 +01:00
Igor Chevdar
c0715cfb0c
[K/N][IR][caches] Fixed problems with inline classes
...
Fixes https://youtrack.jetbrains.com/issue/KT-50978
2022-02-02 22:46:16 +05:00
Igor Chevdar
949e222305
[IR] Fixed a problem with signature search
...
The function findDescriptorBySignature should return null if no such signature has been found
letting the caller to handle this correctly. Fixes https://youtrack.jetbrains.com/issue/KT-50976
2022-02-02 22:46:16 +05:00