mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
8247470: Fix CHeap GrowableArray NMT accounting
Reviewed-by: coleenp, tschatzl, kbarrett
This commit is contained in:
parent
0a108f9ef2
commit
77bdc30650
67 changed files with 144 additions and 158 deletions
|
@ -266,7 +266,7 @@ void decode_env::print_hook_comments(address pc, bool newline) {
|
|||
}
|
||||
_cached_src_lines->clear();
|
||||
} else {
|
||||
_cached_src_lines = new (ResourceObj::C_HEAP, mtCode)GrowableArray<const char*>(0, true);
|
||||
_cached_src_lines = new (ResourceObj::C_HEAP, mtCode)GrowableArray<const char*>(0, mtCode);
|
||||
}
|
||||
|
||||
if ((fp = fopen(file, "r")) == NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue