Expand description
Support for serializing the dep-graph and reloading it.
Modulesยง
- _dep_
kind_ ๐vtable_ ctors_ for_ queries - Declares a dep-kind vtable constructor for each query.
- dep_
kind_ ๐vtables - error ๐
- execution ๐
- job ๐
- plumbing ๐
- The implementation of the query system itself. This defines the macros that generate the actual methods on tcx which find and execute the provider, manage the caches, and so forth.
- profiling_
support ๐ - query_
impl ๐ - values ๐
Structsยง
- Query
JobMap - Map from query job IDs to job information collected by
collect_active_jobs_from_all_queries.
Constantsยง
- ALLOC_
SELF_ ๐PROFILE_ QUERY_ STRINGS - ENCODE_
QUERY_ ๐RESULTS - PER_
QUERY_ ๐GATHER_ ACTIVE_ JOBS_ FNS - Used by
collect_active_jobs_from_all_queriesto iterate over all queries, and gather the active jobs for each query. - QUERY_
KEY_ ๐HASH_ VERIFY
Traitsยง
- GetQueryV
Table ๐ - Trait that knows how to look up the
QueryVTablefor a particular query.
Functionsยง
- alloc_
self_ profile_ query_ strings - All self-profiling events generated by the query engine use
virtual
StringIds for theirevent_id. This method makes all those virtualStringIds point to actual strings. - break_
query_ cycles - Detects query cycles by using depth first search over all active query jobs. If a query cycle is found it will break the cycle by finding an edge which uses a query latch and then resuming that waiter. There may be multiple cycles involved in a deadlock, so this searches all active queries for cycles before finally resuming all the waiters at once.
- collect_
active_ jobs_ from_ all_ queries - Returns a map of currently active query jobs, collected from all queries.
- make_
dep_ kind_ vtables - make_
query_ vtables - print_
query_ stack - provide
- query_
key_ hash_ verify_ all - query_
system