[aarch64-port-dev ] RFR: 8204331: AArch64: fix CAS not embedded in normal graph error

Andrew Dinn adinn at redhat.com
Fri Jun 22 09:23:24 UTC 2018


On 22/06/18 09:26, Roland Westrelin wrote:
>> Is it possible to rely on an hsdis library being available in jtreg
>> tests? Alternatively, is it possible to make execution of the test
>> conditional on the library being present?
> 
> What about -XX:+PrintOptoAssembly? It doesn't need hsdis.
Ah yes, I forgot that was not dependent on hsdis. This would allow us to
generate assembler output with comments showing the presence or absence
of membars and the appropriate sequence of ld(x)r/st(x)r or lda(x)r or
stl(x)r instructions. The test driver could set things up to compile and
print a suitable test method in an othervm and check the othervm output
to ensure that the membar comments and generated instructions match up.

I'll work on implementing a jtreg test based on that but: I'd liek to do
that as a follow up to this fix.

regards,


Andrew Dinn
-----------
Senior Principal Software Engineer
Red Hat UK Ltd
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham, Michael ("Mike") O'Neill, Eric Shander


More information about the hotspot-dev mailing list