sun.jvm.hotspot.debugger.cdbg.CDebugger Java Examples

The following examples show how to use sun.jvm.hotspot.debugger.cdbg.CDebugger. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: InstanceConstructor.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
protected WrongTypeException newWrongTypeException(Address addr) {
  String message = "No suitable match for type of address " + addr;
  CDebugger cdbg = VM.getVM().getDebugger().getCDebugger();
  if (cdbg != null) {
    // Most common case: V-table pointer is the first field
    Address vtblPtr = addr.getAddressAt(0);
    LoadObject lo = cdbg.loadObjectContainingPC(vtblPtr);
    if (lo != null) {
      ClosestSymbol symbol = lo.closestSymbolToPC(vtblPtr);
      if (symbol != null) {
        message += " (nearest symbol is " + symbol.getName() + ")";
      }
    }
  }

  return new WrongTypeException(message);
}
 
Example #2
Source File: InstanceConstructor.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
protected WrongTypeException newWrongTypeException(Address addr) {
  String message = "No suitable match for type of address " + addr;
  CDebugger cdbg = VM.getVM().getDebugger().getCDebugger();
  if (cdbg != null) {
    // Most common case: V-table pointer is the first field
    Address vtblPtr = addr.getAddressAt(0);
    LoadObject lo = cdbg.loadObjectContainingPC(vtblPtr);
    if (lo != null) {
      ClosestSymbol symbol = lo.closestSymbolToPC(vtblPtr);
      if (symbol != null) {
        message += " (nearest symbol is " + symbol.getName() + ")";
      }
    }
  }

  return new WrongTypeException(message);
}
 
Example #3
Source File: InstanceConstructor.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
protected WrongTypeException newWrongTypeException(Address addr) {
  String message = "No suitable match for type of address " + addr;
  CDebugger cdbg = VM.getVM().getDebugger().getCDebugger();
  if (cdbg != null) {
    // Most common case: V-table pointer is the first field
    Address vtblPtr = addr.getAddressAt(0);
    LoadObject lo = cdbg.loadObjectContainingPC(vtblPtr);
    if (lo != null) {
      ClosestSymbol symbol = lo.closestSymbolToPC(vtblPtr);
      if (symbol != null) {
        message += " (nearest symbol is " + symbol.getName() + ")";
      }
    }
  }

  return new WrongTypeException(message);
}
 
Example #4
Source File: InstanceConstructor.java    From openjdk-jdk9 with GNU General Public License v2.0 6 votes vote down vote up
protected WrongTypeException newWrongTypeException(Address addr) {
  String message = "No suitable match for type of address " + addr;
  CDebugger cdbg = VM.getVM().getDebugger().getCDebugger();
  if (cdbg != null) {
    // Most common case: V-table pointer is the first field
    Address vtblPtr = addr.getAddressAt(0);
    LoadObject lo = cdbg.loadObjectContainingPC(vtblPtr);
    if (lo != null) {
      ClosestSymbol symbol = lo.closestSymbolToPC(vtblPtr);
      if (symbol != null) {
        message += " (nearest symbol is " + symbol.getName() + ")";
      }
    }
  }

  return new WrongTypeException(message);
}
 
Example #5
Source File: InstanceConstructor.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
protected WrongTypeException newWrongTypeException(Address addr) {
  String message = "No suitable match for type of address " + addr;
  CDebugger cdbg = VM.getVM().getDebugger().getCDebugger();
  if (cdbg != null) {
    // Most common case: V-table pointer is the first field
    Address vtblPtr = addr.getAddressAt(0);
    LoadObject lo = cdbg.loadObjectContainingPC(vtblPtr);
    if (lo != null) {
      ClosestSymbol symbol = lo.closestSymbolToPC(vtblPtr);
      if (symbol != null) {
        message += " (nearest symbol is " + symbol.getName() + ")";
      }
    }
  }

  return new WrongTypeException(message);
}
 
