64 bit and safepoint polling

Tom Rodriguez tom.rodriguez at oracle.com
Wed Sep 22 10:15:00 PDT 2010

No it doesn't work correctly.  I think I filed a bug about this a little while ago but I can't find it at the moment.  The code should just be updated to handle it properly though we'd really like to ensure that it isn't far away since it makes the polling code sequence a lot worse.  I'd considered something like allocating the polling page out of the code cache to make sure it's near but that doesn't work that well if we use large pages for the code cache.  Maybe there's a way to make it work though.  Have you hit this problem?


On Sep 22, 2010, at 9:47 AM, Chuck Rasbold wrote:

> In a 64 bit JVM, when the polling page is more than a 32 displacement from the codeCache, does the code generated by C2 for safepoint polling work correctly?
> If not, should there be a guarantee in JVM startup about the maximum displacement supported?
> -- Chuck

More information about the hotspot-compiler-dev mailing list