8181823: [AOT] jaotc doesn't work with Graal

Add new flag to indicate when to calculate class fingerprint

Reviewed-by: iklam, iveresov
This commit is contained in:
Vladimir Kozlov 2017-06-21 10:28:27 -07:00
parent 8041519b2e
commit dd676c3a98
4 changed files with 6 additions and 1 deletions

View file

@ -1954,7 +1954,7 @@ bool InstanceKlass::supers_have_passed_fingerprint_checks() {
bool InstanceKlass::should_store_fingerprint() {
#if INCLUDE_AOT
// We store the fingerprint into the InstanceKlass only in the following 2 cases:
if (EnableJVMCI && !UseJVMCICompiler) {
if (CalculateClassFingerprint) {
// (1) We are running AOT to generate a shared library.
return true;
}