improved shared-memory statistics