mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8212605: Pure-Java implementation of AccessController.doPrivileged
Reviewed-by: dholmes, mullan, vlivanov, mchung, alanb, rriggs
This commit is contained in:
parent
c8c41d1444
commit
a9ae141836
24 changed files with 213 additions and 450 deletions
|
@ -1882,14 +1882,9 @@ class JavaThread: public Thread {
|
|||
void thread_main_inner();
|
||||
|
||||
private:
|
||||
// PRIVILEGED STACK
|
||||
PrivilegedElement* _privileged_stack_top;
|
||||
GrowableArray<oop>* _array_for_gc;
|
||||
public:
|
||||
|
||||
// Returns the privileged_stack information.
|
||||
PrivilegedElement* privileged_stack_top() const { return _privileged_stack_top; }
|
||||
void set_privileged_stack_top(PrivilegedElement *e) { _privileged_stack_top = e; }
|
||||
void register_array_for_gc(GrowableArray<oop>* array) { _array_for_gc = array; }
|
||||
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue