You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The following checks do not affect AOT adapters caching
511
+
// The following checks do not affect AOT code, but can disable
512
+
// AOT stub/adapters caching if they are incompatible with runtime settings
513
+
// (adapters too as they access oops when buffering scalarized value objects).
512
514
513
515
if (((_flags & compressedOops) != 0) != UseCompressedOops) {
514
-
log_debug(aot, codecache, init)("AOT Code Cache disabled: it was created with UseCompressedOops = %s", UseCompressedOops ? "false" : "true");
516
+
log_debug(aot, codecache, init)("AOT Stub/Adapter Cache disabled: it was created with UseCompressedOops = %s", UseCompressedOops ? "false" : "true");
515
517
AOTStubCaching = false;
518
+
if (InlineTypePassFieldsAsArgs) {
519
+
AOTAdapterCaching = false;
520
+
}
516
521
}
517
522
if (_compressedOopShift != (uint)CompressedOops::shift()) {
518
-
log_debug(aot, codecache, init)("AOT Code Cache disabled: it was created with different CompressedOops::shift(): %d vs current %d", _compressedOopShift, CompressedOops::shift());
523
+
log_debug(aot, codecache, init)("AOT Stub/Adapter Cache disabled: it was created with different CompressedOops::shift(): %d vs current %d", _compressedOopShift, CompressedOops::shift());
519
524
AOTStubCaching = false;
525
+
if (InlineTypePassFieldsAsArgs) {
526
+
AOTAdapterCaching = false;
527
+
}
520
528
}
521
529
522
-
// This should be the last check as it only disables AOTStubCaching
530
+
// This should be the last check as it only disables AOTStub/AdapterCaching
log_debug(aot, codecache, init)("AOTStubCaching is disabled: incompatible CompressedOops::base(): %p vs current %p", _compressedOopBase, CompressedOops::base());
532
+
log_debug(aot, codecache, init)("AOT Stub/Adapter Cache disabled: incompatible CompressedOops::base(): %p vs current %p", _compressedOopBase, CompressedOops::base());
0 commit comments