jdk/src/jdk.jdi/share/classes/com/sun/jdi/request/MonitorContendedEnteredRequest.java
changeset 45564 0149773a140c
parent 34894 3248b89d1921
equal deleted inserted replaced
45563:ece4ae6beba3 45564:0149773a140c
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    23  * questions.
    23  * questions.
    24  */
    24  */
    25 
    25 
    26 package com.sun.jdi.request;
    26 package com.sun.jdi.request;
    27 
    27 
    28 import com.sun.jdi.*;
    28 import com.sun.jdi.ObjectReference;
       
    29 import com.sun.jdi.ReferenceType;
       
    30 import com.sun.jdi.ThreadReference;
       
    31 import com.sun.jdi.VirtualMachine;
       
    32 import com.sun.jdi.event.EventQueue;
       
    33 import com.sun.jdi.event.EventSet;
       
    34 import com.sun.jdi.event.MonitorContendedEnteredEvent;
    29 
    35 
    30 /**
    36 /**
    31  * Request for notification of a thread in the target VM entering a monitor
    37  * Request for notification of a thread in the target VM entering a monitor
    32  * after waiting for it to be released by another thread.
    38  * after waiting for it to be released by another thread.
    33  * When an enabled MonitorContededEnteredRequest is satisfied, an
    39  * When an enabled MonitorContededEnteredRequest is satisfied, an
    34  * {@link com.sun.jdi.event.EventSet event set} containing a
    40  * {@link EventSet event set} containing a
    35  * {@link com.sun.jdi.event.MonitorContendedEnteredEvent MonitorContendedEnteredEvent}
    41  * {@link MonitorContendedEnteredEvent MonitorContendedEnteredEvent}
    36  * will be placed on the
    42  * will be placed on the {@link EventQueue EventQueue}.
    37  * {@link com.sun.jdi.event.EventQueue EventQueue}.
       
    38  * The collection of existing MonitorContendedEnteredEvents is
    43  * The collection of existing MonitorContendedEnteredEvents is
    39  * managed by the {@link EventRequestManager}
    44  * managed by the {@link EventRequestManager}
    40  *
    45  *
    41  * @see com.sun.jdi.event.MonitorContendedEnteredEvent
    46  * @see MonitorContendedEnteredEvent
    42  * @see com.sun.jdi.event.EventQueue
    47  * @see EventQueue
    43  * @see EventRequestManager
    48  * @see EventRequestManager
    44  *
    49  *
    45  * @author Swamy Venkataramanappa
    50  * @author Swamy Venkataramanappa
    46  * @since  1.6
    51  * @since  1.6
    47  */
    52  */