MCPcopy Create free account
hub / github.com/java-native-access/jna / purge

Method purge

src/com/sun/jna/Memory.java:64–66  ·  view source on GitHub ↗

Force cleanup of memory that has associated NIO Buffers which have been GC'd.

()

Source from the content-addressed store, hash-verified

62 been GC'd.
63 */
64 public static void purge() {
65 buffers.clean();
66 }
67
68 /** Dispose of all allocated memory. */
69 public static void disposeAll() {

Callers 3

testAutoFreeMemoryMethod · 0.95
gcRunMethod · 0.95

Calls 1

cleanMethod · 0.65

Tested by 3

testAutoFreeMemoryMethod · 0.76
gcRunMethod · 0.76