Skip to content

TClass::GetClass hoards memory when called for numerical types #18536

@pcanal

Description

@pcanal

Check duplicate issues.

  • Checked for duplicates

Description

As reported at https://root-forum.cern.ch/t/repeatedly-mapping-branches-slowly-fills-memory/63412, TClass::GetClass("unsigned int") (either called directly or indirectly with a type_info) will hoard memory when doing look ups on unsigned int.

Reproducer

while(1)
   TClass::GetClass("unsigned int");

ROOT version

any v6 up to v6.36.00

Installation method

any

Operating system

any

Additional context

No response

Metadata

Metadata

Assignees

Type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions