title: OQL for finding new objects only in heap dumps?
body: <p>Does anyone know the OQL syntax for finding new objects only in a heap output? I can't find good documentation on OQL options, sun even has an <a href="https://hat.dev.java.net/doc/examples/allNewInstances.html" rel="nofollow noreferrer">example</a> of new-only output without sample syntax of the query that generated it.What I've done is</p>
  
  <ul>
  <li>Created a set of heaps with jhat</li>
  <li>Served them up with jmap -baseline, which marks objects not in both heaps as "new".</li>
  <li>browse jhat</li>
  <li>scratch head</li>
  </ul>