Ensures that at least a given number of local references can be created in the current thread.
See Also: Java Native Interface Specification (Oracle)