PATCH make _Jv_Uf8Const a class;
Per Bothner
per@bothner.com
Wed Aug 11 17:20:00 GMT 2004
This patch turns _Jv_Utf8Const into a class with private
fields and accessor methods. This should ease any future
change of the representation, as I discussed in an earlier
message. (I'm not actually planning on making such a change.)
The redundant hash8/hash16/hash32 methods are to allow experimenting
with removing or changing the size of the hash field, and evaluating
the consequences in other parts of the run-time.
As a related change, I re-did how the verifier allocates temporary
_Jv_Utf8Const objects and then frees them. This should be quite
a bit more efficient.
Before checking this in I'd like atleast Tom to look at the patch.
--
--Per Bothner
per@bothner.com http://per.bothner.com/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: utf8const.patch
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040811/d8a20cc2/attachment.ksh>
More information about the Java-patches
mailing list