| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 7 | 2 | 2 | 0.982 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 7 | 94 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ObjectReferenceImpl.java |
| 2 | 7 | 107 | plugins/org.eclipse.jdt.debug/jdi/org/eclipse/jdi/internal/ObjectReferenceImpl.java |
| ||||
/**
* Prevents garbage collection for this object.
*/
public void disableCollection() {
initJdwpRequest();
try {
JdwpReplyPacket replyPacket = requestVM(JdwpCommandPacket.OR_DISABLE_COLLECTION, this );
defaultReplyErrorHandler(replyPacket.errorCode());
} finally {
handledJdwpRequest();
}
}
|
| ||||
/**
* Permits garbage collection for this object.
*/
public void enableCollection() {
initJdwpRequest();
try {
JdwpReplyPacket replyPacket = requestVM(JdwpCommandPacket.OR_ENABLE_COLLECTION, this );
defaultReplyErrorHandler(replyPacket.errorCode());
} finally {
handledJdwpRequest();
}
}
|
| |||
/**
* Prevents garbage collection for this object.
*/
/**
* Permits garbage collection for this object.
*/
public void [[#variable63df7e40]]() {
initJdwpRequest();
try {
JdwpReplyPacket replyPacket = requestVM(JdwpCommandPacket. [[#variable63df7d60]], this );
defaultReplyErrorHandler(replyPacket.errorCode());
}
finally {
handledJdwpRequest();
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#63df7e40]] | disableCollection |
| 1 | 2 | [[#63df7e40]] | enableCollection |
| 2 | 1 | [[#63df7d60]] | OR_DISABLE_COLLECTION |
| 2 | 2 | [[#63df7d60]] | OR_ENABLE_COLLECTION |