hotspot/src/share/vm/oops/instanceKlass.cpp
changeset 46553 7030aea81558
parent 46505 fd4bc78630b1
child 46560 388aa8d67c80
equal deleted inserted replaced
46552:5cebeef576b2 46553:7030aea81558
  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