Non-swappable memory allocation in Java
===

I know this is a long shot but I need to construct a secure temporary object and one thought was to construct a buffer in memory that will not get swapped out to the drive.  Is this possible in Java?