I've updated the document on the ConstantRef / Constable API, and added more detail on constant folding and propagation optimizations: http://cr.openjdk.java.net/~briangoetz/amber/constables.html