blob: 750a1163eb0637e817bf47453171ea62d9aec202 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (16) -->
<title>BufferedMemory (OpenJ9 JDK 16)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="declaration: module: openj9.dtfj, package: com.ibm.j9ddr.corereaders.memory, class: BufferedMemory">
<meta name="generator" content="javadoc/ClassWriterImpl">
<meta name="keywords" content="com.ibm.j9ddr.corereaders.memory.BufferedMemory class">
<meta name="keywords" content="getPlatform()">
<meta name="keywords" content="getAddressSpace()">
<meta name="keywords" content="getPointerAt()">
<meta name="keywords" content="bytesPerPointer()">
<meta name="keywords" content="getCommandLine()">
<meta name="keywords" content="getEnvironmentVariables()">
<meta name="keywords" content="getModules()">
<meta name="keywords" content="getExecutable()">
<meta name="keywords" content="getProcessId()">
<meta name="keywords" content="getProcedureNameForAddress()">
<meta name="keywords" content="getThreads()">
<meta name="keywords" content="getSignalNumber()">
<meta name="keywords" content="isFailingProcess()">
<meta name="keywords" content="getCore()">
<meta name="keywords" content="getProcesses()">
<meta name="keywords" content="getAddressSpaceId()">
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../../script-dir/jquery-3.5.1.min.js"></script>
<script type="text/javascript" src="../../../../../../script-dir/jquery-ui.min.js"></script>
</head>
<body class="class-declaration-page">
<script type="text/javascript">var evenRowColor = "even-row-color";
var oddRowColor = "odd-row-color";
var tableTab = "table-tab";
var activeTableTab = "active-table-tab";
var pathtoroot = "../../../../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar.top">
<div class="skip-nav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<div class="about-language"><div style="margin-top: 9px;"><strong>OpenJ9 JDK 16</strong></div></div>
<ul id="navbar.top.firstrow" class="nav-list" title="Navigation">
<li><a href="../../../../../../index.html">Overview</a></li>
<li><a href="../../../../../module-summary.html">Module</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="nav-bar-cell1-rev">Class</li>
<li><a href="class-use/BufferedMemory.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<div>
<ul class="sub-nav-list">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="sub-nav-list">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<div class="nav-list-search"><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip.navbar.top">
<!-- -->
</span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="sub-title"><span class="module-label-in-type">Module</span>&nbsp;<a href="../../../../../module-summary.html">openj9.dtfj</a></div>
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">com.ibm.j9ddr.corereaders.memory</a></div>
<h1 title="Class BufferedMemory" class="title">Class BufferedMemory</h1>
</div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link" target="_blank">java.lang.Object</a>
<div class="inheritance"><a href="SearchableMemory.html" title="class in com.ibm.j9ddr.corereaders.memory">com.ibm.j9ddr.corereaders.memory.SearchableMemory</a>
<div class="inheritance"><a href="AbstractMemory.html" title="class in com.ibm.j9ddr.corereaders.memory">com.ibm.j9ddr.corereaders.memory.AbstractMemory</a>
<div class="inheritance">com.ibm.j9ddr.corereaders.memory.BufferedMemory</div>
</div>
</div>
</div>
<section class="description">
<dl class="notes">
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="IAddressSpace.html" title="interface in com.ibm.j9ddr.corereaders.memory">IAddressSpace</a></code>, <code><a href="IMemory.html" title="interface in com.ibm.j9ddr.corereaders.memory">IMemory</a></code>, <code><a href="IProcess.html" title="interface in com.ibm.j9ddr.corereaders.memory">IProcess</a></code></dd>
</dl>
<hr>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">BufferedMemory</span>
<span class="extends-implements">extends <a href="AbstractMemory.html" title="class in com.ibm.j9ddr.corereaders.memory">AbstractMemory</a>
implements <a href="IProcess.html" title="interface in com.ibm.j9ddr.corereaders.memory">IProcess</a>, <a href="IAddressSpace.html" title="interface in com.ibm.j9ddr.corereaders.memory">IAddressSpace</a></span></div>
<div class="block">Object representing a single live
process model where a section of
memory in a the process can be represented
in a byte buffer as its source</div>
<dl class="notes">
<dt>See Also:</dt>
<dd><code>Can be used for inspection of the
scc, without the need of a core file
For example in the following, it is
used to inspect romMethods:
BufferedMemory memory = new BufferedMemory(ByteOrder.nativeOrder());
IVMData aVMData = VMDataFactory.getVMData((IProcess)memory);
//this address denotes the beginning of range of interest, not shown here
memory.addMemorySource(new BufferedMemorySource(sourceStartAddress, size));
aVMData.bootstrap("com.ibm.j9ddr.vm29.SomeDebugHandler");
public class SomeDebugHandler {
//can fetch this address from a ROMClass Cookie
J9ROMClassPointer pointer = J9ROMClassPointer.cast(romStartAddress);
J9ROMMethodPointer romMethod = pointer.romMethods();
long dumpFlags = (ByteOrder.nativeOrder() == ByteOrder.BIG_ENDIAN) ? 1 : 0;
J9BCUtil.j9bcutil_dumpRomMethod(System.out, romMethod, pointer, dumpFlags, J9BCUtil.BCUtil_DumpAnnotations);
}
Behaviour of the model is not defined
for the case where the underlying source's
ByteBuffer is modified (address or capacity)
during use.</code></dd>
</dl>
</section>
<section class="summary">
<ul class="summary-list">
<!-- =========== FIELD SUMMARY =========== -->
<li>
<section class="field-summary" id="field.summary">
<h2>Field Summary</h2>
<div class="inherited-list">
<h3 id="fields.inherited.from.class.com.ibm.j9ddr.corereaders.memory.AbstractMemory">Fields declared in class&nbsp;com.ibm.j9ddr.corereaders.memory.<a href="AbstractMemory.html" title="class in com.ibm.j9ddr.corereaders.memory">AbstractMemory</a></h3>
<code><a href="AbstractMemory.html#decoratorMappingTable">decoratorMappingTable</a>, <a href="AbstractMemory.html#memorySources">memorySources</a></code></div>
<div class="inherited-list">
<h3 id="fields.inherited.from.class.com.ibm.j9ddr.corereaders.memory.SearchableMemory">Fields declared in class&nbsp;com.ibm.j9ddr.corereaders.memory.<a href="SearchableMemory.html" title="class in com.ibm.j9ddr.corereaders.memory">SearchableMemory</a></h3>
<code><a href="SearchableMemory.html#rangeTable">rangeTable</a></code></div>
</section>
</li>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li>
<section class="constructor-summary" id="constructor.summary">
<h2>Constructor Summary</h2>
<div class="caption"><span>Constructors</span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-constructor-name even-row-color"><code><span class="member-name-link"><a href="#%3Cinit%3E(java.nio.ByteOrder)">BufferedMemory</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/nio/ByteOrder.html" title="class or interface in java.nio" class="external-link" target="_blank">ByteOrder</a>&nbsp;byteOrder)</code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
</section>
</li>
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method.summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>int</code></div>
<div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#bytesPerPointer()">bytesPerPointer</a></span>()</code></div>
<div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><a href="IAddressSpace.html" title="interface in com.ibm.j9ddr.corereaders.memory">IAddressSpace</a></code></div>
<div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getAddressSpace()">getAddressSpace</a></span>()</code></div>
<div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">&nbsp;</div>
<div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>int</code></div>
<div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getAddressSpaceId()">getAddressSpaceId</a></span>()</code></div>
<div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link" target="_blank">String</a></code></div>
<div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getCommandLine()">getCommandLine</a></span>()</code></div>
<div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">&nbsp;</div>
<div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><a href="../ICore.html" title="interface in com.ibm.j9ddr.corereaders">ICore</a></code></div>
<div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getCore()">getCore</a></span>()</code></div>
<div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">
<div class="block">The core file from which this address space has been created from</div>
</div>
<div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/Properties.html" title="class or interface in java.util" class="external-link" target="_blank">Properties</a></code></div>
<div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getEnvironmentVariables()">getEnvironmentVariables</a></span>()</code></div>
<div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">&nbsp;</div>
<div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><a href="IModule.html" title="interface in com.ibm.j9ddr.corereaders.memory">IModule</a></code></div>
<div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getExecutable()">getExecutable</a></span>()</code></div>
<div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link" target="_blank">Collection</a>&lt;? extends <a href="IModule.html" title="interface in com.ibm.j9ddr.corereaders.memory">IModule</a>&gt;</code></div>
<div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getModules()">getModules</a></span>()</code></div>
<div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">&nbsp;</div>
<div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><a href="../Platform.html" title="enum class in com.ibm.j9ddr.corereaders">Platform</a></code></div>
<div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getPlatform()">getPlatform</a></span>()</code></div>
<div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>long</code></div>
<div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getPointerAt(long)">getPointerAt</a></span>&#8203;(long&nbsp;address)</code></div>
<div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">&nbsp;</div>
<div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link" target="_blank">String</a></code></div>
<div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getProcedureNameForAddress(long)">getProcedureNameForAddress</a></span>&#8203;(long&nbsp;address)</code></div>
<div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">
<div class="block">Equivalent to getProcedureNameForAddress(address, false).</div>
</div>
<div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link" target="_blank">String</a></code></div>
<div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getProcedureNameForAddress(long,boolean)">getProcedureNameForAddress</a></span>&#8203;(long&nbsp;address,
boolean&nbsp;dtfjFormat)</code></div>
<div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">&nbsp;</div>
<div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link" target="_blank">List</a>&lt;<a href="IProcess.html" title="interface in com.ibm.j9ddr.corereaders.memory">IProcess</a>&gt;</code></div>
<div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getProcesses()">getProcesses</a></span>()</code></div>
<div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>long</code></div>
<div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getProcessId()">getProcessId</a></span>()</code></div>
<div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">&nbsp;</div>
<div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>int</code></div>
<div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getSignalNumber()">getSignalNumber</a></span>()</code></div>
<div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link" target="_blank">Collection</a>&lt;? extends <a href="../osthread/IOSThread.html" title="interface in com.ibm.j9ddr.corereaders.osthread">IOSThread</a>&gt;</code></div>
<div class="col-second odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#getThreads()">getThreads</a></span>()</code></div>
<div class="col-last odd-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">&nbsp;</div>
<div class="col-first even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code>boolean</code></div>
<div class="col-second even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table"><code><span class="member-name-link"><a href="#isFailingProcess()">isFailingProcess</a></span>()</code></div>
<div class="col-last even-row-color method-summary-table-tab2 method-summary-table-tab4 method-summary-table">&nbsp;</div>
</div>
</div>
</div>
<div class="inherited-list">
<h3 id="methods.inherited.from.class.com.ibm.j9ddr.corereaders.memory.AbstractMemory">Methods declared in class&nbsp;com.ibm.j9ddr.corereaders.memory.<a href="AbstractMemory.html" title="class in com.ibm.j9ddr.corereaders.memory">AbstractMemory</a></h3>
<code><a href="AbstractMemory.html#addMemorySource(com.ibm.j9ddr.corereaders.memory.IMemorySource)">addMemorySource</a>, <a href="AbstractMemory.html#addMemorySources(java.util.Collection)">addMemorySources</a>, <a href="AbstractMemory.html#getByteAt(long)">getByteAt</a>, <a href="AbstractMemory.html#getByteOrder()">getByteOrder</a>, <a href="AbstractMemory.html#getBytesAt(long,byte%5B%5D)">getBytesAt</a>, <a href="AbstractMemory.html#getBytesAt(long,byte%5B%5D,int,int)">getBytesAt</a>, <a href="AbstractMemory.html#getIntAt(long)">getIntAt</a>, <a href="AbstractMemory.html#getLongAt(long)">getLongAt</a>, <a href="AbstractMemory.html#getMemoryRanges()">getMemoryRanges</a>, <a href="AbstractMemory.html#getProperties(long)">getProperties</a>, <a href="AbstractMemory.html#getShortAt(long)">getShortAt</a>, <a href="AbstractMemory.html#isExecutable(long)">isExecutable</a>, <a href="AbstractMemory.html#isReadOnly(long)">isReadOnly</a>, <a href="AbstractMemory.html#isShared(long)">isShared</a>, <a href="AbstractMemory.html#removeMemorySource(com.ibm.j9ddr.corereaders.memory.IMemorySource)">removeMemorySource</a></code></div>
<div class="inherited-list">
<h3 id="methods.inherited.from.class.com.ibm.j9ddr.corereaders.memory.SearchableMemory">Methods declared in class&nbsp;com.ibm.j9ddr.corereaders.memory.<a href="SearchableMemory.html" title="class in com.ibm.j9ddr.corereaders.memory">SearchableMemory</a></h3>
<code><a href="SearchableMemory.html#buildRangeTable()">buildRangeTable</a>, <a href="SearchableMemory.html#findPattern(byte%5B%5D,int,long)">findPattern</a>, <a href="SearchableMemory.html#mergeRangeTable(long%5B%5D%5B%5D)">mergeRangeTable</a></code></div>
<div class="inherited-list">
<h3 id="methods.inherited.from.class.java.lang.Object">Methods declared in class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link" target="_blank">Object</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link" target="_blank">clone</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link" target="_blank">equals</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link" target="_blank">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link" target="_blank">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link" target="_blank">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link" target="_blank">notify</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link" target="_blank">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link" target="_blank">toString</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link" target="_blank">wait</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link" target="_blank">wait</a>, <a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link" target="_blank">wait</a></code></div>
<div class="inherited-list">
<h3 id="methods.inherited.from.class.com.ibm.j9ddr.corereaders.memory.IMemory">Methods declared in interface&nbsp;com.ibm.j9ddr.corereaders.memory.<a href="IMemory.html" title="interface in com.ibm.j9ddr.corereaders.memory">IMemory</a></h3>
<code><a href="IMemory.html#findPattern(byte%5B%5D,int,long)">findPattern</a>, <a href="IMemory.html#getByteAt(long)">getByteAt</a>, <a href="IMemory.html#getByteOrder()">getByteOrder</a>, <a href="IMemory.html#getBytesAt(long,byte%5B%5D)">getBytesAt</a>, <a href="IMemory.html#getBytesAt(long,byte%5B%5D,int,int)">getBytesAt</a>, <a href="IMemory.html#getIntAt(long)">getIntAt</a>, <a href="IMemory.html#getLongAt(long)">getLongAt</a>, <a href="IMemory.html#getMemoryRanges()">getMemoryRanges</a>, <a href="IMemory.html#getProperties(long)">getProperties</a>, <a href="IMemory.html#getShortAt(long)">getShortAt</a>, <a href="IMemory.html#isExecutable(long)">isExecutable</a>, <a href="IMemory.html#isReadOnly(long)">isReadOnly</a>, <a href="IMemory.html#isShared(long)">isShared</a></code></div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="details-list">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<li>
<section class="constructor-details" id="constructor.detail">
<h2>Constructor Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="&lt;init&gt;(java.nio.ByteOrder)">
<h3>BufferedMemory</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">BufferedMemory</span>&#8203;<span class="parameters">(<a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/nio/ByteOrder.html" title="class or interface in java.nio" class="external-link" target="_blank">ByteOrder</a>&nbsp;byteOrder)</span></div>
</section>
</li>
</ul>
</section>
</li>
<!-- ============ METHOD DETAIL ========== -->
<li>
<section class="method-details" id="method.detail">
<h2>Method Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="getPlatform()">
<h3>getPlatform</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="../Platform.html" title="enum class in com.ibm.j9ddr.corereaders">Platform</a></span>&nbsp;<span class="element-name">getPlatform</span>()</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="IMemory.html#getPlatform()">getPlatform</a></code>&nbsp;in interface&nbsp;<code><a href="IMemory.html" title="interface in com.ibm.j9ddr.corereaders.memory">IMemory</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getAddressSpace()">
<h3>getAddressSpace</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="IAddressSpace.html" title="interface in com.ibm.j9ddr.corereaders.memory">IAddressSpace</a></span>&nbsp;<span class="element-name">getAddressSpace</span>()</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="IProcess.html#getAddressSpace()">getAddressSpace</a></code>&nbsp;in interface&nbsp;<code><a href="IProcess.html" title="interface in com.ibm.j9ddr.corereaders.memory">IProcess</a></code></dd>
<dt>Returns:</dt>
<dd>Address space this process uses.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getPointerAt(long)">
<h3>getPointerAt</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">long</span>&nbsp;<span class="element-name">getPointerAt</span>&#8203;<span class="parameters">(long&nbsp;address)</span>
throws <span class="exceptions"><a href="MemoryFault.html" title="class in com.ibm.j9ddr.corereaders.memory">MemoryFault</a></span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="IProcess.html#getPointerAt(long)">getPointerAt</a></code>&nbsp;in interface&nbsp;<code><a href="IProcess.html" title="interface in com.ibm.j9ddr.corereaders.memory">IProcess</a></code></dd>
<dt>Throws:</dt>
<dd><code><a href="MemoryFault.html" title="class in com.ibm.j9ddr.corereaders.memory">MemoryFault</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="bytesPerPointer()">
<h3>bytesPerPointer</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">bytesPerPointer</span>()</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="IProcess.html#bytesPerPointer()">bytesPerPointer</a></code>&nbsp;in interface&nbsp;<code><a href="IProcess.html" title="interface in com.ibm.j9ddr.corereaders.memory">IProcess</a></code></dd>
<dt>Returns:</dt>
<dd>Number of bytes in a pointer</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getCommandLine()">
<h3>getCommandLine</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link" target="_blank">String</a></span>&nbsp;<span class="element-name">getCommandLine</span>()
throws <span class="exceptions"><a href="../../DataUnavailableException.html" title="class in com.ibm.j9ddr">DataUnavailableException</a>,
<a href="../../CorruptDataException.html" title="class in com.ibm.j9ddr">CorruptDataException</a></span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="IProcess.html#getCommandLine()">getCommandLine</a></code>&nbsp;in interface&nbsp;<code><a href="IProcess.html" title="interface in com.ibm.j9ddr.corereaders.memory">IProcess</a></code></dd>
<dt>Returns:</dt>
<dd>Process command line or null if the data is unavailable</dd>
<dt>Throws:</dt>
<dd><code><a href="../../CorruptDataException.html" title="class in com.ibm.j9ddr">CorruptDataException</a></code></dd>
<dd><code><a href="../../DataUnavailableException.html" title="class in com.ibm.j9ddr">DataUnavailableException</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getEnvironmentVariables()">
<h3>getEnvironmentVariables</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/Properties.html" title="class or interface in java.util" class="external-link" target="_blank">Properties</a></span>&nbsp;<span class="element-name">getEnvironmentVariables</span>()
throws <span class="exceptions"><a href="../../DataUnavailableException.html" title="class in com.ibm.j9ddr">DataUnavailableException</a>,
<a href="../../CorruptDataException.html" title="class in com.ibm.j9ddr">CorruptDataException</a></span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="IProcess.html#getEnvironmentVariables()">getEnvironmentVariables</a></code>&nbsp;in interface&nbsp;<code><a href="IProcess.html" title="interface in com.ibm.j9ddr.corereaders.memory">IProcess</a></code></dd>
<dt>Returns:</dt>
<dd>Properties containing environment variables name=value pairs</dd>
<dt>Throws:</dt>
<dd><code><a href="../../CorruptDataException.html" title="class in com.ibm.j9ddr">CorruptDataException</a></code></dd>
<dd><code><a href="../../DataUnavailableException.html" title="class in com.ibm.j9ddr">DataUnavailableException</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getModules()">
<h3>getModules</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link" target="_blank">Collection</a>&lt;? extends <a href="IModule.html" title="interface in com.ibm.j9ddr.corereaders.memory">IModule</a>&gt;</span>&nbsp;<span class="element-name">getModules</span>()
throws <span class="exceptions"><a href="../../CorruptDataException.html" title="class in com.ibm.j9ddr">CorruptDataException</a></span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="IProcess.html#getModules()">getModules</a></code>&nbsp;in interface&nbsp;<code><a href="IProcess.html" title="interface in com.ibm.j9ddr.corereaders.memory">IProcess</a></code></dd>
<dt>Throws:</dt>
<dd><code><a href="../../CorruptDataException.html" title="class in com.ibm.j9ddr">CorruptDataException</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getExecutable()">
<h3>getExecutable</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="IModule.html" title="interface in com.ibm.j9ddr.corereaders.memory">IModule</a></span>&nbsp;<span class="element-name">getExecutable</span>()
throws <span class="exceptions"><a href="../../CorruptDataException.html" title="class in com.ibm.j9ddr">CorruptDataException</a></span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="IProcess.html#getExecutable()">getExecutable</a></code>&nbsp;in interface&nbsp;<code><a href="IProcess.html" title="interface in com.ibm.j9ddr.corereaders.memory">IProcess</a></code></dd>
<dt>Throws:</dt>
<dd><code><a href="../../CorruptDataException.html" title="class in com.ibm.j9ddr">CorruptDataException</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getProcessId()">
<h3>getProcessId</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">long</span>&nbsp;<span class="element-name">getProcessId</span>()
throws <span class="exceptions"><a href="../../CorruptDataException.html" title="class in com.ibm.j9ddr">CorruptDataException</a></span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="IProcess.html#getProcessId()">getProcessId</a></code>&nbsp;in interface&nbsp;<code><a href="IProcess.html" title="interface in com.ibm.j9ddr.corereaders.memory">IProcess</a></code></dd>
<dt>Throws:</dt>
<dd><code><a href="../../CorruptDataException.html" title="class in com.ibm.j9ddr">CorruptDataException</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getProcedureNameForAddress(long)">
<h3>getProcedureNameForAddress</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link" target="_blank">String</a></span>&nbsp;<span class="element-name">getProcedureNameForAddress</span>&#8203;<span class="parameters">(long&nbsp;address)</span>
throws <span class="exceptions"><a href="../../DataUnavailableException.html" title="class in com.ibm.j9ddr">DataUnavailableException</a>,
<a href="../../CorruptDataException.html" title="class in com.ibm.j9ddr">CorruptDataException</a></span></div>
<div class="block">Equivalent to getProcedureNameForAddress(address, false).
Default behaviour is to return DDR format strings for symbols.</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="IProcess.html#getProcedureNameForAddress(long)">getProcedureNameForAddress</a></code>&nbsp;in interface&nbsp;<code><a href="IProcess.html" title="interface in com.ibm.j9ddr.corereaders.memory">IProcess</a></code></dd>
<dt>Throws:</dt>
<dd><code><a href="../../DataUnavailableException.html" title="class in com.ibm.j9ddr">DataUnavailableException</a></code></dd>
<dd><code><a href="../../CorruptDataException.html" title="class in com.ibm.j9ddr">CorruptDataException</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getProcedureNameForAddress(long,boolean)">
<h3>getProcedureNameForAddress</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link" target="_blank">String</a></span>&nbsp;<span class="element-name">getProcedureNameForAddress</span>&#8203;<span class="parameters">(long&nbsp;address,
boolean&nbsp;dtfjFormat)</span>
throws <span class="exceptions"><a href="../../DataUnavailableException.html" title="class in com.ibm.j9ddr">DataUnavailableException</a>,
<a href="../../CorruptDataException.html" title="class in com.ibm.j9ddr">CorruptDataException</a></span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="IProcess.html#getProcedureNameForAddress(long,boolean)">getProcedureNameForAddress</a></code>&nbsp;in interface&nbsp;<code><a href="IProcess.html" title="interface in com.ibm.j9ddr.corereaders.memory">IProcess</a></code></dd>
<dt>Throws:</dt>
<dd><code><a href="../../DataUnavailableException.html" title="class in com.ibm.j9ddr">DataUnavailableException</a></code></dd>
<dd><code><a href="../../CorruptDataException.html" title="class in com.ibm.j9ddr">CorruptDataException</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getThreads()">
<h3>getThreads</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/Collection.html" title="class or interface in java.util" class="external-link" target="_blank">Collection</a>&lt;? extends <a href="../osthread/IOSThread.html" title="interface in com.ibm.j9ddr.corereaders.osthread">IOSThread</a>&gt;</span>&nbsp;<span class="element-name">getThreads</span>()
throws <span class="exceptions"><a href="../../CorruptDataException.html" title="class in com.ibm.j9ddr">CorruptDataException</a></span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="IProcess.html#getThreads()">getThreads</a></code>&nbsp;in interface&nbsp;<code><a href="IProcess.html" title="interface in com.ibm.j9ddr.corereaders.memory">IProcess</a></code></dd>
<dt>Throws:</dt>
<dd><code><a href="../../CorruptDataException.html" title="class in com.ibm.j9ddr">CorruptDataException</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getSignalNumber()">
<h3>getSignalNumber</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">getSignalNumber</span>()
throws <span class="exceptions"><a href="../../DataUnavailableException.html" title="class in com.ibm.j9ddr">DataUnavailableException</a></span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="IProcess.html#getSignalNumber()">getSignalNumber</a></code>&nbsp;in interface&nbsp;<code><a href="IProcess.html" title="interface in com.ibm.j9ddr.corereaders.memory">IProcess</a></code></dd>
<dt>Throws:</dt>
<dd><code><a href="../../DataUnavailableException.html" title="class in com.ibm.j9ddr">DataUnavailableException</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="isFailingProcess()">
<h3>isFailingProcess</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">isFailingProcess</span>()
throws <span class="exceptions"><a href="../../DataUnavailableException.html" title="class in com.ibm.j9ddr">DataUnavailableException</a></span></div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="IProcess.html#isFailingProcess()">isFailingProcess</a></code>&nbsp;in interface&nbsp;<code><a href="IProcess.html" title="interface in com.ibm.j9ddr.corereaders.memory">IProcess</a></code></dd>
<dt>Throws:</dt>
<dd><code><a href="../../DataUnavailableException.html" title="class in com.ibm.j9ddr">DataUnavailableException</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getCore()">
<h3>getCore</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="../ICore.html" title="interface in com.ibm.j9ddr.corereaders">ICore</a></span>&nbsp;<span class="element-name">getCore</span>()</div>
<div class="block"><span class="descfrm-type-label">Description copied from interface:&nbsp;<code><a href="IAddressSpace.html#getCore()">IAddressSpace</a></code></span></div>
<div class="block">The core file from which this address space has been created from</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="IAddressSpace.html#getCore()">getCore</a></code>&nbsp;in interface&nbsp;<code><a href="IAddressSpace.html" title="interface in com.ibm.j9ddr.corereaders.memory">IAddressSpace</a></code></dd>
<dt>Returns:</dt>
<dd>the core file or null if this address space is not backed by an underlying core file</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getProcesses()">
<h3>getProcesses</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/List.html" title="class or interface in java.util" class="external-link" target="_blank">List</a>&lt;<a href="IProcess.html" title="interface in com.ibm.j9ddr.corereaders.memory">IProcess</a>&gt;</span>&nbsp;<span class="element-name">getProcesses</span>()</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="IAddressSpace.html#getProcesses()">getProcesses</a></code>&nbsp;in interface&nbsp;<code><a href="IAddressSpace.html" title="interface in com.ibm.j9ddr.corereaders.memory">IAddressSpace</a></code></dd>
<dt>Returns:</dt>
<dd>List of processes using this address space.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="getAddressSpaceId()">
<h3>getAddressSpaceId</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">getAddressSpaceId</span>()</div>
<dl class="notes">
<dt>Specified by:</dt>
<dd><code><a href="IAddressSpace.html#getAddressSpaceId()">getAddressSpaceId</a></code>&nbsp;in interface&nbsp;<code><a href="IAddressSpace.html" title="interface in com.ibm.j9ddr.corereaders.memory">IAddressSpace</a></code></dd>
<dt>Returns:</dt>
<dd>Numeric ID of address space.</dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
</main>
<footer role="contentinfo">
<hr>
<p class="legal-copy"><small><a href="https://www.eclipse.org/openj9/" target="_blank">Eclipse OpenJ9 website.</a><br> To raise a bug report or suggest an improvement create an <a href="https://github.com/eclipse-openj9/openj9/issues" target="_blank">Eclipse Openj9 issue.</a><br> Copyright &copy; 1998, 2021, IBM Corp. and others.</small></p>
</footer>
</div>
</div>
</body>
</html>