< prev index next >

src/java.se/share/data/jdwp/jdwp.spec

Print this page

1784         "<p>Since JDWP version 1.6. Requires canGetInstanceInfo capability - see "
1785         "<a href=\"#JDWP_VirtualMachine_CapabilitiesNew\">CapabilitiesNew</a>."
1786         (Out
1787             (object object "The object ID")
1788             (int maxReferrers "Maximum number of referring objects to return. "
1789                               "Must be non-negative. If zero, all referring "
1790                               "objects are returned.")
1791         )
1792         (Reply
1793             (Repeat referringObjects "The number of objects that follow."
1794                 (tagged-object instance "An object that references this object.")
1795              )
1796         )
1797         (ErrorSet
1798             (Error INVALID_OBJECT    "object is not a known ID.")
1799             (Error ILLEGAL_ARGUMENT  "maxReferrers is less than zero.")
1800             (Error NOT_IMPLEMENTED)
1801             (Error VM_DEAD)
1802         )
1803     )





































1804 )
1805 
1806 (CommandSet StringReference=10
1807     (Command Value=1
1808         "Returns the characters contained in the string. "
1809         (Out
1810             (object stringObject "The String object ID. ")
1811         )
1812         (Reply
1813             (string stringValue "UTF-8 representation of the string value.")
1814        )
1815         (ErrorSet
1816             (Error INVALID_STRING)
1817             (Error INVALID_OBJECT)
1818             (Error VM_DEAD)
1819         )
1820     )
1821 )
1822 (CommandSet ThreadReference=11
1823     (Command Name=1

1784         "<p>Since JDWP version 1.6. Requires canGetInstanceInfo capability - see "
1785         "<a href=\"#JDWP_VirtualMachine_CapabilitiesNew\">CapabilitiesNew</a>."
1786         (Out
1787             (object object "The object ID")
1788             (int maxReferrers "Maximum number of referring objects to return. "
1789                               "Must be non-negative. If zero, all referring "
1790                               "objects are returned.")
1791         )
1792         (Reply
1793             (Repeat referringObjects "The number of objects that follow."
1794                 (tagged-object instance "An object that references this object.")
1795              )
1796         )
1797         (ErrorSet
1798             (Error INVALID_OBJECT    "object is not a known ID.")
1799             (Error ILLEGAL_ARGUMENT  "maxReferrers is less than zero.")
1800             (Error NOT_IMPLEMENTED)
1801             (Error VM_DEAD)
1802         )
1803     )
1804     (Command IsSameObject=11
1805         "<b>IsSameObject is a preview API of the Java platform.</b> "
1806         "<em>Preview features may be removed in a future release, or upgraded to "
1807         "permanent features of the Java platform.</em>"
1808         "<p>"
1809         "Determines whether two objects refer to the same Java object."
1810         "<p>Since JDWP version 27."
1811         (Out
1812             (object object1 "The object ID")
1813             (object object2 "The object ID")
1814         )
1815         (Reply
1816             (boolean isSameObject "true if the objects refer to the same Java object; false otherwise")
1817         )
1818         (ErrorSet
1819             (Error INVALID_OBJECT)
1820             (Error VM_DEAD)
1821         )
1822     )
1823     (Command ObjectHashCode=12
1824         "<b>ObjectHashCode is a preview API of the Java platform.</b> "
1825         "<em>Preview features may be removed in a future release, or upgraded to "
1826         "permanent features of the Java platform.</em>"
1827         "<p>"
1828         "Returns hash code for an object."
1829         "<p>Since JDWP version 27."
1830         (Out
1831             (object object "The object ID")
1832         )
1833         (Reply
1834             (int hashCode "hash code value for the object")
1835         )
1836         (ErrorSet
1837             (Error INVALID_OBJECT)
1838             (Error VM_DEAD)
1839         )
1840     )
1841 )
1842 
1843 (CommandSet StringReference=10
1844     (Command Value=1
1845         "Returns the characters contained in the string. "
1846         (Out
1847             (object stringObject "The String object ID. ")
1848         )
1849         (Reply
1850             (string stringValue "UTF-8 representation of the string value.")
1851        )
1852         (ErrorSet
1853             (Error INVALID_STRING)
1854             (Error INVALID_OBJECT)
1855             (Error VM_DEAD)
1856         )
1857     )
1858 )
1859 (CommandSet ThreadReference=11
1860     (Command Name=1
< prev index next >