Andrew Haley wrote:
Andrew John Hughes wrote:
2009/4/9 Alan Bateman <alan.bate...@sun.com>:
icedtea-jvmtiEnv.patch - I thought JvmtiEnv::GetLineNumberTable already
handled this case so I'm curious why this one is needed.
Added by Andrew Haley as part of work on Shark; perhaps he can explain.
GetLineNumberTable checks for a missing table but not for a zero-length
one. I had a crash in Shark, but I can't remember exactly where.
Andrew.
I need to double-check the VM and JVM TI specs but off-hand, I believe a
zero-length table is possible. I wonder if this was a case of the agent
not handling the zero-length case. Anyway, if you do remember the
details please send them on to serviceability-dev.
-Alan.