Enhance footprint for array initialization

Martin Buchholz martinrb at google.com
Wed Sep 3 19:12:50 PDT 2008


you are quite correct that the class file format is suboptimal for
storage of primitive arrays.  But the class file format is
one of the most difficult things to change.  It clearly requires
a JSR, for example.  You don't want to expend that kind of effort.

But for large amounts of data, you don't want to store it in
a class file anyways.  Define your own data format
and put your data super-compactly in a non-class file
in the JDK.  Study the ICU implementation for possible
inspiration.  And discuss your efforts in this direction in


More information about the hotspot-dev mailing list