Re: BoundMethodHandle Klass and JVMTI heap walking

2011-08-06 Thread Mark Roos
Well that does explain why I have references to BoundMethodHandles but it did not explain why I see them. When I use FollowReferences I set the Klass filter to my desired result class 'myClass'. But what I see after the filter is myClass objects, arrays of myClass and BoundMethodHandles. Not q

Re: BoundMethodHandle Klass and JVMTI heap walking

2011-08-03 Thread John Rose
On Aug 2, 2011, at 6:44 PM, Mark Roos wrote: > We are using the JVMTI api FollowReferences to collect object information. > In this > api we can set a klass which limits the objects reported. For some reason we > get instances of the > klass we set and BoundMethodHandle instances. BoundMet

BoundMethodHandle Klass and JVMTI heap walking

2011-08-02 Thread Mark Roos
We are using the JVMTI api FollowReferences to collect object information. In this api we can set a klass which limits the objects reported. For some reason we get instances of the klass we set and BoundMethodHandle instances. Are they somehow masquerading as a different class ( they are bindi