CompL-Research / stava

Stava is a static program analysis for identifying stack allocable objects of code written in Java 8
7 stars 6 forks source link

Correct BCI for NewArray and NewMultiArray Statements and Fix DaCapo #9

Closed dheeraj135 closed 3 years ago

dheeraj135 commented 3 years ago

Major Changes:

  1. Use Correct BCI for New Array and New MultiArray Statements.
  2. Change Output Format
  3. Print only Internal object types.
  4. Fix Dacapo issues ( don't analyse JDK and fix Null/ OutofBounds errors. )
dheeraj135 commented 3 years ago

Further changes:

  1. Use com.apache. instead of com.apache. Also, excluded the jdk. classes.
  2. We should use ConcurrentHashMap instead of standard thread-unsafe HashMap because multiple threads change the HashMap at the same time.
dheeraj135 commented 3 years ago

I am merging this PR. If we find some issue, we can always fix it later.