Java: Check null pointers

Andrew Haley aph@cambridge.redhat.com
Thu Mar 22 08:29:00 GMT 2001


This patch generates null pointer checks inline rather than assuming
that we have an MMU to signal memory faults when they happen. The
most obvious use for this is a processor that doesn't have an MMU, but
this also allows us to port more easily to new processors, and we
won't need to depend on -fasynchronous-exceptions or
-fsjlj-exceptions. This isn't adequate on its own because much of
libgcj is written in C++, so we'll need a similar patch for that
language.
This is a work in progress and I intend to change it over time, but as
this patch works with no regressions and is useful on its own I want
to put it into the trunk now.
Andrew.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /