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

[RFC] Sanitizer support #42361

Open
xiangzhai opened this issue Sep 17, 2020 · 0 comments
Open

[RFC] Sanitizer support #42361

xiangzhai opened this issue Sep 17, 2020 · 0 comments

Comments

@xiangzhai
Copy link
Contributor

Hi,

There is too much noise coming from the original sanitizer lead False Positive: #553 (comment)

And OpenJDK met the same issue: https://bugs.openjdk.java.net/browse/JDK-8208520

So here comes:

  • TSan callbacks in the JVM - TSan provides a callback to handle moved object, and the TSan/Java implementation inserts this callback at appropriate places, such as garbage collectors.
  • Symbolization services for TSan reports - The JVM provides a public C++ function (TsanJavaSymbol) that allows a C++ or Java thread to call into the JVM and retrieve the method string associated with that token.

But disadvantage is the implementation is only done for the interpreter.

Any suggestion for dotnet runtime?

\cc @jkotas @steveharter

Thanks,
Leslie Zhai

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added area-Meta untriaged New issue has not been triaged by the area owner labels Sep 17, 2020
@ericstj ericstj added discussion and removed untriaged New issue has not been triaged by the area owner labels Sep 22, 2020
@ericstj ericstj added this to the Future milestone Sep 22, 2020
@ghost ghost added this to Needs triage in Triage POD for Meta, Reflection, etc Jan 29, 2021
@joperezr joperezr moved this from Needs triage to Future in Triage POD for Meta, Reflection, etc Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

3 participants