Comments (6)
Because of low level instrumentation AProf should avoid using extra locks in runtime support code e.g.ClassInfoCache should be nonblocking cache
from aprof.
AProf build 30
from aprof.
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.
Even though I have a general idea on how to fix it... Better be able to verify a fix.
from aprof.
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.
It works so far as expected (when I used aprof with debugger, deadlock was reproducible in 50% of launches)
from aprof.
Related Issues (14)
- java-allocation-instrumenter HOT 4
- AProfTransformer - java.lang.ArrayIndexOutOfBoundsException: 15 HOT 4
- Percent format
- aprof not able to initialize the LocationStack
- make constructor instrumentation optional
- Flame chart visualization
- aprof does not work with Java 11
- java.lang.VerifyError on start: Bad <init> method call from after the start of a try block HOT 6
- AProf exception in AProfOps.allocateSize HOT 1
- AProf failed to process simple enum class HOT 1
- java.lang.VerifyError: Stack map does not match the one at exception handler HOT 3
- #1 top location is <unknown> HOT 2
- VerifyError in Java 1.8.0_121 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aprof.