1、参数安全性重点关注精度及用于除数的非零检查;如果传入的时数组或对象或接口(指针类型),一定要检查其是否已经初始化,个人认为:指针类型的参数,就应该在那里创建的,就在那里销毁;try 创建 调用finally 销毁end;2、内部代码3、并发时,资源安全性函数被并发使用,或者其内部引用的共同资源,可能被其它过程使用时,一定要注意安全性;比哪数据库中的某个表,读写时一点要考虑被锁表;