Mercurial > hg > truffle
diff src/share/vm/services/heapDumper.cpp @ 14518:d8041d695d19
Merged with jdk9/dev/hotspot changeset 3812c088b945
author | twisti |
---|---|
date | Tue, 11 Mar 2014 18:45:59 -0700 |
parents | dcca80b5e7e7 |
children | 4ca6dc0799b6 |
line wrap: on
line diff
--- a/src/share/vm/services/heapDumper.cpp Wed Mar 12 00:00:05 2014 +0100 +++ b/src/share/vm/services/heapDumper.cpp Tue Mar 11 18:45:59 2014 -0700 @@ -1604,6 +1604,18 @@ } } } + StackValueCollection *exprs = jvf->expressions(); + for(int index = 0; index < exprs->size(); index++) { + if (exprs->at(index)->type() == T_OBJECT) { + oop o = exprs->obj_at(index)(); + if (o != NULL) { + writer()->write_u1(HPROF_GC_ROOT_JAVA_FRAME); + writer()->write_objectID(o); + writer()->write_u4(thread_serial_num); + writer()->write_u4((u4) (stack_depth + extra_frames)); + } + } + } } else { // native frame if (stack_depth == 0) {