static boolean hasMethodListener() {
static boolean hasMethodListener() throws VM_PragmaUninterruptible {
  static boolean hasMethodListener() {     VM_Listener[] tmp = methodListeners; // side-step dangerous race condition    for (int i=0; i<tmp.length; i++) {      if (tmp[i].isActive()) return true;    }    return false;  }