Commit Graph

25 Commits

Author SHA1 Message Date
Alexander Shabalin 658530e820 StableRef registry (#4567) 2020-12-14 15:25:37 +01:00
Alexander Shabalin c582612bd7 Restore runtimeState value in deinitRuntime (#4587) 2020-12-14 15:25:37 +01:00
Alexander Shabalin 783517dbe8 Fix unchecked runtime shutdown (#4575) 2020-12-14 15:25:37 +01:00
SvyatoslavScherbina 62272f54c1 Fix isa swizzling for Kotlin subclasses of Obj-C classes
Don't rely on indexed ivars of instance's isa since isa swizzling
replaces it. Use method instead, it works on the replacement too
(if it is a subclass of the original isa).

 #KT-42482 Fixed.
2020-12-14 15:25:37 +01:00
Alexander Shabalin ebae52e2fb Fix globals registry (#4557)
* Fix GlobalsRegistry
* Make Runtime tests on Windows faster
2020-12-14 15:25:36 +01:00
Alexander Shabalin 211c160558 TLS registry (#4554) 2020-12-14 15:25:36 +01:00
Alexander Shabalin 2057e5c8f1 Tracking globals (#4542) 2020-12-14 15:25:36 +01:00
Alexander Shabalin 5fc17ce5fa Tweak TLS init/deinit (#4551)
* Delete the entire TLS in one go
* Put TLS allocation separately
* Keep TLS in a single array
2020-12-14 15:25:36 +01:00
Alexander Shabalin 0e12c55770 Fix detectCycles (#4549) 2020-12-14 15:25:36 +01:00
Alexander Shabalin 83de4e174a Keep MemoryState empty. (#4544) 2020-11-28 21:13:48 +01:00
Alexander Shabalin e548bde89f Thread registry (#4518) 2020-11-28 21:13:46 +01:00
Alexander Shabalin e7ab525213 Add CppSupport with backported utilities (#4525) 2020-11-28 21:11:57 +01:00
Egor Zhdan 0caf0b5e11 Allow disabling reporting of filtered out test suites
This change adds a command line argument which hides the test suites that don't match the filter from the report
2020-11-28 21:11:26 +01:00
Alexander Shabalin 0dfc99ab1a Add MoveOnly and Pinned (#4526) 2020-11-28 21:06:58 +01:00
Alexander Shabalin 0a25eac957 Fix runtime tests dependencies (#4527) 2020-11-28 21:01:55 +01:00
Alexander Shabalin ee508efb23 Add a switch to destroy runtime only on shutdown (#4482) 2020-11-28 21:01:54 +01:00
Alexander Shabalin 91186b4145 Extract Kotlin_shutdownRuntime (#4497) 2020-11-28 20:56:41 +01:00
SvyatoslavScherbina 3e92699962 Fix MutableMap.entries.contains(Map.Entry)
#KT-42428 Fixed.
2020-11-28 20:56:38 +01:00
Campbell Jones 4c9bbe54d4 Improve compatibility with newer GCC+Clang, resolve some warnings 2020-11-28 20:53:03 +01:00
Abduqodiri Qurbonzoda d2ef5ebb51 Promote CancellationException to stable #KT-41837
(cherry picked from commit c2e2763308f7b40dc87876ce223a667741f05413)
2020-11-28 20:51:02 +01:00
Alexander Shabalin 8dc5b95337 Move main thread check to legacy mm (#4483) 2020-11-28 20:48:59 +01:00
Alexander Shabalin 4297b521e4 Remove unneeded zeroing TLS (#4480) 2020-11-28 20:48:55 +01:00
Alexander Shabalin 1a97a6ca1a Remove unneeded ArraysTest.cpp (#4479) 2020-11-28 20:47:34 +01:00
SvyatoslavScherbina 47c606f1eb Wrap worker jobs to autoreleasepool
#KT-42822 Fixed.
2020-11-28 19:44:18 +01:00
Stanislav Erokhin f624800b84 Move everything under kotlin-native folder
I was forced to manually do update the following files, because otherwise
they would be ignored according .gitignore settings. Probably they
should be deleted from repo.

Interop/.idea/compiler.xml
Interop/.idea/gradle.xml
Interop/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_runtime_1_0_3.xml
Interop/.idea/libraries/Gradle__org_jetbrains_kotlin_kotlin_stdlib_1_0_3.xml
Interop/.idea/modules.xml
Interop/.idea/modules/Indexer/Indexer.iml
Interop/.idea/modules/Runtime/Runtime.iml
Interop/.idea/modules/StubGenerator/StubGenerator.iml
backend.native/backend.native.iml
backend.native/bc.frontend/bc.frontend.iml
backend.native/cli.bc/cli.bc.iml
backend.native/cli.bc/src/org/jetbrains/kotlin/cli/bc/K2Native.kt
backend.native/cli.bc/src/org/jetbrains/kotlin/cli/bc/K2NativeCompilerArguments.kt
backend.native/tests/link/lib/foo.kt
backend.native/tests/link/lib/foo2.kt
backend.native/tests/teamcity-test.property
2020-10-27 21:00:28 +03:00