equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2019, 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. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
44 info->jdk_version = ((version_major & 0xFF) << 24) | |
44 info->jdk_version = ((version_major & 0xFF) << 24) | |
45 ((version_minor & 0xFF) << 16) | |
45 ((version_minor & 0xFF) << 16) | |
46 ((version_security & 0xFF) << 8) | |
46 ((version_security & 0xFF) << 8) | |
47 (version_build & 0xFF); |
47 (version_build & 0xFF); |
48 info->patch_version = version_patch; |
48 info->patch_version = version_patch; |
49 info->thread_park_blocker = 1; |
|
50 // Advertise presence of PostVMInitHook: |
|
51 // future optimization: detect if this is enabled. |
|
52 info->post_vm_init_hook_enabled = 1; |
|
53 info->pending_list_uses_discovered_field = 1; |
|
54 } |
49 } |