Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/java.cpp @ 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 | 0eb90baf1b69 |
children | 3582bf76420e |
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. |
661 minor = micro; | 661 minor = micro; |
662 micro = 0; | 662 micro = 0; |
663 } | 663 } |
664 _current = JDK_Version(major, minor, micro, info.update_version, | 664 _current = JDK_Version(major, minor, micro, info.update_version, |
665 info.special_update_version, build, | 665 info.special_update_version, build, |
666 info.thread_park_blocker == 1); | 666 info.thread_park_blocker == 1, |
667 info.post_vm_init_hook_enabled == 1); | |
667 } | 668 } |
668 } | 669 } |
669 | 670 |
670 void JDK_Version::fully_initialize( | 671 void JDK_Version::fully_initialize( |
671 uint8_t major, uint8_t minor, uint8_t micro, uint8_t update) { | 672 uint8_t major, uint8_t minor, uint8_t micro, uint8_t update) { |