1 /* |
1 /* |
2 * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2018, 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. |
3609 } |
3609 } |
3610 init_page_sizes((size_t) Bsd::page_size()); |
3610 init_page_sizes((size_t) Bsd::page_size()); |
3611 |
3611 |
3612 Bsd::initialize_system_info(); |
3612 Bsd::initialize_system_info(); |
3613 |
3613 |
3614 // main_thread points to the aboriginal thread |
3614 // _main_thread points to the thread that created/loaded the JVM. |
3615 Bsd::_main_thread = pthread_self(); |
3615 Bsd::_main_thread = pthread_self(); |
3616 |
3616 |
3617 Bsd::clock_init(); |
3617 Bsd::clock_init(); |
3618 initial_time_count = javaTimeNanos(); |
3618 initial_time_count = javaTimeNanos(); |
3619 |
3619 |