mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8253900: SA: wrong size computation when JVM was built without AOT
Reviewed-by: cjplummer, sspitsyn
This commit is contained in:
parent
2bc8bc5722
commit
b1448da109
6 changed files with 25 additions and 3 deletions
|
@ -316,6 +316,11 @@ public class InstanceKlass extends Klass {
|
|||
}
|
||||
|
||||
public boolean hasStoredFingerprint() {
|
||||
// has_stored_fingerprint() @ instanceKlass.cpp can return true only if INCLUDE_AOT is
|
||||
// set during compilation.
|
||||
if (!VM.getVM().hasAOT()) {
|
||||
return false;
|
||||
}
|
||||
return shouldStoreFingerprint() || isShared();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue