Debugging NPE during CanonicalizerPhase

Michael Haupt michael.haupt at oracle.com
Wed Aug 7 01:43:30 PDT 2013


Hi Stefan,

Am 07.08.2013 um 08:41 schrieb Stefan Marr <java at stefan-marr.de>:
> On 07 Aug 2013, at 00:58, Andreas Woess <andreas.woess at jku.at> wrote:
>> Looks like a frame slot field in one of your nodes was null at compile
>> time and read as a constant value. I'll have a look at your code tomorrow.
> 
> That could well be.
> Are you suggesting that the frame slots should be initialize with a language value?

TruffleSOM being a Smalltalk implementation, all slots should be initialised with nil, right? An array fill operation should do, and Graal can nicely intrinsify those.

Best,

Michael

-- 


Dr. Michael Haupt | Principal Member of Technical Staff
Phone: +49 331 200 7277 | Fax: +49 331 200 7561
Oracle Labs 
Oracle Deutschland B.V. & Co. KG, Schiffbauergasse 14 | 14467 Potsdam, Germany
	Oracle is committed to developing practices and products that help protect the environment



More information about the graal-dev mailing list