-
Notifications
You must be signed in to change notification settings - Fork 738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new DumpAllOffHeapEntriesCommand in DDR #21047
base: master
Are you sure you want to change the base?
Conversation
73c3599
to
37ff513
Compare
output format for DumpAllSparseHeapEntriesCommand
|
just curious, how this output looks like for Compressed Refs? I guess there are leading zeroes added to the object address. |
4658ac3
to
c21c507
Compare
I think it always output 64 bit address for object pointer, and I will update for whitespace issues, thanks |
@keithc-ca please review |
debugtools/DDR_VM/src/com/ibm/j9ddr/vm29/j9/ObjectToSparseDataHashTable.java
Outdated
Show resolved
Hide resolved
debugtools/DDR_VM/src/com/ibm/j9ddr/vm29/j9/ObjectToSparseDataHashTable.java
Outdated
Show resolved
Hide resolved
debugtools/DDR_VM/src/com/ibm/j9ddr/vm29/j9/ObjectToSparseDataHashTable.java
Outdated
Show resolved
Hide resolved
debugtools/DDR_VM/src/com/ibm/j9ddr/vm29/j9/ObjectToSparseDataHashTable.java
Outdated
Show resolved
Hide resolved
...VM/src/com/ibm/j9ddr/vm29/tools/ddrinteractive/commands/DumpAllSparseHeapEntriesCommand.java
Outdated
Show resolved
Hide resolved
...VM/src/com/ibm/j9ddr/vm29/tools/ddrinteractive/commands/DumpAllSparseHeapEntriesCommand.java
Outdated
Show resolved
Hide resolved
...VM/src/com/ibm/j9ddr/vm29/tools/ddrinteractive/commands/DumpAllSparseHeapEntriesCommand.java
Outdated
Show resolved
Hide resolved
...VM/src/com/ibm/j9ddr/vm29/tools/ddrinteractive/commands/DumpAllSparseHeapEntriesCommand.java
Outdated
Show resolved
Hide resolved
...VM/src/com/ibm/j9ddr/vm29/tools/ddrinteractive/commands/DumpAllSparseHeapEntriesCommand.java
Outdated
Show resolved
Hide resolved
9aa77cb
to
9e709bf
Compare
debugtools/DDR_VM/src/com/ibm/j9ddr/vm29/j9/ObjectToSparseDataHashTable.java
Outdated
Show resolved
Hide resolved
debugtools/DDR_VM/src/com/ibm/j9ddr/vm29/j9/ObjectToSparseDataHashTable.java
Outdated
Show resolved
Hide resolved
debugtools/DDR_VM/src/com/ibm/j9ddr/vm29/j9/ObjectToSparseDataHashTable.java
Outdated
Show resolved
Hide resolved
debugtools/DDR_VM/src/com/ibm/j9ddr/vm29/j9/ObjectToSparseDataHashTable.java
Outdated
Show resolved
Hide resolved
debugtools/DDR_VM/src/com/ibm/j9ddr/vm29/j9/ObjectToSparseDataHashTable.java
Outdated
Show resolved
Hide resolved
debugtools/DDR_VM/src/com/ibm/j9ddr/vm29/tools/ddrinteractive/GetCommandsTask.java
Outdated
Show resolved
Hide resolved
...DR_VM/src/com/ibm/j9ddr/vm29/tools/ddrinteractive/commands/DumpAllOffHeapEntriesCommand.java
Outdated
Show resolved
Hide resolved
...DR_VM/src/com/ibm/j9ddr/vm29/tools/ddrinteractive/commands/DumpAllOffHeapEntriesCommand.java
Outdated
Show resolved
Hide resolved
...DR_VM/src/com/ibm/j9ddr/vm29/tools/ddrinteractive/commands/DumpAllOffHeapEntriesCommand.java
Outdated
Show resolved
Hide resolved
...DR_VM/src/com/ibm/j9ddr/vm29/tools/ddrinteractive/commands/DumpAllOffHeapEntriesCommand.java
Outdated
Show resolved
Hide resolved
9caf04b
to
27bd42b
Compare
debugtools/DDR_VM/src/com/ibm/j9ddr/vm29/j9/ObjectToSparseDataHashTable.java
Outdated
Show resolved
Hide resolved
...DR_VM/src/com/ibm/j9ddr/vm29/tools/ddrinteractive/commands/DumpAllOffHeapEntriesCommand.java
Outdated
Show resolved
Hide resolved
...DR_VM/src/com/ibm/j9ddr/vm29/tools/ddrinteractive/commands/DumpAllOffHeapEntriesCommand.java
Outdated
Show resolved
Hide resolved
27bd42b
to
f8e78c1
Compare
...DR_VM/src/com/ibm/j9ddr/vm29/tools/ddrinteractive/commands/DumpAllOffHeapEntriesCommand.java
Outdated
Show resolved
Hide resolved
f8e78c1
to
036b7da
Compare
...DR_VM/src/com/ibm/j9ddr/vm29/tools/ddrinteractive/commands/DumpAllOffHeapEntriesCommand.java
Outdated
Show resolved
Hide resolved
8a5797b
to
d6a5965
Compare
When used to access a system dump from a VM where there are no off-heap entries (perhaps because the balanced GC mode was not used), the command should produce some output to make clear that the command worked, by explaining why there are no off-heap entries. |
555dc4b
to
48dbadb
Compare
When I tested this locally, I got no output at all; in particular, the message you modified recently was not printed so that doesn't help. |
- new DumpAllOffHeapEntriesCommand provides a way to list all off-heap entries in the core file, which contain off heap data (only when off-heap has been enabled in jvm and gcpolicy has been set to Balanced GC mode). - for the rest of cases(off-heap has been disabled or "old core file", which did not contain off-heap option at all), print out error message "This command only works with the core file, which contains off-heap." - off-heap entry information includes the address of the Array Object, the data address and the size of array data Signed-off-by: lhu <[email protected]>
48dbadb
to
235e087
Compare
off-heap entries in the core file, which contain off-heap data
(only when off-heap has been enabled in jvm and gcpolicy has been set
to Balanced GC mode).
which did not contain off-heap option at all), print out error message
"This command only works with the core file,
which contains off-heap."
the address of the Array Object,
the data address and
the size of array data
Signed-off-by: lhu [email protected]