Example #6
Source File: InstanceConstructor.java    From openjdk-8-source with GNU General Public License v2.0 6 votes vote down vote up
protected WrongTypeException newWrongTypeException(Address addr) {
  String message = "No suitable match for type of address " + addr;
  CDebugger cdbg = VM.getVM().getDebugger().getCDebugger();
  if (cdbg != null) {
    // Most common case: V-table pointer is the first field
    Address vtblPtr = addr.getAddressAt(0);
    LoadObject lo = cdbg.loadObjectContainingPC(vtblPtr);
    if (lo != null) {
      ClosestSymbol symbol = lo.closestSymbolToPC(vtblPtr);
      if (symbol != null) {
        message += " (nearest symbol is " + symbol.getName() + ")";
      }
    }
  }

  return new WrongTypeException(message);
}
 
Example #7
Source File: InstanceConstructor.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
protected WrongTypeException newWrongTypeException(Address addr) {
  String message = "No suitable match for type of address " + addr;
  CDebugger cdbg = VM.getVM().getDebugger().getCDebugger();
  if (cdbg != null) {
    // Most common case: V-table pointer is the first field
    Address vtblPtr = addr.getAddressAt(0);
    LoadObject lo = cdbg.loadObjectContainingPC(vtblPtr);
    if (lo != null) {
      ClosestSymbol symbol = lo.closestSymbolToPC(vtblPtr);
      if (symbol != null) {
        message += " (nearest symbol is " + symbol.getName() + ")";
      }
    }
  }

  return new WrongTypeException(message);
}
 
Example #8
Source File: InstanceConstructor.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
protected WrongTypeException newWrongTypeException(Address addr) {
  String message = "No suitable match for type of address " + addr;
  CDebugger cdbg = VM.getVM().getDebugger().getCDebugger();
  if (cdbg != null) {
    // Most common case: V-table pointer is the first field
    Address vtblPtr = addr.getAddressAt(0);
    LoadObject lo = cdbg.loadObjectContainingPC(vtblPtr);
    if (lo != null) {
      ClosestSymbol symbol = lo.closestSymbolToPC(vtblPtr);
      if (symbol != null) {
        message += " (nearest symbol is " + symbol.getName() + ")";
      }
    }
  }

  return new WrongTypeException(message);
}
 
Example #9
Source File: LinuxDebuggerLocal.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public CDebugger getCDebugger() {
  if (cdbg == null) {
     String cpu = getCPU();
     if (cpu.equals("ia64") ) {
        // IA-64 is not supported because of stack-walking issues
        return null;
     }
     cdbg = new LinuxCDebugger(this);
  }
  return cdbg;
}
 
Example #10
Source File: BsdDebuggerLocal.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public CDebugger getCDebugger() {
  if (cdbg == null) {
     String cpu = getCPU();
     if (cpu.equals("ia64") ) {
        // IA-64 is not supported because of stack-walking issues
        return null;
     }
     cdbg = new BsdCDebugger(this);
  }
  return cdbg;
}
 
Example #11
Source File: BsdDebuggerLocal.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public CDebugger getCDebugger() {
  if (cdbg == null) {
     String cpu = getCPU();
     if (cpu.equals("ia64") ) {
        // IA-64 is not supported because of stack-walking issues
        return null;
     }
     cdbg = new BsdCDebugger(this);
  }
  return cdbg;
}
 
Example #12
Source File: LinuxDebuggerLocal.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public CDebugger getCDebugger() {
  if (cdbg == null) {
     String cpu = getCPU();
     if (cpu.equals("ia64") ) {
        // IA-64 is not supported because of stack-walking issues
        return null;
     }
     cdbg = new LinuxCDebugger(this);
  }
  return cdbg;
}
 
Example #13
Source File: BsdDebuggerLocal.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public CDebugger getCDebugger() {
  if (cdbg == null) {
     String cpu = getCPU();
     if (cpu.equals("ia64") ) {
        // IA-64 is not supported because of stack-walking issues
        return null;
     }
     cdbg = new BsdCDebugger(this);
  }
  return cdbg;
}
 
Example #14
Source File: BsdDebuggerLocal.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public CDebugger getCDebugger() {
  if (cdbg == null) {
     String cpu = getCPU();
     if (cpu.equals("ia64") ) {
        // IA-64 is not supported because of stack-walking issues
        return null;
     }
     cdbg = new BsdCDebugger(this);
  }
  return cdbg;
}
 
