initialize method

void initialize()

Initialise session memory by registering as a post-sampling hook.

Implementation

void initialize() {
  if (isRemoteMode()) return;
  if (!isAutoCompactEnabled()) return;
  // Hook registration would be done by the caller.
}