[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.2 Java VM Information and instance reference

Procedures about Java VM Information and instance references.
Please refer a Java document about "Reference".

Function: jvm-available-processors

returns the available processors by Java VM.

Function: jvm-free-memory
Function: jvm-max-memory
Function: jvm-total-memory

return free memory, max memory and total memory of Java VM by bytes, respectively.

Function: garbage-collector

starts the garbage collectior.

Function: reference? obj

check is the object is Java reference.

Function: reference-queue? obj

check is the object is Java reference queue.

Function: reference-cleared? reference

check is the reference is cleared.

Function: reference-enqueueed? reference

check is the reference is in a reference queue.

Function: make-weak-reference obj
Function: make-soft-reference obj
Function: make-phantom-reference obj

creates a weak reference, a soft reference, and a phantom reference, respectively.

Function: make-reference-queue

creates a reference queue.

Function: reference-get reference

gets an object from the reference.
returns #f is the reference has been cleared.

Function: refernce-clear reference

clears the reference.

Function: refernce-enqueue reference

enqueues the reference.

Function: refernce-queue-poll reference-queue

refers a reference from the reference-queue. returns #f if any datum is not in the queue.

Function: refernce-queue-remove reference-queue

removes a reference from the reference queue and returns the reference, or #f if any datum is not in the queue.


[ << ] [ < ] [ Up ] [ > ] [ >> ]

This document was generated on August 9, 2012 using texi2html 5.0.