Describe the bug
Following oql query don't show anything.
select map(heap.classes(), 'toArray(it.fields)')
|
this.fields = wrapIterator(jclass.fields.iterator(), true); |
you need to implement it as accessor function or just replace the above line to below.
this.fields = function(){return wrapIterator(jclass.fields.iterator(), true);}
Thank you.
Describe the bug
Following oql query don't show anything.
select map(heap.classes(), 'toArray(it.fields)')
visualvm/visualvm/libs.profiler/profiler.oql/src/org/graalvm/visualvm/lib/profiler/oql/engine/api/impl/hat.js
Line 461 in f7e6b4a
you need to implement it as accessor function or just replace the above line to below.
this.fields = function(){return wrapIterator(jclass.fields.iterator(), true);}
Thank you.