鍦ㄥ仛緗戠粶鐩戞帶緋葷粺鐨?span style="border-bottom: #ff0000 1px solid; line-height: normal; word-wrap: break-word; white-space: nowrap; cursor: pointer" href="tag.php?name=%D0%D4%C4%DC%B2%E2%CA%D4">鎬ц兘嫻嬭瘯鏃訛紝鍑虹幇浜?span style="border-bottom: #ff0000 1px solid; line-height: normal; word-wrap: break-word; white-space: nowrap; cursor: pointer" href="tag.php?name=%C4%DA%B4%E6">鍐呭瓨娉勯湶鐨勯棶棰橈紝鍥版壈浜嗗緢涔咃紝鐜板湪緇堜簬綆楁槸瑙e喅浜嗭紝浣嗘槸鏍規湰鍘熷洜灝氫笉鏄庣‘錛屾嬁鍑烘潵澶у璁ㄨ涓嬶紝鐪嬬湅鑳戒笉鑳藉畬緹庤В鍐籌綖
榪欎釜闂濂囨殑鍦版柟鍦ㄤ簬鏄?span style="border-bottom: #ff0000 1px solid; line-height: normal; word-wrap: break-word; white-space: nowrap; cursor: pointer" href="tag.php?name=Java">Java榪涚▼鍐呭瓨娉勯湶錛岃屼笉鏄鉤甯哥殑JVM鍐呭瓨娉勯湶錛岀敤Jprofile絳?span style="border-bottom: #ff0000 1px solid; line-height: normal; word-wrap: break-word; white-space: nowrap; cursor: pointer" href="tag.php?name=%B9%A4%BE%DF">宸ュ叿涔熸棤娉曠湅鍑洪棶棰樻墍鍦ㄣ?br style="line-height: normal; word-wrap: break-word" />
嫻嬭瘯
浠g爜濡備笅錛?br />
1 System.loadLibrary("test1");
2
3 int threadPoolSize = 400;
4 ExecutorService service = Executors.newFixedThreadPool(threadPoolSize);
5
6 for (int i = 0; i < 400; i++) {
7 service.submit(new Runnable() {
8 public void run() {
9 while (true) {
10 try {
11 Thread t = new Thread();
12 t.start();
13 Thread.sleep(100);
14 } catch (Exception e) {
15 e.printStackTrace();
16 }
17 }
18 }
19 });
20 }