![]() |
Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
Bo calls the same native method. In fact, System.gc() calls the gc() method of Runtime. Following is the code for gc() method in System class. Therefore, when you call System.gc() internally it calls Runtime.getRuntime().gc(). // gc() method in System class
Replies: |
Sponsored Links
|