[JVM] examples/ecdsa.saw
slows on first run and fails to verify signHash
for OpenJDK 9+
#1819
Labels
performance
Issues that involve or include performance problems
subsystem: crucible-jvm
Issues related to Java verification with crucible-jvm
type: bug
Issues reporting bugs or unexpected/unwanted behavior
Milestone
On my first run of
examples/ecdsa/ecdsa.saw
in an Ubuntu 18.04 workspace with OpenJDK 17,set_unit
required about 22m29s to verify, andsignHash
failed while looking forchar[] value
in classjava/lang/Object
:Suspecting these might have something to do with Jigsaw (Open/JDK 9+), I adapted
Makefile
to use aJAVA_BIN
environment variable... (Note that this might not be portable to other platforms.) (Also note that thesignHash
failure is probably an instance of a known issue that remains open. The first run slowness might be known too, but I don't see a related issue.)...and reran the script after specifying OpenJDK 8, which still failed:
From here, I adapted
Makefile
to specify-b $JAVA_BIN
for SAW.....and reran the script, which succeeded this time:
I tried one more time with OpenJDK 17, which verified
set_unit
much more quickly (~5.17s), but failed to verifysignHash
for the same reason:I installed OpenJDK 11 and tried again, slowing on the first run and failing in the same way as for OpenJDK 17 (again probably because of crucible#641).
The text was updated successfully, but these errors were encountered: