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
Svyatoslav Scherbina
2664a4460b
ObjCExport: test that completion is properly retained by continuation
...
Add a test that checks that Kotlin Continuation wrapping Objective-C
completion handler has strong reference to it, i.e. completion handler
doesn't get reclaimed too early.
Follow-up to 4dcfd38 .
2021-12-10 10:35:36 +00:00
Svyatoslav Scherbina
59bae29d64
ObjCExport: add test for calling Unit-typed completion asynchronously
...
Follow-up to 4dcfd38 .
2021-12-10 10:35:36 +00:00
Elena Lepilkina
611c402e59
[K/N] Fix building mimalloc with TSAN
2021-12-09 13:25:33 +00:00
Pavel Kunyavskiy
b3be835c6f
[K/N] Fix bug for function references with extension receiver
...
Was introduced while refactoring in 4b49356a
2021-12-09 09:45:49 +00:00
Pavel Kunyavskiy
3442631d42
[K/N] Custom bitcode optimization pass to avoid multiple loads of TLS
...
^KT-50075
2021-12-09 08:06:53 +00:00
Ilya Matveev
ff6889ea05
[K/N][build] Drop srcRoot from CompileToBitcode
2021-12-09 07:19:37 +00:00
Alexander Shabalin
3e9ee8cf6f
[K/N] Do not clean benchmarksAnalyzer from performance project clean
...
Merge-request: KT-MR-5217
2021-12-08 19:57:44 +00:00
Elena Lepilkina
f4830716bc
[K/N] Don't land parameters on stack in release mode
2021-12-08 15:19:31 +00:00
Svyatoslav Scherbina
575c0fabb6
Native: add test for KT-38850
...
(the bug was fixed long ago, in 1.4-M1).
2021-12-08 13:00:15 +00:00
Ilya Matveev
9e9faa6b14
[K/N][build] Don't use srcRoot in compdb tasks
...
The CompileToBitcode task has two options to specify sources:
srcDirs and srcRoot. Thus there may be a situation when sources
are specified using srcDirs only and srcRoot doesn't exists (e.g.
compilation of googletest and googlemock, see RuntimeTestingPlugin.kt).
In this case a generated compilation database will contain
a path to a directory which doesn't exist causing error messages
during CLion import. This patch fixes this by getting rid of using
srcRoot in combdb tasks.
2021-12-08 10:12:31 +00:00
Igor Yakovlev
d55e16a030
[WASM] Regex std implementation
2021-12-07 21:33:31 +03:00
Alexander Shabalin
c57df1ac40
[K/N] Track stats in Mark
...
Tracking alive heap set size after Mark GC phase.
Merge-request: KT-MR-5179
^KT-48537
2021-12-06 14:51:01 +00:00
Alexander Shabalin
feefaf2273
[K/N] Update NEW_MM.md about AtomicReference
...
Merge-request: KT-MR-5187
^KT-50026
2021-12-06 13:13:00 +00:00
Pavel Kunyavskiy
01345ad62b
[K/N] Get rid of work with lagacy descriptor-based types
2021-12-06 12:32:08 +00:00
Elena Lepilkina
219d9707ec
[K/N][stdlib] Fix cases with existing pattern before matched with dot quantifier interval in regular expressions implementation(^KT-49967 Fixed)
2021-12-06 09:23:19 +00:00
Alexander Shabalin
4fd61ad1b0
[K/N] Change AtomicReference for the new MM ^KT-50026
...
Make AtomicReference behave like FreezableAtomicReference with the new MM: not frozen by default, don't require freezing value unless the ref itself is frozen. The behaviour with the old MM is unchanged.
Merge-request: KT-MR-5155
2021-12-03 17:08:21 +00:00
Sergey Bogolepov
26994817d1
[K/N] Update watchOS platform libraries for Xcode 13.1
2021-12-03 12:46:35 +00:00
Sergey Bogolepov
4bd4ef6fee
[K/N] Update tvOS platform libraries for Xcode 13.1
2021-12-03 12:46:34 +00:00
Sergey Bogolepov
c6574d9d80
[K/N] Update iOS platform libraries for Xcode 13.1
2021-12-03 12:46:34 +00:00
Sergey Bogolepov
5cd3043628
[K/N] Update macOS platform libraries for Xcode 13.1
2021-12-03 12:46:34 +00:00
Svyatoslav Scherbina
00c945ea4a
Native: pack licenses from license/ into the bundle as well
...
Also remove duplicates from kotlin-native/licenses/
2021-12-03 11:24:43 +00:00
Svyatoslav Scherbina
13d0793a43
Update kotlin-native/licenses/ files copied from license/
...
These files were copied long ago, when kotlin-native/ was in the
separate Git repository, and now some of them don't match the updated
originals.
2021-12-03 11:24:43 +00:00
Svyatoslav Scherbina
427c2bde97
Native: remove kotlin-native/LICENSE as it duplicates license/LICENSE.txt
2021-12-03 11:24:43 +00:00
Svyatoslav Scherbina
3898c52454
Native: extract license packing into a function
2021-12-03 11:24:42 +00:00
Svyatoslav Scherbina
71deeab57c
Native: don't pack Xcode license into non-macOS bundles
2021-12-03 11:24:42 +00:00
Svyatoslav Scherbina
0a6c4c985c
Native: fix packing licenses into the bundle
...
The source directory became wrong after merging the kotlin-native/ into
kotlin.
2021-12-03 11:24:42 +00:00
Svyatoslav Scherbina
3d7ac9037a
Native: fix packing licenses into the samples archive
...
The source directory became wrong after merging the kotlin-native/ into
kotlin.
2021-12-03 11:24:41 +00:00
Svyatoslav Scherbina
5af9ecf959
Native: fix packing RELEASE_NOTES.md into the bundle
...
The source directory became wrong after merging the kotlin-native/ into
kotlin.
2021-12-03 11:24:41 +00:00
Svyatoslav Scherbina
7b9f196528
Native: update Xcode license to 8/7/2019
2021-12-03 11:24:40 +00:00
Svyatoslav Scherbina
a760c31b22
Native: update RELEASE_NOTES.md
2021-12-03 10:26:26 +00:00
Anastasiya Shadrina
43d11c7c4b
[K/N] Fix K/N Sanity test
2021-12-02 20:23:53 +03:00
Sergey Bogolepov
0eb0d2c10e
[K/N] Fix performance suite after update to Xcode 13
2021-12-01 09:53:53 +00:00
Sergey Bogolepov
dfa6507cae
[K/N] Bump Apple SDK versions
2021-12-01 08:49:51 +00:00
Sergey Bogolepov
10b48296e8
[K/N] Fix FrameworkTest in case of simulator target
...
As of Xcode 13.1 Swift 5.5 passes wrong libclang_rt to simulator targets
(similar to ours KT-47333). To workaround this problem, we explicitly
provide the correct one.
2021-12-01 08:49:51 +00:00
Sergey Bogolepov
3ef97511f6
[K/N] Fix testStackTraceFramework test after Xcode update
2021-12-01 08:49:51 +00:00
Sergey Bogolepov
9b06df48e4
[K/N] Update Xcode version to 13.1
2021-12-01 08:49:50 +00:00
Pavel Kunyavskiy
9b366af38b
[K/N] Fix String.compareTo on unicode strings
...
^KT-49873
2021-12-01 07:51:27 +00:00