摘要: 转自:http://www.iteye.com/topic/6345301.寄存器:最快的存储区, 由编译器根据需求进行分配,我们在程序中无法控制.2. 栈:存放基本类型的变量数据和对象的引用,但对象本身不存放在栈中,而是存放在堆(new 出来的对象)或者常量池中(对象可能在常量池里)(字符串常量对... 阅读全文
posted @ 2013-12-03 11:11 起始页 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 一、简介线程池类为 java.util.concurrent.ThreadPoolExecutor,常用构造方法为:ThreadPoolExecutor(int corePoolSize, int maximumPoolSize,long keepAliveTime, TimeUnit unit,B... 阅读全文
posted @ 2013-12-03 09:33 起始页 阅读(211) 评论(0) 推荐(0) 编辑