mcheung63 发表于 2016-01-02 00:41

One side effect about changing the kernel from c to c++

One side effect about changing the kernel from c to c++ is that: in the kernel file, the number of dwarf information will increase dramatically from 1,000 to 1,550,000. This let the peter-dwarf parser work slowing to build a tree to display it (But the dwarf parsing still fast). I added the parameter in PeterDwarfPanel constructor to disable to display too much abbrev list in every compilation unit. This make GKD about to start in 5 seconds, before doing this, it take me 25 seconds to popup the GKD main screen.

http://peter.kingofcoders.com/wp-content/uploads/2016/01/dwarf-too-much-for-c.png
页: [1]
查看完整版本: One side effect about changing the kernel from c to c++