I get this with a lot of different jtreg tests. One example is:
on solaris x64 with -Xcomp
# A fatal error has been detected by the Java Runtime Environment:
# Internal Error (/space/rw140007/jdk9-repo/hotspot/src/share/vm/opto/memnode.cpp:1659), pid=10593, tid=16
# assert(adr->is_AddP() && adr->in(AddPNode::Offset)->is_Con()) failed: offset is a constant
I'm using an old JDK8 build (b119) with latest hotspot from hotspot-comp.