overriding NewObject snippets

Deneau, Tom tom.deneau at amd.com
Wed Sep 11 08:32:08 PDT 2013


Doug --

Right, your answer to Vasanth made sense for my question as well.

Are there any existing overrides of the GraalCodeCacheProvider class that we can look at as templates?

-- Tom

-----Original Message-----
From: Doug Simon [mailto:doug.simon at oracle.com] 
Sent: Wednesday, September 11, 2013 10:06 AM
To: Deneau, Tom
Cc: graal-dev at openjdk.java.net
Subject: Re: overriding NewObject snippets

This is related to the message I sent about http://cr.openjdk.java.net/~tdeneau/graal-webrevs/webrev-r15changes/webrev/.

There needs to be separate GraalCodeCacheProvider subclass for HSAIL that defines and uses it's own snippets. It can always delegate to the HotSpotRuntime snippets but I suspect most of theme won't be reusable for HSAIL.

-Doug

On Sep 11, 2013, at 1:06 AM, "Deneau, Tom" <tom.deneau at amd.com> wrote:

> For the HSAIL backend,  I want to override some of the existing NewObjectSnippets with some different java code.
> What is the right way to do this?
> 
> -- Tom





More information about the graal-dev mailing list