Print this page
rev 6910 : 8064667: Add -XX:+CheckEndorsedAndExtDirs flag to JDK 8
Reviewed-by: coleenp, ccheung

Split Split Close
Expand all
Collapse all
          --- old/hotspot/src/share/vm/runtime/globals.hpp
          +++ new/hotspot/src/share/vm/runtime/globals.hpp
↓ open down ↓ 1202 lines elided ↑ open up ↑
1203 1203                                                                              \
1204 1204    product(bool, JNIDetachReleasesMonitors, true,                            \
1205 1205            "JNI DetachCurrentThread releases monitors owned by thread")      \
1206 1206                                                                              \
1207 1207    product(bool, RestoreMXCSROnJNICalls, false,                              \
1208 1208            "Restore MXCSR when returning from JNI calls")                    \
1209 1209                                                                              \
1210 1210    product(bool, CheckJNICalls, false,                                       \
1211 1211            "Verify all arguments to JNI calls")                              \
1212 1212                                                                              \
     1213 +  product(bool, CheckEndorsedAndExtDirs, false,                             \
     1214 +          "Verify the endorsed and extension directories are not used")     \
     1215 +                                                                            \
1213 1216    product(bool, UseFastJNIAccessors, true,                                  \
1214 1217            "Use optimized versions of Get<Primitive>Field")                  \
1215 1218                                                                              \
1216 1219    product(intx, MaxJNILocalCapacity, 65536,                                 \
1217 1220            "Maximum allowable local JNI handle capacity to "                 \
1218 1221            "EnsureLocalCapacity() and PushLocalFrame(), "                    \
1219 1222            "where <= 0 is unlimited, default: 65536")                        \
1220 1223                                                                              \
1221 1224    product(bool, EagerXrunInit, false,                                       \
1222 1225            "Eagerly initialize -Xrun libraries; allows startup profiling, "  \
↓ open down ↓ 2782 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX