Skip to content
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

Remove atomic setter transformers #428

Merged
merged 6 commits into from
Jan 8, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix for Java 8
Signed-off-by: Evgeniy Moiseenko <[email protected]>
  • Loading branch information
eupp committed Nov 27, 2024
commit f5f8bc011393bae7bb64a23aa72c617cf8e630ea
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ The following interleaving leads to the error:
| SuspendTraceReportingTest#1.lock.lockSuspend(null): COROUTINE_SUSPENDED at MutexImpl.lock$suspendImpl(Mutex.kt:172) | |
| acquire(<cont>) at MutexImpl.lockSuspend(Mutex.kt:177) | |
| <cont>.getResult(): COROUTINE_SUSPENDED at MutexImpl.lockSuspend(Mutex.kt:321) | |
| isReusable(): false at CancellableContinuationImpl.getResult(CancellableContinuationImpl.kt:297) | |
| trySuspend(): true at CancellableContinuationImpl.getResult(CancellableContinuationImpl.kt:300) | |
| getParentHandle(): null at CancellableContinuationImpl.getResult(CancellableContinuationImpl.kt:310) | |
| installParentHandle(): ChildContinuation#1 at CancellableContinuationImpl.getResult(CancellableContinuationImpl.kt:311) | |
Expand Down Expand Up @@ -94,6 +95,8 @@ Detailed trace:
| _state.get(): Active#1 at CancellableContinuationImpl.invokeOnCancellationImpl(CancellableContinuationImpl.kt:403) | |
| _state.compareAndSet(Active#1,SemaphoreSegment#1): true at CancellableContinuationImpl.invokeOnCancellationImpl(CancellableContinuationImpl.kt:407) | |
| <cont>.getResult(): COROUTINE_SUSPENDED at MutexImpl.lockSuspend(Mutex.kt:321) | |
| isReusable(): false at CancellableContinuationImpl.getResult(CancellableContinuationImpl.kt:297) | |
| resumeMode.READ: 1 at CancellableContinuationImpl.isReusable(CancellableContinuationImpl.kt:141) | |
| trySuspend(): true at CancellableContinuationImpl.getResult(CancellableContinuationImpl.kt:300) | |
| _decisionAndIndex.get(): 0 at CancellableContinuationImpl.trySuspend(CancellableContinuationImpl.kt:0) | |
| _decisionAndIndex.compareAndSet(0,536870912): true at CancellableContinuationImpl.trySuspend(CancellableContinuationImpl.kt:278) | |
Expand Down Expand Up @@ -122,16 +125,23 @@ Detailed trace:
| | <cont>.tryResume(Unit#1,null,tryResume$token$1#1): <RESUME_TOKEN> at MutexImpl$CancellableContinuationWithOwner.tryResume(Mutex.kt:258) |
| | tryResumeImpl(Unit#1,null,tryResume$token$1#1): <RESUME_TOKEN> at CancellableContinuationImpl.tryResume(CancellableContinuationImpl.kt:582) |
| | _state.get(): SemaphoreSegment#1 at CancellableContinuationImpl.tryResumeImpl(CancellableContinuationImpl.kt:0) |
| | resumeMode.READ: 1 at CancellableContinuationImpl.tryResumeImpl(CancellableContinuationImpl.kt:540) |
| | _state.compareAndSet(SemaphoreSegment#1,CompletedContinuation#1): true at CancellableContinuationImpl.tryResumeImpl(CancellableContinuationImpl.kt:541) |
| | detachChildIfNonResuable() at CancellableContinuationImpl.tryResumeImpl(CancellableContinuationImpl.kt:542) |
| | isReusable(): false at CancellableContinuationImpl.detachChildIfNonResuable(CancellableContinuationImpl.kt:565) |
| | resumeMode.READ: 1 at CancellableContinuationImpl.isReusable(CancellableContinuationImpl.kt:141) |
| | detachChild$kotlinx_coroutines_core() at CancellableContinuationImpl.detachChildIfNonResuable(CancellableContinuationImpl.kt:565) |
| | getParentHandle(): ChildContinuation#1 at CancellableContinuationImpl.detachChild$kotlinx_coroutines_core(CancellableContinuationImpl.kt:572) |
| | _parentHandle.get(): ChildContinuation#1 at CancellableContinuationImpl.getParentHandle(CancellableContinuationImpl.kt:106) |
| | ChildContinuation#1.dispose() at CancellableContinuationImpl.detachChild$kotlinx_coroutines_core(CancellableContinuationImpl.kt:573) |
| | getJob(): JobImpl#1 at JobNode.dispose(JobSupport.kt:1351) |
| | job.READ: JobImpl#1 at JobNode.getJob(JobSupport.kt:1348) |
| | _parentHandle.set(NonDisposableHandle#1) at CancellableContinuationImpl.detachChild$kotlinx_coroutines_core(CancellableContinuationImpl.kt:574) |
| | owner.get(): <NO_OWNER> at MutexImpl$CancellableContinuationWithOwner.tryResume(Mutex.kt:264) |
| | owner.set(null) at MutexImpl$CancellableContinuationWithOwner.tryResume(Mutex.kt:265) |
| | <cont>.completeResume(<RESUME_TOKEN>) at SemaphoreImpl.tryResumeAcquire(Semaphore.kt:349) |
| | <cont>.completeResume(<RESUME_TOKEN>) at MutexImpl$CancellableContinuationWithOwner.completeResume(Mutex.kt:0) |
| | resumeMode.READ: 1 at CancellableContinuationImpl.completeResume(CancellableContinuationImpl.kt:590) |
| | dispatchResume(1) at CancellableContinuationImpl.completeResume(CancellableContinuationImpl.kt:590) |
| | tryResume(): false at CancellableContinuationImpl.dispatchResume(CancellableContinuationImpl.kt:472) |
| | _decisionAndIndex.get(): 536870912 at CancellableContinuationImpl.tryResume(CancellableContinuationImpl.kt:0) |
Expand Down