RFR 8239782: CC_INTERP is only used by Zero interpreter

coleen.phillimore at oracle.com coleen.phillimore at oracle.com
Mon Jun 22 15:36:01 UTC 2020


Summary: Change CC_INTERP conditional to ZERO and remove in places where 
unnecessary. Fix build to exclude compilers and rename CppInterpreter to 
ZeroInterpreter. The "C++ Interpreter" has been removed from the code a 
while ago.

The motivation is to remove CC_INTERP conditionals from common code for 
the most part.  The C++ interpreter used to work with C1 and C2.  Some 
of the hooks are still present (can be cleaned out or implemented 
correctly later) but I removed some other unconditionally false code in 
order to remove interactions with common code.  Also it appeared that 
Zero was creating method counters when it was never using them.  I 
removed this too, hoping it would make zero faster, but nope, it's still 
slow.

I also renamed cppInterpreter and CppInterpreter to zeroInterpreter and 
ZeroInterpreter, respectively, and moved some code to cpu/zero. Thus 
ends pass 10? of cleaning up this code.

Tested with tier1 on Oracle platforms and built these: 
linux-arm32,linux-ppc64le-debug,linux-s390x-debug,linux-x64-zero,linux-x64-zero-debug. 
If you work on Zero, can you give this a test run with your favorite 
platform and review?

open webrev at http://cr.openjdk.java.net/~coleenp/2020/8239782.01/webrev
bug link https://bugs.openjdk.java.net/browse/JDK-8239782

Thanks,
Coleen



More information about the hotspot-runtime-dev mailing list