如何简单的得到Java进程的stack trace dump
如何简单的得到Java进程的stack trace dump 最简单直接变态的方法是:找到这个java进程的id(linux下的ps或者windows下的jps),直接kill掉。 1kill -3 pid java虚拟机没有hang住的情况下会立即dump stack trace;否则需要...
Javascript 数据类型和值
Javascript 类型 五个基本类型(primitive data type) number,特殊的是NaN,Infinity,-Infinity。 NaN(Not a Number)实际上还是Number类型 string boolean undefined,唯一值是unde...
cluster nad non-cluster index
clustered and nonclustered indexes A clustered index is a special type of index that reorders the way records in the table are physically stored. ...
JDK中用到的设计模式
JDK中用到的设计模式 java.io 中用到了装饰模式和适配器模式 装饰模式, In general, each read request made of a Reader causes a corresponding read request to be made of the under...
code review
Code Review时考虑到的有 从Collection中remove出来的对象标记为null 少用静态变量(全局变量,静态变量不会被GC自动回收?) 避免把生命周期不同的对象堆在一起成为一个大的对象 JDBC Connection/Statement&#x...
The difference between==and===in JavaScript
In JavaScript,==and===both represent logic, etc. The difference is that:*When doing logic and other tasks, perform type co...
Java GC Strategy
The GC strategy of Sun Hotspot JVM is generational: Yong Generation: Eden, Survivor1, Survivor2 Scavenge GC, Copy algorithm, frequent GC Old(Tenur...
Dynamic Proxy in Java
The implementation of dynamic proxy in JDK that only supports interfaces is as follows: Call static methods in java.lang.reflect.Proxy newProxyIns...
How to restrict the calling of interfaces in Web Services
Join WS Security Policy? Add gateway security filtering before Web Service? Add user ID/caller ID and org ID/name information to ...
Websphere Portal User Management
Through the following call chain *PUMA interface Portal, Portlets PUMA (Portal User Management Architecture) WMM (Websphere Member Manager) The ...