為什么用線程池? 1.創(chuàng)建/銷毀線程伴隨著系統(tǒng)開銷,過于頻繁的創(chuàng)建/銷毀線程,會很大程度上影響處-理效率 2.線程并發(fā)數量過多,搶占系統(tǒng)資源從而導致阻塞 3.對線程進行一些簡...
為什么用線程池? 1.創(chuàng)建/銷毀線程伴隨著系統(tǒng)開銷,過于頻繁的創(chuàng)建/銷毀線程,會很大程度上影響處-理效率 2.線程并發(fā)數量過多,搶占系統(tǒng)資源從而導致阻塞 3.對線程進行一些簡...
~/Documents/workspace/openjdk/hotspot/src/share/vm/adlc/adlc.hpp:35:10: fatal error: 'iostream' file not found
#include <iostream>
^~~~~~~~~~
In file included from ~/Documents/workspace/openjdk/hotspot/src/share/vm/adlc/arena.cpp:25:
~/Documents/workspace/openjdk/hotspot/src/share/vm/adlc/adlc.hpp:35:10: fatal error: 'iostream' file not found
#include <iostream>
^~~~~~~~~~
error: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Werror,-Wstdlibcxx-not-found]
2 errors generated.
make[8]: *** [../generated/adfiles/arena.o] Error 1
make[8]: *** Waiting for unfinished jobs....
2 errors generated.
make[8]: *** [../generated/adfiles/archDesc.o] Error 1
In file included from ~/Documents/workspace/openjdk/hotspot/src/share/vm/adlc/dfa.cpp:26:
~/Documents/workspace/openjdk/hotspot/src/share/vm/adlc/adlc.hpp:35:10: fatal error: 'iostream' file not found
#include <iostream>
^~~~~~~~~~
2 errors generated.
make[8]: *** [../generated/adfiles/adlparse.o] Error 1
2 errors generated.
make[8]: *** [../generated/adfiles/dfa.o] Error 1
make[7]: *** [ad_stuff] Error 2
make[6]: *** [product] Error 2
make[5]: *** [generic_build2] Error 2
make[4]: *** [product] Error 2
make[3]: *** [all_product_universal] Error 2
make[2]: *** [universal_product] Error 2
make[1]: *** [~/Documents/workspace/openjdk/build/macosx-x86_64-normal-server-release/hotspot/_hotspot.timestamp] Error 2
make: *** [hotspot-only] Error 2
您好!我報這個錯,請問怎么改呢?謝謝
mac 10.13.x編譯openjdk8由于 mac high sierra 系統(tǒng)有較大的變動,所以專門寫一篇用mac high sierra 來編譯 openjdk8 的博客. 準備階段 mac 系統(tǒng)版本 10...