equal
deleted
inserted
replaced
1952 } |
1952 } |
1953 |
1953 |
1954 bool InstanceKlass::should_store_fingerprint() { |
1954 bool InstanceKlass::should_store_fingerprint() { |
1955 #if INCLUDE_AOT |
1955 #if INCLUDE_AOT |
1956 // We store the fingerprint into the InstanceKlass only in the following 2 cases: |
1956 // We store the fingerprint into the InstanceKlass only in the following 2 cases: |
1957 if (EnableJVMCI && !UseJVMCICompiler) { |
1957 if (CalculateClassFingerprint) { |
1958 // (1) We are running AOT to generate a shared library. |
1958 // (1) We are running AOT to generate a shared library. |
1959 return true; |
1959 return true; |
1960 } |
1960 } |
1961 if (DumpSharedSpaces) { |
1961 if (DumpSharedSpaces) { |
1962 // (2) We are running -Xshare:dump to create a shared archive |
1962 // (2) We are running -Xshare:dump to create a shared archive |