According to J2SE 5.0 Release 4 Release Notes > Outstanding Issues, you need to do this (or something equivalent) to get it working:
killall hsdbd
sudo jmap …
As the release notes say, this also applies for jinfo and jstack.
jinfo
jstack