fdo#75741: Share the context objects to avoid poor performance.

Change-Id: I1015dbfa9e2220cd23244dae17ee8dc4828c6a67