免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 939 | 回复: 0
打印 上一主题 下一主题

Solaris Developer Quiz January 31, 2007 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-01-15 18:11 |只看该作者 |倒序浏览
Which of the following could be useful in finding memory leaks?
a) mdb
b) dbx
c) libumem
d) All of the above.


The correct answer is d. All of the above.

The Modular Debugger ('mdb') is an extensible utility for low-level debugging and editing of a live operating system, operating system crash dumps, user processes, user process core dumps, and object files.

'dbx', part of the Sun Studio compiler and tools, is an interactive, source-level, command-line debugging tool. You can use it to run a program in a controlled manner and to inspect the state of a stopped program. You can use 'dbx' to debug an application written in C, C++, or Fortran. You can also, with some limitations, debug an application that is a mixture of Java code and C JNI(Jave Native Interface) code or C++ JNI code, including code developed with the Native Connector tool(NCT).

'libumen' is a port of the kernel memory allocator to the user level. The slab nomenclature denotes one or more virtual memory(VM) pages which are split into equal size buffers. The buffer contains the user's data and in addition can, depending on the environment settings, contain the debug information that will help the application developer find and repair memory management bugs.


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/27174/showart_465041.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP