Analysis of Java Unsafe Usage

In our analysis of the Java Unsafe API, we have investigated how Java's unsafe capabilities are used in real-world libraries and applications.

We have identified 14 different usage patterns of Java's unsafe capabilities, and we provide supporting evidence for why real-world code needs these capabilities. Our long-term goal is to provide a foundation for the design of new language features to regain safety in Java.

Source Repository



Presentation Slides