-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
Description
From @gharrma on December 14, 2016 1:13
This includes:
- Methods marked with the
synchronizedkeyword (use try-finally) - Synchronized blocks (use try-finally)
- Fields marked with the
volatilekeyword - (Probably) compile the garbage collector with new flags
- Make sure JNI environment objects are thread-local
- Some reasonable approximation of the Java memory model
- Thread-safe runtime code (especially
jni.cpp,jvm.cpp, andunsafe.cpp).
Each class instance will need its own mutex and condition variable---ideally initialized lazily!
Copied from original issue: gharrma/polyllvm#5