question: static boolean isTenured ( MemoryPoolMXBean memoryPoolMXBean ) { if ( memoryPoolMXBean . getType ( ) != MemoryType . HEAP ) { return false ; } String name = memoryPoolMXBean . getName ( ) ; return name . equals ( "CMS Old Gen" ) || name . equals ( "PS Old Gen" ) || name . equals ( "G1 Old Gen" ) || name . equals ( "Old Space" ) || name . equals ( "Tenured Gen" ) || name . equals ( "Java heap" ) || name . equals ( "GenPauseless Old Gen" ) || ( HEAP_POOL != null && name . equals ( HEAP_POOL ) ) ; }
target:  Determines if the name of the memory pool MXBean provided matches a list of known tenured pool names. Package private for testing.