240 发简信
IP属地:江苏
  • Java常用四大线程池用法以及ThreadPoolExecutor详解

    为什么用线程池? 1.创建/销毁线程伴随着系统开销,过于频繁的创建/销毁线程,会很大程度上影响处-理效率 2.线程并发数量过多,抢占系统资源从而导致阻塞 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 系统有较大的变动,所以专门写一篇用mac high sierra 来编译 openjdk8 的博客. 准备阶段 mac 系统版本 10...