Skip to content

Preparation for atomicfu JVM IR plugin application in 1.7.20 #3455

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

Merged
merged 5 commits into from
Sep 20, 2022

Conversation

mvicsokolova
Copy link
Contributor

@mvicsokolova mvicsokolova commented Sep 19, 2022

  • Integration test: excluded Metadata annotation while checking bytecode of class files (testNoAtomicfuInMppJar)

Used this solution instead of adding post transformation of metadata by AtomicfuGradlePlugin, because the problem is on the side of the compiler plugin: it transforms the backing field of the property, though the property itself remains in the metadata. So, when I'll fix that in the compiler plugin, there will be no atomicfu references left in the metadata.

  • Moved SegmentBasedQueue class that used inline atomic extension (findSegmentAndMoveForward) to the main module.

Here is the sample coroutines build with Integration Test step

Copy link
Collaborator

@qwwdfsad qwwdfsad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mvicsokolova mvicsokolova merged commit 7f557e9 into develop Sep 20, 2022
@mvicsokolova mvicsokolova deleted the atomicfu-jvm-ir-1.7.20 branch September 20, 2022 15:32
mvicsokolova added a commit that referenced this pull request Oct 12, 2022
* Fix for integration-testing:mavenTest:
exclude metadata when checking classes bytecode for ATOMIC_REF

* Moved SegmentBasedQueue implementation to the main module

* Removed SegmentListTest
mvicsokolova added a commit that referenced this pull request Oct 12, 2022
* Fix for integration-testing:mavenTest:
exclude metadata when checking classes bytecode for ATOMIC_REF

* Moved SegmentBasedQueue implementation to the main module

* Removed SegmentListTest
mvicsokolova added a commit that referenced this pull request Oct 13, 2022
* Fix for integration-testing:mavenTest:
exclude metadata when checking classes bytecode for ATOMIC_REF

* Moved SegmentBasedQueue implementation to the main module

* Removed SegmentListTest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants