Pavel Kunyavskiy
541f6b0c88
[K/N] Fix handling of legacy suspend-function superclass
...
^KT-50737
2022-01-12 19:42:37 +00:00
Alexander Shabalin
d8f99d8974
[K/N] Avoid global dtors in suspension and logging
...
^KT-50713
Merge-request: KT-MR-5426
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2022-01-12 13:28:43 +00:00
Dmitriy Dolovov
99300bd885
[IR] IrModuleDeserializerKind API cleanup
...
Related to #KT-50591
2022-01-12 11:05:12 +03:00
Dmitriy Dolovov
cb5a052227
[IR] Distinguish IrModuleDeserializers with and w/o underlying KLIBs
...
Fixes #KT-50591
2022-01-11 21:53:06 +03:00
Svyatoslav Scherbina
c2f03b4d28
Deprecate freezing in kotlin-native/NEW_MM.md
2022-01-11 12:21:55 +00:00
Alexander Shabalin
65fdfffeb4
[K/N] Make GC.collect wait for finalizers being run
...
^KT-50713
Merge-request: KT-MR-5404
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2022-01-11 11:39:22 +00:00
Alexander Udalov
8b57675002
Revert "Remove obsolete check for language version and IR backends"
...
This check is no longer obsolete since language version 1.3 support is
restored for Kotlin/JVM, but JS and Native never supported LV 1.3.
This is a partial revert of 0213c25c9b ,
without the diagnostic in K2JVMCompilerArguments (which is not needed
since the earliest supported LV is 1.3).
#KT-50695 Fixed
2022-01-10 21:15:51 +01:00
Elena Lepilkina
d907c0ac4f
[K/N][perf] Update npm packages versions
2022-01-10 12:36:57 +00:00
Elena Lepilkina
745c5e2b05
[K/N][perf] Update pattern for release branches
2022-01-10 12:36:57 +00:00
dkhalanskyjb
ac8553cfd4
kotlin-native/NEW_MM.md: mention the new release of the coroutines
2022-01-10 13:38:01 +03:00
Igor Yakovlev
e58d4163ad
[WASM] Add std methods for collections
2022-01-05 13:12:32 +01:00
Pavel Punegov
cffdb2c3aa
[K/N][test] Disable tail calls optimization for stack trace tests
...
Without disable_tail_calls attribute Clang optimizes these methods on
macos_aarch64 replacing invocation (BL) with simple branch (B) that
makes stacktrace have no test methods.
2021-12-30 17:29:19 +00:00
Alexander Shabalin
3fe05233e2
[K/N] Fix set_terminate usage in ExceptionsTest.cpp
...
Merge-request: KT-MR-5376
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2021-12-29 12:58:35 +00:00
Martin Petrov
50250ccf65
[Native] Escape the module name in the C adapter.
...
This previously failed if the module name contaned dots or dashes, e.g.
```
kotlinc-native ~/test.kt -produce static -module-name="foo-bar.baz"
```
This change espaces `-` and `.` similar to `ObjCExportNamer`'s `abbreviate`.
2021-12-27 19:45:14 +03:00
Igor Chevdar
af09fb51ac
[K/N][IR] Made the compiler pipeline to do per file lowerings
2021-12-27 14:28:29 +05:00
Igor Chevdar
d3a7aefe36
[K/N][IR] Turned off SAM super types checker
...
Fixes https://youtrack.jetbrains.com/issue/KT-50399
2021-12-27 08:42:30 +00:00
Alexander Shabalin
a6b5339980
[K/N] Fix a race in ThreadWithContextTest
...
Merge-request: KT-MR-5349
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2021-12-24 18:49:26 +00:00
Pavel Punegov
4e402e1b72
[Native] Samples: update kotlin version and gradle
2021-12-24 16:03:40 +00:00
Sergey Bogolepov
1dd76fa637
[K/N] Re-enable Hypervisor framework
...
^KT-50045
2021-12-24 12:44:36 +00:00
Sergey Bogolepov
2f6b367e25
[K/N] Enable Kernel framework
...
Export only minimal set of headers that is required for Hypervisor.
2021-12-24 12:44:36 +00:00
Alexander Shabalin
5de0f78350
[K/N] Extract SingleThreadExecutor.
...
^KT-48537
Merge-request: KT-MR-5338
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2021-12-24 11:04:45 +00:00
Ilya Matveev
2f32214106
[K/N][Runtime] Fix deadlock in file initialization
...
Issue #KT-50491 Fixed
2021-12-23 13:21:01 +00:00
Pavel Kunyavskiy
fd63fed8b4
[K/N] Filecheck test for EnumWhenLowering
2021-12-23 11:09:29 +00:00
Pavel Kunyavskiy
60cb8543f0
[K/N] Add test for tls load optimisation
...
^KT-50139
2021-12-23 11:09:28 +00:00
Pavel Kunyavskiy
1956fcb14f
[K/N] Add test for inlining of adopted function reference
...
^KT-48179
2021-12-23 11:09:28 +00:00
Pavel Kunyavskiy
c97f4a4d20
[K/N] Support -Xsave-llvm-ir-after compiler option
2021-12-23 11:09:27 +00:00
Pavel Punegov
d13f6744a6
[Native] Improve skipped and filed tests reporting in GTestLogger
...
List skipped tests appropriately like the GTest does
2021-12-22 10:11:36 +00:00
sebastian.sellmair
b6b5ecc352
[MPP] Remove unnecessary ExpectActualResolver receiver
...
^KT-50120
2021-12-21 21:31:49 +00:00
sebastian.sellmair
760c33bd43
[MPP] Fixup ExpectDeclarationsRemoving after changes to ExpectActualResolver
...
^KT-50120
2021-12-21 21:31:48 +00:00
Alexander Shabalin
6d6480a662
[K/N] Clarify performance expectations of the new MM
...
Merge-request: KT-MR-5298
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2021-12-21 09:40:34 +00:00
Alexander Shabalin
43b8683b9c
[K/N] Separate MM from GC implementations
...
^KT-50291
Merge-request: KT-MR-5191
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2021-12-21 08:33:51 +00:00
Nikolay Krasko
85521f01f8
Update shadow plugin 6.1.0 -> 7.1.1
...
Version 7.1.1 is absent in jcenter, so additional repository was added
in some modules.
Leave old version in NewMultiplatformIT.kt because of
`This version of Shadow supports Gradle 7.0+ only. Please upgrade.` error.
^KTI-733 Fixed
2021-12-20 21:39:00 +03:00
Svyatoslav Scherbina
2bd53e3dea
Native, old MM: fix releasing foreign refs to circular frozen graphs
...
^KT-49497
2021-12-20 14:56:38 +00:00
Alexander Shabalin
cc8f278948
[K/N] Add a separate aggressive GC scheduler
...
^KT-48537
Merge-request: KT-MR-5253
Merged-by: Alexander Shabalin <Alexander.Shabalin@jetbrains.com >
2021-12-20 11:04:46 +00:00
Vyacheslav Gerasimov
f7a9065b75
Build: Use intellij maven repo instead of downloaded IDEA
...
#KTI-82
2021-12-16 21:48:23 +03:00
Vyacheslav Gerasimov
bc2f0936bd
Build: Rename commonDep -> commonDependency
2021-12-16 21:48:19 +03:00
Svyatoslav Scherbina
7b60c0427e
Native: remove calculator and cocoapods samples
...
Redirect to the up-to-date alternatives.
2021-12-16 09:34:36 +00:00
Elena Lepilkina
f650311b11
[K/N] Support properties in BCE
2021-12-16 08:33:36 +00:00
Alexander Shabalin
8863d48595
[K/N] Simplify safepoint slowpath in CMS
...
^KT-50291
Merge-request: KT-MR-5263
2021-12-15 19:34:16 +00:00
Roman Artemev
fb84287ae0
[KLIB] Compute relative path instead of absolute if relative base is provided
...
- normalize path if required
- path it in JS/Native
- path null for JVM (temporary)
- fix build
2021-12-15 21:13:52 +03:00
Roman Artemev
a68eabac0a
[K/N] Setup config about path relativeness and normalization in config
2021-12-15 21:13:52 +03:00
Alexander Shabalin
7eb0798d64
[K/N] Fix SafePointSlowPath in STMS
...
^KT-48537
Merge-request: KT-MR-5257
2021-12-15 07:54:07 +00:00
Pavel Kunyavskiy
3a8b4059c9
[K/N] Disable cms for targets not supporting threads
2021-12-13 05:32:11 +00:00
Pavel Kunyavskiy
42aaa86f10
[K/N] Mark finalizing extra objects to avoid double finalizing
...
When new mark phase finished before previous finalization is done,
extra objects are still in list, which would be passed to finalize.
This could lead to unpredictable effects.
After this commit such objects are marked by new flag and ignored by
next gc runs.
2021-12-13 05:32:11 +00:00
Pavel Kunyavskiy
ebca4d793f
[K/N] Implement non-blocking approach for sweep
2021-12-13 05:32:10 +00:00
Pavel Kunyavskiy
df4b367296
[K/N] Add cms related targets and compiler option
2021-12-13 05:32:10 +00:00
Pavel Kunyavskiy
03299023f1
[K/N] Copy stms GC to start cms development
2021-12-13 05:32:09 +00:00
Pavel Kunyavskiy
dd2849b7e7
[K/N] Extract collecting root set to utils
2021-12-13 05:32:09 +00:00
Pavel Kunyavskiy
7373183e6f
[K/N] Rework scheduler type choosing
2021-12-13 05:32:08 +00:00
Pavel Kunyavskiy
b22dec062c
[K/N] Optimize finalizing of simple extra objects
...
There is no need to delay ExtraObject deletion when it doesn't have
associated object. We can just remove it while iterating on them.
2021-12-13 05:32:08 +00:00