comparison src/os_cpu/solaris_sparc/vm/vmStructs_solaris_sparc.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.
34 /******************************/ \ 34 /******************************/ \
35 /* Threads (NOTE: incomplete) */ \ 35 /* Threads (NOTE: incomplete) */ \
36 /******************************/ \ 36 /******************************/ \
37 \ 37 \
38 nonstatic_field(JavaThread, _base_of_stack_pointer, intptr_t*) \ 38 nonstatic_field(JavaThread, _base_of_stack_pointer, intptr_t*) \
39 nonstatic_field(OSThread, _thread_id, thread_t) \ 39 nonstatic_field(OSThread, _thread_id, OSThread::thread_id_t) \
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 43
44 #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 #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) \
45 \ 45 \
46 /**********************/ \ 46 /**********************/ \
47 /* Solaris Thread IDs */ \ 47 /* Solaris Thread IDs */ \
48 /**********************/ \ 48 /**********************/ \
49 \ 49 \
50 declare_unsigned_integer_type(thread_t) \ 50 declare_unsigned_integer_type(OSThread::thread_id_t) \
51 \ 51 \
52 /* This must be the last entry, and must be present */ \ 52 /* This must be the last entry, and must be present */ \
53 last_entry() 53 last_entry()
54 54
55 55