NullPointerException / threads

Andrew Haley aph@pasanda.cygnus.co.uk
Sat Apr 1 00:00:00 GMT 2000


> From: Godmar Back <gback@cs.utah.edu>
> Date: Tue, 14 Mar 2000 10:16:52 -0700 (MST)
> > > 
> > > Can you tell at SEGV-time if you're currently in the allocator?  If so,
> > > you could preallocate an 'emergency' exception+array
> > 
> > Right, but it may not help; If the SEGV was *caused* by heap
> > corruption we'd still crash even if the point at which the SEGV occurs
> > is in user code.
> 
> Isn't crashing what you want in this case?

Of course not.  I want a readable backtrace.

Andrew.


More information about the Java mailing list