Topic
1 reply Latest Post - ‏2013-02-11T16:26:42Z by Ian_Partridge
tonye1
tonye1
1 Post
ACCEPTED ANSWER

Pinned topic JVMDUMP027W message: Guidance to get heapdumps?

‏2013-02-11T16:12:56Z |
Hi,
My customer requires heapdumps for diagnostics, but are getting the following in
stderr log
native_stderr.log.021113005001:JVMDUMP027W The requested heapdump has not been produced because another component is holding the VM exclusive lock.

This is on Websphere 7.0.0.21 JVM.

The infocenter basically says, "Wait and try again later", but what if you absolutely must have the heapdump? Is there a way to force the heap dump
(like, another kill switch or kill swith combination?)
-Tony
Updated on 2013-02-11T16:26:42Z at 2013-02-11T16:26:42Z by Ian_Partridge
  • Ian_Partridge
    Ian_Partridge
    23 Posts
    ACCEPTED ANSWER

    Re: JVMDUMP027W message: Guidance to get heapdumps?

    ‏2013-02-11T16:26:42Z  in response to tonye1
    You can add the JVM option

    -Xdump:heap:defaults:request=

    This will turn off the request for exclusive access. Be aware that the reason we ask for exclusive access is so that no Java heap can be mutating the heap. By disabling exclusive access you run the risk that your heapdump will be corrupt.