src/share/vm/services/attachListener.cpp

changeset 4492
8b46b0196eb0
parent 4193
716c64bda5ba
child 5047
31a4e55f8c9d
     1.1 --- a/src/share/vm/services/attachListener.cpp	Thu Jan 24 23:30:45 2013 -0800
     1.2 +++ b/src/share/vm/services/attachListener.cpp	Fri Jan 25 10:04:08 2013 -0500
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -170,7 +170,6 @@
    1.11    return JNI_OK;
    1.12  }
    1.13  
    1.14 -#ifndef SERVICES_KERNEL   // Heap dumping not supported
    1.15  // Implementation of "dumpheap" command.
    1.16  // See also: HeapDumpDCmd class
    1.17  //
    1.18 @@ -212,7 +211,6 @@
    1.19    }
    1.20    return JNI_OK;
    1.21  }
    1.22 -#endif // SERVICES_KERNEL
    1.23  
    1.24  // Implementation of "inspectheap" command
    1.25  // See also: ClassHistogramDCmd class
    1.26 @@ -382,9 +380,7 @@
    1.27  static AttachOperationFunctionInfo funcs[] = {
    1.28    { "agentProperties",  get_agent_properties },
    1.29    { "datadump",         data_dump },
    1.30 -#ifndef SERVICES_KERNEL
    1.31    { "dumpheap",         dump_heap },
    1.32 -#endif  // SERVICES_KERNEL
    1.33    { "load",             JvmtiExport::load_agent_library },
    1.34    { "properties",       get_system_properties },
    1.35    { "threaddump",       thread_dump },

mercurial