Giter VIP home page Giter VIP logo

Comments (6)

nicity avatar nicity commented on May 29, 2024

Because of low level instrumentation AProf should avoid using extra locks in runtime support code e.g.ClassInfoCache should be nonblocking cache

from aprof.

nicity avatar nicity commented on May 29, 2024

AProf build 30

from aprof.

elizarov avatar elizarov commented on May 29, 2024

Can you, please, create a small self-contained test to reproduce this problem?

P.S. Deadlock happes during transformation phase. The synchnonization is there for a reason. It ensures that class hierarchy information is loaded before transformation of a class. This deadlock means that this caching infrastructure has to be reworked and that is why a reproducible test is needed.

from aprof.

elizarov avatar elizarov commented on May 29, 2024

Even though I have a general idea on how to fix it... Better be able to verify a fix.

from aprof.

elizarov avatar elizarov commented on May 29, 2024

I've changed the classes meta-info cache to a more finer-grained locking and I'm not sure if that hepls. Try this one, please: https://dl.dropboxusercontent.com/u/29617270/aprof-31-SNAPSHOT-bin.zip

from aprof.

nicity avatar nicity commented on May 29, 2024

It works so far as expected (when I used aprof with debugger, deadlock was reproducible in 50% of launches)

from aprof.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.