7018257: jmm_DumpThreads allocates into permgen

Don't allocate in permgen

Reviewed-by: ysr, sla
This commit is contained in:
Stefan Karlsson 2011-02-11 14:15:16 +01:00
parent 2c35cde750
commit 311bd2a9a9
3 changed files with 15 additions and 5 deletions

View file

@ -102,6 +102,7 @@ public:
// System object arrays
static objArrayOop new_system_objArray(int length, TRAPS);
static objArrayOop new_system_objArray(int length, bool in_perm_gen, TRAPS);
// Regular object arrays
static objArrayOop new_objArray(klassOop klass, int length, TRAPS);