使用 VS + SOS.dll 调试托管程序

  Visual Studio 作为一种强大的开发平台,已经提供了非常多的调试手段。但这些调试手段相对来说还是停留在表面上,无非是设置断点、变量查看以及调用堆栈列表等。某些时候我们希望了解更多的东西,尤其是那些被隐藏到背后和运行期的东西,诸如对象运行状态、内存分布等等,这些相对底层的知识可以让我们更好地理解 .NET CLR / JIT 的一些行为。当然,并不是所有人都需要了解这些知识,毕竟汇编和高级…

Describing a Maven Plugin

Describing a Maven Plugin Using the Maven Help Plugin Description Example Available parameters Description Displays a list of the attributes for a Maven Plugin and/or goals (aka Mojo - Maven plain Old Java Object). Deprecated. No reason given Implementation: org.apache.maven.plugins.help.DescribeMojo Language: java 回页首 Example You must specify either: both 'groupId'…

Android Dev Tips (持续更新)

Android Dev Tips 编译整个android source 如何启动emulator export ANDROID_PRODUCT_OUT=~/Android/mydroid/out/target/product/generic/ ./out/host/linux-x86/bin/emulator -kernel ~/Android/mydroid/prebuilt/android-arm/kernel/kernel-qemu -ramdisk ~/Android/mydroid/out/target/product/generic/ramdisk.img -system ~/Android/mydroid/out/target/product/generic/system.img -partition-s…

Android 2.3.4

Android 2.3.4 provides the same framework API to applications as Android 2.3.3 (API level 10).  Android 2.3.4 的API框架和 Android 2.3.3完全一样的,难怪eclipse获取不到2.3.4的SDK API   mark一下!   android 2.3.4支持gtalk视频电话,类似iPhone4的facetime~   但还是没有看到拨打可视电话的功能!!   I need android native video calls :( i9000 的VideoCall.apk要是能搞到,然后反编…

Timed out waiting for signal from JVM.

Symptoms Seeing the following errors in the wrapper.log file. JVM appears hung: Timed out waiting for signal from JVM. ERROR | wrapper | 2009/02/23 03:39:39 | JVM did not exit on request, terminated DEBUG | wrapper | 2009/02/23 03:39:40 | Waiting 5 seconds before launching another JVM. STATUS | wrapper | 2009/02/23 03:39:44 | Launching a JVM... Cause This message usuall…

Just in Time Compiler (JIT) in Hotspot

What is JIT Compiler? The Just In Time Compiler (JIT) concept and more generally adaptiveoptimization is well known concept in many languages besides Java (.Net, Lua,JRuby). In order to explain what is JIT Compiler I want to start with a definition ofcompiler concept. According to wikipedia compiler is "a computer programthat transforms the source language into another …

hardcore java 学习笔记2——java in review

Hardcore Java hardcore java 是一本非常好的书,在第一章中,作者就整理了很多知识,下面再罗列一下精华: java中核心概念:java指针,继承,RTTI是最关键的三个概念。 1. 指针:很多说法认为java没有指针,java更喜欢叫它“引用”,引用就是对象句柄了。但是,这里作者指出,java的“引用”符合计算机科学中对指针的概念,和传统的C/C++相比,java指针没有比较的功能而已。而指针并不一定要有“比较”才…

在Eclipse中远程调试Applet

第一步,需要配置java控制面板信息。         依次按下Control Panel->Java Control Panel->Java Tab->Java Applet Runtime Settings->View,在弹出的对话框的Java Runtime Parameters中输入agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9999 第二步,需要配置Eclipse的远程调试信息         依次按下Debug->Debug Configurations->Remote Java Application,填入…