mirror of
https://github.com/openjdk/jdk.git
synced 2026-06-10 12:37:09 +00:00
cleanup some comments
This commit is contained in:
parent
afbc5c90b6
commit
295105a8ec
@ -125,7 +125,7 @@ public interface ClassType extends ReferenceType {
|
||||
|
||||
/** Perform method invocation with only the invoking thread resumed */
|
||||
static final int INVOKE_SINGLE_THREADED = 0x1;
|
||||
/** Perform perform the equivalent of ObjectReference.disableCollection() on
|
||||
/** Perform the equivalent of ObjectReference.disableCollection() on
|
||||
any ObjectReference returned, including any exception thrown. */
|
||||
static final int INVOKE_DISABLE_COLLECTION = 0x4;
|
||||
|
||||
|
||||
@ -143,7 +143,7 @@ public interface ObjectReference extends Value {
|
||||
static final int INVOKE_SINGLE_THREADED = 0x1;
|
||||
/** Perform non-virtual method invocation */
|
||||
static final int INVOKE_NONVIRTUAL = 0x2;
|
||||
/** Perform perform the equivalent of ObjectReference.disableCollection() on
|
||||
/** Perform the equivalent of ObjectReference.disableCollection() on
|
||||
any ObjectReference returned, including any exception thrown. */
|
||||
static final int INVOKE_DISABLE_COLLECTION = 0x4;
|
||||
|
||||
|
||||
@ -235,12 +235,8 @@ public final class ClassTypeImpl extends InvokableTypeImpl
|
||||
vm.notifySuspend();
|
||||
}
|
||||
|
||||
/*
|
||||
* If there is a returned Object or an exception Object, make sure GC
|
||||
* is disabled if requested.
|
||||
*/
|
||||
if ((options & INVOKE_DISABLE_COLLECTION) != 0) {
|
||||
// Account for implicit disableCollection() done by the debug agent.
|
||||
// Account for implicit disableCollection() done by JDWP.
|
||||
if (ret.exception != null) {
|
||||
ret.exception.incrementGcDisableCount();
|
||||
} else {
|
||||
|
||||
@ -126,12 +126,8 @@ abstract class InvokableTypeImpl extends ReferenceTypeImpl {
|
||||
vm.notifySuspend();
|
||||
}
|
||||
|
||||
/*
|
||||
* If there is a returned Object or an exception Object, make sure GC
|
||||
* is disabled if requested.
|
||||
*/
|
||||
if ((options & ClassType.INVOKE_DISABLE_COLLECTION) != 0) {
|
||||
// Account for implicit disableCollection() done by the debug agent.
|
||||
// Account for implicit disableCollection() done by JDWP.
|
||||
if (ret.getException() != null) {
|
||||
ret.getException().incrementGcDisableCount();
|
||||
} else {
|
||||
|
||||
@ -424,12 +424,8 @@ public class ObjectReferenceImpl extends ValueImpl
|
||||
vm.notifySuspend();
|
||||
}
|
||||
|
||||
/*
|
||||
* If there is a returned Object or an exception Object, make sure GC
|
||||
* is disabled if requested.
|
||||
*/
|
||||
if ((options & INVOKE_DISABLE_COLLECTION) != 0) {
|
||||
// Account for implicit disableCollection() done by the debug agent.
|
||||
// Account for implicit disableCollection() done by JDWP.
|
||||
if (ret.exception != null) {
|
||||
ret.exception.incrementGcDisableCount();
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user