Mercurial > hg > graal-jvmci-8
comparison src/share/vm/prims/jvm.h @ 2129:8f8dfba37802
6994753: Implement optional hook to a Java method at VM startup.
Reviewed-by: mchung, acorn
author | kevinw |
---|---|
date | Wed, 12 Jan 2011 15:44:16 +0000 |
parents | 4de5f4101cfd |
children | d70fe6ab4436 |
comparison
equal
deleted
inserted
replaced
2128:0ca32cc95d7b | 2129:8f8dfba37802 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
1647 * | 1647 * |
1648 * When a new bit is added in a minor or update release, make sure | 1648 * When a new bit is added in a minor or update release, make sure |
1649 * the new bit is also added in the main/baseline. | 1649 * the new bit is also added in the main/baseline. |
1650 */ | 1650 */ |
1651 unsigned int thread_park_blocker : 1; | 1651 unsigned int thread_park_blocker : 1; |
1652 unsigned int : 31; | 1652 unsigned int post_vm_init_hook_enabled : 1; |
1653 unsigned int : 30; | |
1653 unsigned int : 32; | 1654 unsigned int : 32; |
1654 unsigned int : 32; | 1655 unsigned int : 32; |
1655 } jdk_version_info; | 1656 } jdk_version_info; |
1656 | 1657 |
1657 #define JDK_VERSION_MAJOR(version) ((version & 0xFF000000) >> 24) | 1658 #define JDK_VERSION_MAJOR(version) ((version & 0xFF000000) >> 24) |