title: How is java `wait()` waiting implemented?
body: <p>I'm asking about the waiting process not the access ordering method is it in the simplest form an infinite loop with a conditional exit.</p>
  
  <p>Whats the least resource consuming way to wait for a request thats what got me to ask this.</p>