Skip to content

Allocate Java objects from method stack instead of the program heap.

License

Notifications You must be signed in to change notification settings

stephengold/stack-alloc

Repository files navigation

stack-alloc

This is an adaptation of Martin Dvorak's 2008 stack-alloc project.

The source code was copied from https://github.com/gsimard/jbullet/tree/a98759025dbffa5dcdf77897c75f09b69a75279b, and Gradle build scripts were added.

This library consists of 2 packages:

  • cz.advel.stack.instrument - to instrument Java class files, and
  • cz.advel.stack - to allocate memory at runtime.

The instrumentation package depends on:

  • the "asm-all" library to manipulate Java bytecode, and
  • the "ant" library to interface with Apache Ant build tools.

External links