Mercurial > hg > truffle
comparison src/os_cpu/solaris_x86/vm/vmStructs_solaris_x86.hpp @ 6093:960a442eae91
7161732: Improve handling of thread_id in OSThread
Reviewed-by: dholmes, kamg
author | rbackman |
---|---|
date | Tue, 22 May 2012 10:11:53 +0200 |
parents | f95d63e2154a |
children | 91bf7da5c609 |
comparison
equal
deleted
inserted
replaced
6082:4b37c0dafe3a | 6093:960a442eae91 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2000, 2012, 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. |
33 \ | 33 \ |
34 /******************************/ \ | 34 /******************************/ \ |
35 /* Threads (NOTE: incomplete) */ \ | 35 /* Threads (NOTE: incomplete) */ \ |
36 /******************************/ \ | 36 /******************************/ \ |
37 \ | 37 \ |
38 nonstatic_field(OSThread, _thread_id, thread_t) \ | 38 nonstatic_field(OSThread, _thread_id, OSThread::thread_id_t) \ |
39 \ | 39 \ |
40 /* This must be the last entry, and must be present */ \ | 40 /* This must be the last entry, and must be present */ \ |
41 last_entry() | 41 last_entry() |
42 | 42 |
43 #define VM_TYPES_OS_CPU(declare_type, declare_toplevel_type, declare_oop_type, declare_integer_type, declare_unsigned_integer_type, declare_c1_toplevel_type, declare_c2_type, declare_c2_toplevel_type, last_entry) \ | 43 #define VM_TYPES_OS_CPU(declare_type, declare_toplevel_type, declare_oop_type, declare_integer_type, declare_unsigned_integer_type, declare_c1_toplevel_type, declare_c2_type, declare_c2_toplevel_type, last_entry) \ |
44 \ | 44 \ |
45 /**********************/ \ | 45 /**********************/ \ |
46 /* Solaris Thread IDs */ \ | 46 /* Solaris Thread IDs */ \ |
47 /**********************/ \ | 47 /**********************/ \ |
48 \ | 48 \ |
49 declare_unsigned_integer_type(thread_t) \ | 49 declare_unsigned_integer_type(OSThread::thread_id_t) \ |
50 \ | 50 \ |
51 /* This must be the last entry, and must be present */ \ | 51 /* This must be the last entry, and must be present */ \ |
52 last_entry() | 52 last_entry() |
53 | 53 |
54 #define VM_INT_CONSTANTS_OS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant, last_entry) \ | 54 #define VM_INT_CONSTANTS_OS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant, last_entry) \ |