JDK-8161256: general data in constant pools - Java Issue Tracker
Jul 12, 2016 ... An invokedynamic instruction is bootstrapped as CallSite cs = (T) bsm.invoke(L, "name", MethodType, arg...), while a CONSTANT_Dynamic is ...
Jul 12, 2016 ... An invokedynamic instruction is bootstrapped as CallSite cs = (T) bsm.invoke(L, "name", MethodType, arg...), while a CONSTANT_Dynamic is ...
For example, a _forEachLine()_ method might be added to java.nio.file.Files that calls a Lambda for each line in that file. * Look for opportunities to use the execute-around idiom. For example, files must be closed after use, locks must be unlocked after use, etc.
It seems, there are more places where an invokerLock critical section is missed. The following functions: - invokeConstructor - invokeStatic - invokeNonvirtual - invokeVirtual - saveGlobalRef. These functions are called from the invoker_doInvoke() that we already had a problem with.
Java SE. Community.For functions which should never be called outside the implementation of the os replacement, we can use (for example). extern "C" int vsnprintf(char*, size_t, const char*, va_list) __attribute__((__deprecated__("use os::vsnprintf"))); and in the definition of os::vsnprintf...