-
Notifications
You must be signed in to change notification settings - Fork 34
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
Byte-code transformation via a dynamically attached Java agent #296
Conversation
886880e
to
8c633dc
Compare
79ed0d3
to
09a2446
Compare
09a2446
to
cdac29d
Compare
src/jvm/main/org/jetbrains/kotlinx/lincheck/transformation/LincheckJavaAgent.kt
Outdated
Show resolved
Hide resolved
src/jvm/main/org/jetbrains/kotlinx/lincheck/transformation/LincheckJavaAgent.kt
Outdated
Show resolved
Hide resolved
…checkJavaAgent.kt Co-authored-by: Evgeniy Moiseenko <[email protected]> Signed-off-by: Nikita Koval <[email protected]>
…checkJavaAgent.kt Co-authored-by: Evgeniy Moiseenko <[email protected]> Signed-off-by: Nikita Koval <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
* ensure that the sequential specification class is always instrumented before starting verification Signed-off-by: Evgeniy Moiseenko <[email protected]>
* run intercepted continuation code inside ignored section Signed-off-by: Evgeniy Moiseenko <[email protected]>
* ensure verifier is called with LincheckJavaAgent installed Signed-off-by: Evgeniy Moiseenko <[email protected]>
* ensure verifier is called with LincheckJavaAgent installed Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
…kage Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
133164d
to
12ab98e
Compare
@@ -8,7 +8,7 @@ | |||
* with this file, You can obtain one at http://mozilla.org/MPL/2.0/. | |||
*/ | |||
|
|||
package org.jetbrains.kotlinx.lincheck | |||
package org.jetbrains.kotlinx.lincheck.transformation |
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.
Please check that there is only one UnsafeHolder
in the codebase and move it to the outer package -- it is now used not only for transformation.
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.
Moved it into util
package.
} | ||
} | ||
|
||
private fun readFieldViaUnsafe(obj: Any?, field: Field): Any? = |
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.
The same code is now used for the plugin, please keep only one version.
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.
Removed duplicate implementation, and put readFieldViaUnsafe
into util
package.
Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
Signed-off-by: Evgeniy Moiseenko <[email protected]>
No description provided.