Java Code Examples for sun.jvm.hotspot.debugger.Address#getCIntegerAt()
The following examples show how to use
sun.jvm.hotspot.debugger.Address#getCIntegerAt() .
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: GenericArray.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Gets the element at the given index. */ protected long getIntegerAt(int index) { if (index < 0 || index >= length()) throw new ArrayIndexOutOfBoundsException(index + " " + length()); Type elemType = getElemType(); if (!getElemType().isCIntegerType()) throw new RuntimeException("elemType must be of CInteger type"); Address data = getAddress().addOffsetTo(dataFieldOffset); long elemSize = elemType.getSize(); return data.getCIntegerAt(index * elemSize, elemSize, false); }
Example 2
Source File: GenericArray.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * Gets the element at the given index. */ protected long getIntegerAt(int index) { if (index < 0 || index >= length()) throw new ArrayIndexOutOfBoundsException(index + " " + length()); Type elemType = getElemType(); if (!getElemType().isCIntegerType()) throw new RuntimeException("elemType must be of CInteger type"); Address data = getAddress().addOffsetTo(dataFieldOffset); long elemSize = elemType.getSize(); return data.getCIntegerAt(index * elemSize, elemSize, false); }
Example 3
Source File: GenericArray.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * Gets the element at the given index. */ protected long getIntegerAt(int index) { if (index < 0 || index >= length()) throw new ArrayIndexOutOfBoundsException(index + " " + length()); Type elemType = getElemType(); if (!getElemType().isCIntegerType()) throw new RuntimeException("elemType must be of CInteger type"); Address data = getAddress().addOffsetTo(dataFieldOffset); long elemSize = elemType.getSize(); return data.getCIntegerAt(index * elemSize, elemSize, false); }
Example 4
Source File: GenericArray.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Gets the element at the given index. */ protected long getIntegerAt(int index) { if (index < 0 || index >= length()) throw new ArrayIndexOutOfBoundsException(index + " " + length()); Type elemType = getElemType(); if (!getElemType().isCIntegerType()) throw new RuntimeException("elemType must be of CInteger type"); Address data = getAddress().addOffsetTo(dataFieldOffset); long elemSize = elemType.getSize(); return data.getCIntegerAt(index * elemSize, elemSize, false); }
Example 5
Source File: GenericArray.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * Gets the element at the given index. */ protected long getIntegerAt(int index) { if (index < 0 || index >= length()) throw new ArrayIndexOutOfBoundsException(index + " " + length()); Type elemType = getElemType(); if (!getElemType().isCIntegerType()) throw new RuntimeException("elemType must be of CInteger type"); Address data = getAddress().addOffsetTo(dataFieldOffset); long elemSize = elemType.getSize(); return data.getCIntegerAt(index * elemSize, elemSize, false); }
Example 6
Source File: GenericArray.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Gets the element at the given index. */ protected long getIntegerAt(int index) { if (index < 0 || index >= length()) throw new ArrayIndexOutOfBoundsException(index + " " + length()); Type elemType = getElemType(); if (!getElemType().isCIntegerType()) throw new RuntimeException("elemType must be of CInteger type"); Address data = getAddress().addOffsetTo(dataFieldOffset); long elemSize = elemType.getSize(); return data.getCIntegerAt(index * elemSize, elemSize, false); }
Example 7
Source File: GenericArray.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Gets the element at the given index. */ protected long getIntegerAt(int index) { if (index < 0 || index >= length()) throw new ArrayIndexOutOfBoundsException(index + " " + length()); Type elemType = getElemType(); if (!getElemType().isCIntegerType()) throw new RuntimeException("elemType must be of CInteger type"); Address data = getAddress().addOffsetTo(dataFieldOffset); long elemSize = elemType.getSize(); return data.getCIntegerAt(index * elemSize, elemSize, false); }
Example 8
Source File: GenericArray.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * Gets the element at the given index. */ protected long getIntegerAt(int index) { if (index < 0 || index >= length()) throw new ArrayIndexOutOfBoundsException(index + " " + length()); Type elemType = getElemType(); if (!getElemType().isCIntegerType()) throw new RuntimeException("elemType must be of CInteger type"); Address data = getAddress().addOffsetTo(dataFieldOffset); long elemSize = elemType.getSize(); return data.getCIntegerAt(index * elemSize, elemSize, false); }