mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
7143807: ResourceMark nesting problem in stringStream
Reviewed-by: kvn, dcubed
This commit is contained in:
parent
de0c86b0b4
commit
c716fa083c
5 changed files with 39 additions and 1 deletions
|
@ -218,6 +218,7 @@ Thread::Thread() {
|
|||
// allocated data structures
|
||||
set_osthread(NULL);
|
||||
set_resource_area(new (mtThread)ResourceArea());
|
||||
DEBUG_ONLY(_current_resource_mark = NULL;)
|
||||
set_handle_area(new (mtThread) HandleArea(NULL));
|
||||
set_metadata_handles(new (ResourceObj::C_HEAP, mtClass) GrowableArray<Metadata*>(30, true));
|
||||
set_active_handles(NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue