title: Static methods in GOSU and Thread-safety
body: <p>I have below function in a .gs class, which gets called when accessing specific Claim information - </p>
  
  <pre><code>public static function testVisibility(claim : Claim) : boolean {
      if(claim.State == ClaimState.TC_OPEN){
          return true;
      }
      else{
          return false;
      }
  }
  </code></pre>
  
  <p>My question -</p>
  
  <p>a) If two users are accessing their respective Claims information, this function should get called twice - first time it should receive the Claim instance of first user, second time Claim instance of second user. If the accessing in simultaneous - will two copies of the same function be invoked? Should not be the case, as static function is only one copy. So, if it's one copy, how is thread safety ensured? Will the function be called one-after-another?</p>
  
  <p>b) Like Java, does <a href="https://gosu-lang.github.io/" rel="nofollow">Gosu</a> also use Heap to run the static functions?</p>