hotspot/src/share/vm/runtime/handles.hpp
changeset 25946 1572c9f03fb9
parent 22551 9bf46d16dcc6
child 29081 c61eb4914428
equal deleted inserted replaced
25902:7e9ffb1fe1df 25946:1572c9f03fb9
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2014, 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.
   225   int _no_handle_mark_nesting;
   225   int _no_handle_mark_nesting;
   226 #endif
   226 #endif
   227   HandleArea* _prev;          // link to outer (older) area
   227   HandleArea* _prev;          // link to outer (older) area
   228  public:
   228  public:
   229   // Constructor
   229   // Constructor
   230   HandleArea(HandleArea* prev) : Arena(Chunk::tiny_size) {
   230   HandleArea(HandleArea* prev) : Arena(mtThread, Chunk::tiny_size) {
   231     debug_only(_handle_mark_nesting    = 0);
   231     debug_only(_handle_mark_nesting    = 0);
   232     debug_only(_no_handle_mark_nesting = 0);
   232     debug_only(_no_handle_mark_nesting = 0);
   233     _prev = prev;
   233     _prev = prev;
   234   }
   234   }
   235 
   235