IntelliJ IDEA 2017.3 Help

V8 Heap Search Dialog

The dialog box opens when you click find.png on the toolbar in the V8 Heap Tool Window Use the dialog box to find constructors, object IDs, character strings, etc. in a snapshot. The search results are displayed in the Details pane, in a separate Occurrences of '<search pattern>' view.

ItemDescription
Search In this text box, type the search pattern to look for. Select the Case Sensitive checkbox if necessary.
Scope In this area, specify the type of objects to limit the search to. When the Everywhere checkbox is selected, all the other search types are not available.
  • Everywhere: select this checkbox to search in all the scopes. When this checkbox is selected, all the other search types are disabled.
  • Link Names: select this checkbox to search among the object names that V8 creates when calling the C++ runtime, see http://stackoverflow.com/questions/11202824/what-is-in-javascript.

    In the V8 Heap Tool Window, link names are marked with the % character (%<link name>).

  • Class Names: select this checkbox to search among functions-constructors.
  • Text Strings: select this checkbox to perform a textual search in the contents of the objects.
  • Snapshot Object IDs: select this checkbox to search among the unique identifiers of objects. V8 assigns such a unique identifier in the format to each object when the object is created and preserves it until the object is destroyed. This means that you can find and compare the same objects in several snapshots taken within the same session.

    In the V8 Heap Tool Window, object IDs are marked with the @ character (@<object id>).

  • Marks: select this checkbox to search among the labels you set to objects manually by clicking ws_v8_profiling_mark.png on the toolbar of the Containment tab.
Last modified: 11 October 2017

See Also