-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 1.6.0-RC #3035
Merged
Merged
Version 1.6.0-RC #3035
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
By doing this DebugProbesImpl can check for static installation without having to depend on AgentPremain, which is not compatible with Android. Co-authored-by: Pierfrancesco Soffritti <[email protected]>
* Update CoroutineScope() factory documentation Fixes #2891
…e IDEA debugger in one call (#2923) Co-authored-by: Nikita Nazarov <[email protected]> Co-authored-by: Nikita Nazarov <[email protected]>
* Introduce CloseableCoroutineDispatcher abstract class * Alias it to ExecutorCoroutineDispatcher on JVM as the most appropriate candidate * Add abstract classes to JVM and Native * This class will be implemented by new dispatchers for K/N new memory model Co-authored-by: dkhalanskyjb <[email protected]>
* We state that it's deprecated since the initial release of CoroutineScheduler * It is an additional DEX load for Android
… in a JSON format (#2933)
* Add version file to each module resources * The approach with "Specification-Version" in Manifest doesn't work because Android merges all JARs into a single resource, trimming all the manifests Fixes #2941
* Update binary compatibility validator * Fix race in testFuturePropagatesExceptionToParentAfterCancellation
Change the build scripts and the file layout so that kotlinx-coroutines-test is built on all platforms.
* transformWhile * awaitClose and ProducerScope (for callbackFlow and channelFlow) * merge * runningFold, runningReduce, and scan
….IO unbounded for limited parallelism (#2918) * Introduce CoroutineDispatcher.limitedParallelism for granular concurrency control * Elastic Dispatchers.IO: * Extract Ktor-obsolete API to a separate file for backwards compatibility * Make Dispatchers.IO being a slice of unlimited blocking scheduler * Make Dispatchers.IO.limitParallelism take slices from the same internal scheduler Fixes #2943 Fixes #2919
Fixes the R8 ServiceLoader optimization that broke in the R8 bundled in the new AGP. For details, see https://issuetracker.google.com/issues/196302685
* It supports Apple M1 since 5.7: https://github.com/java-native-access/jna/blob/master/CHANGES.md#features-3 Fixes #3001
* Update coroutines-guide.md "kotlinx.coroutines guide" Google search first result still leads here and it would be nice to guide people directly to kotlinlang Co-authored-by: dkhalanskyjb <[email protected]>
…s always compile (#3019) * Invoke jmhJar as a part of the build procedure to ensure that benchmarks always compile
…2833) * Support of new K/N memory model * Dispatchers.Default backed by a pool of workers on Linux and by global_queue on iOS-like * Implementation of Dispatchers.Main that uses the main queue on iOS and default dispatcher on other platforms (#2858) * Introduced newSingleThreadDispatcher and newFixedThreadPoolDispatcher * Use proper reentrant locking and CoW arrays on new memory model, make TestBase _almost_ race-free * More thread-safety in Native counterpart and one more test from native-mt * Source-set sharing for tests shared between JVM and K/N * Wrap Obj-C interop into autorelease pool to avoid memory leaks Fixes #2914 Co-authored-by: dkhalanskyjb <[email protected]>
… recovery (#2997) * Use ClassValue-based cache for exception constructors with stacktrace recovery * It eliminates the classloader leak in containerized environments * Insignificantly improves the performance of exception copying * Creates a precedent of guarded use of non-Android-compliant API Co-authored-by: dkhalanskyjb <[email protected]>
* Get rid of DCSS (double compare single swap) primitive in JobSupport in order to reduce both b binary size and performance of list addition Co-authored-by: SokolovaMaria <[email protected]> Co-authored-by: Vsevolod Tolstopyatov <[email protected]>
#3017) * Improve exception transparency: explicitly allow throwing exceptions from the upstream when the downstream has been failed, suppress the downstream exception by the new one, but still ignore it in the exception handling operators, that still consider the flow failed. It solves the problem of graceful shutdown: when the upstream fails unwillingly (e.g. `file.close()` has thrown in `finally` block), we cannot treat it as an exception transparency violation (hint: `finally` is a shortcut for `catch` + body that rethrows in the end), but we also cannot leave things as is, otherwise, it leads to unforeseen consequences such as successful `retry` and `catch` operators that may, or may not, then fail with an exception on an attempt to emit. Upstream exception supersedes the downstream exception only if it is not an instance of `CancellationException`, semantically emulating cancellation-friendly 'use' block. Fixes #2860
…ine()`. (#3025) * This is a `ThreadContextElement` that is copy-constructed when a new coroutine is created and inherits the context. Co-authored-by: Tyson Henning <[email protected]> Fixes #2839
* Use Dispatchers.Main as default delay source where applicable It reduces the number of redundant threads in the system and makes time source predictable across Android/JavaFx applications Fixes #2972
* Update Kotlin to 1.6.0 * Update atomicfu to 0.17.0
* Try to trim memory usage of Dokka and Lincheck * Disable failing test * Do avoid concurrent-unsafe Collections.toList for working with ConcurrentWeakMap.keySet * Do join weakRefCleanerThread in DebugProbes.uninstall Otherwise, multiple pairs of install + uninstall may leave multiple cleanup threads in the state when the map is already cleaned up, but its size is not Fixes #3028
This commit introduces the new version of the test module. Please see README.md and MIGRATION.md for a thorough discussion of the changes. Fixes #1203 Fixes #1609 Fixes #2379 Fixes #1749 Fixes #1204 Fixes #1390 Fixes #1222 Fixes #1395 Fixes #1881 Fixes #1910 Fixes #1772 Fixes #1626 Fixes #1742 Fixes #2082 Fixes #2102 Fixes #2405 Fixes #2462 Co-authored-by: Vsevolod Tolstopyatov <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only reviewed the CHANGES.md
file. Do I need to look at anything else?
qwwdfsad
force-pushed
the
version-1.6.0-RC
branch
from
November 22, 2021 08:43
133bd00
to
b145641
Compare
dkhalanskyjb
approved these changes
Nov 22, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.