This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: Remove exception catching from normal path in Arrays.equals.


>>>>> "David" == David Daney <ddaney@avtrex.com> writes:

David> Currently all variants of java.util.Arrays.equals() catch
David> NullPointerExceptions to detect null valued parameters.  In one
David> of our programs this is a fairly common case and the
David> throw/catch overhead was significant.

This has bugged me too -- thanks.  This can go in once your paperwork
clears...  I gather that shouldn't be long now.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]