jdk/src/windows/bin/java_md.c
changeset 7256 adb296cc2eae
parent 7048 90f459535526
child 8197 e45f21c2a40b
equal deleted inserted replaced
7255:88d0a8413bb8 7256:adb296cc2eae
    68  * At the moment we only support warmup for D3D. It only possible on windows
    68  * At the moment we only support warmup for D3D. It only possible on windows
    69  * and only if other flags do not prohibit this (e.g. OpenGL support requested).
    69  * and only if other flags do not prohibit this (e.g. OpenGL support requested).
    70  */
    70  */
    71 #undef ENABLE_AWT_PRELOAD
    71 #undef ENABLE_AWT_PRELOAD
    72 #ifndef JAVA_ARGS /* turn off AWT preloading for javac, jar, etc */
    72 #ifndef JAVA_ARGS /* turn off AWT preloading for javac, jar, etc */
    73     #define ENABLE_AWT_PRELOAD
    73     /* CR6999872: fastdebug crashes if awt library is loaded before JVM is
       
    74      * initialized*/
       
    75     #if !defined(DEBUG)
       
    76         #define ENABLE_AWT_PRELOAD
       
    77     #endif
    74 #endif
    78 #endif
    75 
    79 
    76 #ifdef ENABLE_AWT_PRELOAD
    80 #ifdef ENABLE_AWT_PRELOAD
    77 /* "AWT was preloaded" flag;
    81 /* "AWT was preloaded" flag;
    78  * turned on by AWTPreload().
    82  * turned on by AWTPreload().