Truffle compilation problem

Michael Haupt michael.haupt at oracle.com
Wed May 28 12:39:47 UTC 2014


Hi Chris,

Am 28.05.2014 um 09:59 schrieb Chris Seaton <chris at chrisseaton.com>:
> You're calling HashMap containsKey - can you try wrapping that call in SlowPath?

well, in all of our code there is only *one* such call, and that is made during library loading, i.e., before compilation should even bother kicking in. The compilation is also not one of any of the library functions, but one of an application function.

This was part of my question: where in our code could this call originate? The stack trace ends with the containsKey() call, and I cannot trace that back to any of the FastR sources.

> I've had trouble in the past compiling some of the hash map methods. I put them all under SlowPath at the moment - also because they're generally very big to inline each time.

That may be a worthwhile strategy ... still, I wonder where the problem actually is.

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