Top Description Fields Constructors Methods
jogamp.common.jvm

public Class JVMUtil

extends Object
Class Inheritance
Imports
java.nio.ByteBuffer, jogamp.common.Debug, com.jogamp.common.nio.Buffers

Currently this tool works around the Hotspot race condition bugs:
    4395095 JNI access to java.nio DirectBuffer constructor/accessor
    6852404 Race condition in JNI Direct Buffer access and creation routines
Make sure to initialize this class as soon as possible, before doing any multithreading work.

Field Summary

Modifier and TypeField and Description
private static final boolean

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private static native boolean
public static void
initSingleton()

Kicks of one-time static initialization of this class.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DEBUGback to summary
private static final boolean DEBUG

Constructor Detail

JVMUtilback to summary
private JVMUtil()

Method Detail

initializeback to summary
private static native boolean initialize(ByteBuffer buffer)
initSingletonback to summary
public static void initSingleton()

Kicks of one-time static initialization of this class. See JVMUtil.