mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
4670071: loadClassInternal is too restrictive
VM support for deadlock fix. Library fix in 4735126. See API proposal. Reviewed-by: dholmes, blacklion
This commit is contained in:
parent
f05b009ce8
commit
315de68fc0
6 changed files with 138 additions and 66 deletions
|
@ -835,8 +835,21 @@ class CommandLineFlags {
|
|||
"Prints the system dictionary at exit") \
|
||||
\
|
||||
diagnostic(bool, UnsyncloadClass, false, \
|
||||
"Unstable: VM calls loadClass unsynchronized. Custom classloader "\
|
||||
"must call VM synchronized for findClass & defineClass") \
|
||||
"Unstable: VM calls loadClass unsynchronized. Custom " \
|
||||
"class loader must call VM synchronized for findClass " \
|
||||
"and defineClass.") \
|
||||
\
|
||||
product(bool, AlwaysLockClassLoader, false, \
|
||||
"Require the VM to acquire the class loader lock before calling " \
|
||||
"loadClass() even for class loaders registering " \
|
||||
"as parallel capable. Default false. ") \
|
||||
\
|
||||
product(bool, AllowParallelDefineClass, false, \
|
||||
"Allow parallel defineClass requests for class loaders " \
|
||||
"registering as parallel capable. Default false") \
|
||||
\
|
||||
product(bool, MustCallLoadClassInternal, false, \
|
||||
"Call loadClassInternal() rather than loadClass().Default false") \
|
||||
\
|
||||
product_pd(bool, DontYieldALot, \
|
||||
"Throw away obvious excess yield calls (for SOLARIS only)") \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue