code: public GarbageCollectorMXBean getTenuredCollectorMXBean() {
          GarbageCollectorMXBean bean = 
              this.getGarbageCollectorMXBean(this.tenuredCollector);
          if (bean != null) { return bean; }
          
          for (GarbageCollectorMXBean bean2 : getGarbageCollectorMXBeans()) {
              for (String pool : bean2.getMemoryPoolNames()) {
                  for (String name : this.tenuredGen) {
                      if (pool.equals(name)) {
                          return bean2;
                      }
                  }
              }
          }
      
          return null;
      }
docs: Get the {@link GarbageCollectorMXBean} that is associated with the old or
  tenured generations collection.  The same collector may also be
  associated with young generations. This  returns the collector that has
  the configured <code>TenuredCollector</code> name.  If no collector has
  been configured, then this attempts to return the first collector that
  includes the tenured generation based on the <code>TenuredGen</code>
  configuration or one of the known defaults.  If no collector is found,
  then <code>null</code> is returned.
  
  @return The tenured generation collector or <code>null</code>
  
  @see #setTenuredCollector(String)
  @see #getTenuredMemoryPoolMXBean()
  @see #getGarbageCollectorMXBean(String)
  @see #getGarbageCollectorMXBeans()
  
  @see #TENURED_GENERATION_POOLS