src/hotspot/share/include/jvm.h
changeset 54795 fd08f5a976e6
parent 53212 bccff579c2ff
child 58056 db92a157dd70
child 58678 9cf78a70fa4f
equal deleted inserted replaced
54794:019b3db480f4 54795:fd08f5a976e6
  1278     unsigned int jdk_version; /* Encoded $VNUM as specified by JEP-223 */
  1278     unsigned int jdk_version; /* Encoded $VNUM as specified by JEP-223 */
  1279     unsigned int patch_version : 8; /* JEP-223 patch version */
  1279     unsigned int patch_version : 8; /* JEP-223 patch version */
  1280     unsigned int reserved3 : 8;
  1280     unsigned int reserved3 : 8;
  1281     unsigned int reserved1 : 16;
  1281     unsigned int reserved1 : 16;
  1282     unsigned int reserved2;
  1282     unsigned int reserved2;
  1283 
  1283     unsigned int : 32;
  1284     /* The following bits represents new JDK supports that VM has dependency on.
       
  1285      * VM implementation can use these bits to determine which JDK version
       
  1286      * and support it has to maintain runtime compatibility.
       
  1287      *
       
  1288      * When a new bit is added in a minor or update release, make sure
       
  1289      * the new bit is also added in the main/baseline.
       
  1290      */
       
  1291     unsigned int thread_park_blocker : 1;
       
  1292     unsigned int post_vm_init_hook_enabled : 1;
       
  1293     unsigned int pending_list_uses_discovered_field : 1;
       
  1294     unsigned int : 29;
       
  1295     unsigned int : 32;
  1284     unsigned int : 32;
  1296     unsigned int : 32;
  1285     unsigned int : 32;
  1297 } jdk_version_info;
  1286 } jdk_version_info;
  1298 
  1287 
  1299 #define JDK_VERSION_MAJOR(version) ((version & 0xFF000000) >> 24)
  1288 #define JDK_VERSION_MAJOR(version) ((version & 0xFF000000) >> 24)