Page MenuHomePhabricator

After loading the effective Viewer during a VCS request, flag them for inline cache generation
ClosedPublic

Authored by epriestley on Jan 27 2021, 12:01 AM.
Tags
None
Referenced Files
F18783922: D21524.id51235.diff
Mon, Oct 13, 10:44 AM
F18593880: D21524.diff
Sep 12 2025, 4:16 PM
F18571483: D21524.id51235.diff
Sep 10 2025, 5:04 AM
F18571481: D21524.id51231.diff
Sep 10 2025, 5:04 AM
F17805224: D21524.diff
Jul 25 2025, 12:20 PM
F17706549: D21524.id51231.diff
Jul 16 2025, 12:51 PM
Unknown Object (File)
Apr 26 2025, 10:46 PM
Unknown Object (File)
Apr 25 2025, 3:38 PM
Subscribers
None

Details

Summary

Ref T13590. User objects have some inline caches that don't do readthrough generation by default because it may be indicative of high-impact performance problems in code.

During a VCS request, these caches are normally unnecessary, but they may be hit on some unusual pathways (like error handling).

Flag VCS users as okay for inline generation. This does not indicate a performance problem and access to these caches is very rare, at least today.

Test Plan
  • Executed a Git HTTP request which hit an unhandled exception (stuck write lock).
    • Before: got a second-level exception while handling the first exception, when trying to access user preferences to render a standard uncaught exception page.
    • After: no second-level exception.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable