[aarch64-port-dev ] AARCH64: 8064611: Changes to HotSpot shared code

David Holmes david.holmes at oracle.com
Wed Dec 10 11:34:29 UTC 2014


On 10/12/2014 8:59 PM, Andrew Haley wrote:
> http://cr.openjdk.java.net/~aph/aarch64-8064611-5/

src/share/vm/opto/memnode.hpp

Won't the unconditional return for aarch64 cause unreachable code warnings?

src/share/vm/opto/parse3.cpp
src/share/vm/opto/library_call.cpp

I'm not a C2 person but it seems strange to me that in one place if not 
using barriers for volatile you do nothing; whereas in the other place 
you insert Op_MemBarCPUOrder ??

src/share/vm/runtime/globals.hpp

Shouldn't UseBarriersForVolatile only be false on aarch64 ??

Thanks,
David

> I think that I have addressed every point that has been made on this
> rather long thread.  The most important change is that the AArch64
> port now no longer requires a code cache limit of 128Mb, but I have
> still included an arch-specific way to limit the default code cache
> size.  The logic behind this is that the extra trampoline stubs (and
> the far branches in non-trampoline case) significantly bloat the
> generated code and cause us to reach the point where we have to use
> the trampolines more quickly.
>
> So, there are now two #defines which can be overridden by targets:
> CODE_CACHE_DEFAULT_LIMIT and CODE_CACHE_SIZE_LIMIT.
>
> Thanks,
> Andrew.
>


More information about the aarch64-port-dev mailing list