I\'m developing an application that generates and compiles classes at runtime. This will sometimes create huge amounts of generated code.
With one of our test cases,
http://en.wikipedia.org/wiki/Java_class_file#The_constant_pool
The constant pool includes numbers, strings, method names, field names, class names, references to classes and methods...basically everything.
There can be at most 65536 of them.