漢辰攻略

          The palest ink is better than the best memory.

            BlogJava :: 首頁 :: 聯系 :: 聚合  :: 管理
            8 Posts :: 1 Stories :: 3 Comments :: 0 Trackbacks

          2008年10月30日 #

        1. C-j: Insert a new line with the same indentation level as the current line
        2. RET: Insert a new line with the same indentation level as the current line
        3. C-M-a: Go to the beginning of the current function or class
        4. C-M-e: Go to the end of the current function or class
        5. C-M-h: Mark the current function or class for copying, etc.
        6. C-M-x: Execute the current function or class
        7. C-c C-b: Submit a bug report
        8. C-c C-c: Execute the buffer (i.e., the file being displayed)
        9. C-c C-d: Trace the stack of the process being executed
        10. C-c C-h: Get context-based help
        11. C-c TAB: Indent a highlighted (or marked) region
        12. C-c C-k: Mark a block of text. Using this at the head of a class or function definition will mark the entire block.
        13. C-c C-l: Shift the region to the left. If the cursor is in the middle of a region, the lower half of the region will shift.
        14. C-c RET: Execute the current file, opening a new window to show the output.
        15. C-c C-n: Jump to the next statement.
        16. C-c C-p: Jump to the previous statement.
        17. C-c C-r: Shift the region to the right. If the cursor is in the middle of a region, the lower half of the region will shift.
        18. C-c C-s: Execute a Python command.
        19. C-c C-t: Toggle shells
        20. C-c C-u: Go up one block
        21. C-c C-v: List the version of the Python mode
        22. C-c C-w: Run PyChecker
        23. C-c !: Open the Python interactive shell
        24. C-c #: Comment the highlighted (marked) region
        25. C-c :: Check the indentation off-set
        26. C-c <: Shift the region to the left
        27. C-c >: Shift the region to the right
        28. C-c ?: Show Python mode documentation
        29. C-c |: Execute the highlighted (marked) part of the current program.
        30. posted @ 2008-11-12 14:11 漢辰 閱讀(1071) | 評論 (0)編輯 收藏

          --XX:+DoEscapeAnalysis, off by default
          如果一個對象的所有引用都是限于某一局部范圍,去掉對象上的鎖
          --XX:+UseBiasedLocking, on by default
          對多次取鎖的操作,比如循環,不釋放Lease即使鎖已被釋放,避免費時的取Lease操作 (最有效)
          --XX:+EliminateLocks, on by default
          如果一段代碼經常性的加鎖和解鎖,在解鎖與下次加鎖之間又沒干什么事情,則可以將多次加加鎖解鎖操作合并成一對。也稱為Lock Coarsening (鎖粗化)

          http://www.infoq.com/articles/java-threading-optimizations-p1
          posted @ 2008-10-30 15:33 漢辰 閱讀(672) | 評論 (0)編輯 收藏

          主站蜘蛛池模板: 黔西| 博湖县| 北宁市| 常熟市| 林甸县| 韶山市| 罗江县| 黔西县| 万山特区| 定兴县| 本溪| 察雅县| 高唐县| 乐昌市| 靖宇县| 景东| 长沙县| 阿巴嘎旗| 崇礼县| 沿河| 安达市| 高清| 霞浦县| 金沙县| 台安县| 保山市| 佛教| 宁乡县| 长顺县| 禹城市| 大邑县| 桦南县| 金堂县| 惠东县| 岑巩县| 雷山县| 香格里拉县| 喀什市| 汉源县| 德江县| 定安县|