Example #15
Source File: LinuxDebuggerLocal.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public CDebugger getCDebugger() {
  if (cdbg == null) {
     String cpu = getCPU();
     if (cpu.equals("ia64") ) {
        // IA-64 is not supported because of stack-walking issues
        return null;
     }
     cdbg = new LinuxCDebugger(this);
  }
  return cdbg;
}
 
Example #16
Source File: LinuxDebuggerLocal.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public CDebugger getCDebugger() {
  if (cdbg == null) {
     String cpu = getCPU();
     if (cpu.equals("ia64") ) {
        // IA-64 is not supported because of stack-walking issues
        return null;
     }
     cdbg = new LinuxCDebugger(this);
  }
  return cdbg;
}
 
Example #17
Source File: BsdDebuggerLocal.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
public CDebugger getCDebugger() {
  if (cdbg == null) {
     String cpu = getCPU();
     if (cpu.equals("ia64") ) {
        // IA-64 is not supported because of stack-walking issues
        return null;
     }
     cdbg = new BsdCDebugger(this);
  }
  return cdbg;
}
 
Example #18
Source File: LinuxDebuggerLocal.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
public CDebugger getCDebugger() {
  if (cdbg == null) {
     String cpu = getCPU();
     if (cpu.equals("ia64") ) {
        // IA-64 is not supported because of stack-walking issues
        return null;
     }
     cdbg = new LinuxCDebugger(this);
  }
  return cdbg;
}
 
Example #19
Source File: LinuxDebuggerLocal.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public CDebugger getCDebugger() {
  if (cdbg == null) {
     String cpu = getCPU();
     if (cpu.equals("ia64") ) {
        // IA-64 is not supported because of stack-walking issues
        return null;
     }
     cdbg = new LinuxCDebugger(this);
  }
  return cdbg;
}
 
Example #20
Source File: BsdDebuggerLocal.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public CDebugger getCDebugger() {
  if (cdbg == null) {
     String cpu = getCPU();
     if (cpu.equals("ia64") ) {
        // IA-64 is not supported because of stack-walking issues
        return null;
     }
     cdbg = new BsdCDebugger(this);
  }
  return cdbg;
}
 
Example #21
Source File: BsdDebuggerLocal.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
public CDebugger getCDebugger() {
  if (cdbg == null) {
     String cpu = getCPU();
     if (cpu.equals("ia64") ) {
        // IA-64 is not supported because of stack-walking issues
        return null;
     }
     cdbg = new BsdCDebugger(this);
  }
  return cdbg;
}
 
Example #22
Source File: LinuxDebuggerLocal.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public CDebugger getCDebugger() {
  if (cdbg == null) {
     String cpu = getCPU();
     if (cpu.equals("ia64") ) {
        // IA-64 is not supported because of stack-walking issues
        return null;
     }
     cdbg = new LinuxCDebugger(this);
  }
  return cdbg;
}
 
Example #23
Source File: BsdDebuggerLocal.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public CDebugger getCDebugger() {
  if (cdbg == null) {
     String cpu = getCPU();
     if (cpu.equals("ia64") ) {
        // IA-64 is not supported because of stack-walking issues
        return null;
     }
     cdbg = new BsdCDebugger(this);
  }
  return cdbg;
}
 
Example #24
Source File: LinuxDebuggerLocal.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
public CDebugger getCDebugger() {
  if (cdbg == null) {
     String cpu = getCPU();
     if (cpu.equals("ia64") ) {
        // IA-64 is not supported because of stack-walking issues
        return null;
     }
     cdbg = new LinuxCDebugger(this);
  }
  return cdbg;
}
 
Example #25
Source File: DummyDebugger.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public CDebugger getCDebugger() throws DebuggerException {
  return null;
}
 
Example #26
Source File: DummyDebugger.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public CDebugger getCDebugger() throws DebuggerException {
  return null;
}
 
Example #27
Source File: DummyDebugger.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
public CDebugger getCDebugger() throws DebuggerException {
  return null;
}
 
Example #28
Source File: DummyDebugger.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public CDebugger getCDebugger() throws DebuggerException {
  return null;
}
 
Example #29
Source File: DummyDebugger.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
public CDebugger getCDebugger() throws DebuggerException {
  return null;
}
 
Example #30
Source File: DummyDebugger.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public CDebugger getCDebugger() throws DebuggerException {
  return null;
}