锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲av综合av一区,国产精品久久久久久亚洲小说,亚洲欧美国产日韩av野草社区http://www.tkk7.com/happyenjoylife/zh-cnMon, 12 May 2025 14:35:46 GMTMon, 12 May 2025 14:35:46 GMT60mysql innodb瀛樺偍涓庣儲寮曠殑鎬葷粨http://www.tkk7.com/happyenjoylife/archive/2011/12/17/366639.htmlhappyenjoylifehappyenjoylifeSat, 17 Dec 2011 08:36:00 GMThttp://www.tkk7.com/happyenjoylife/archive/2011/12/17/366639.htmlhttp://www.tkk7.com/happyenjoylife/comments/366639.htmlhttp://www.tkk7.com/happyenjoylife/archive/2011/12/17/366639.html#Feedback2http://www.tkk7.com/happyenjoylife/comments/commentRss/366639.htmlhttp://www.tkk7.com/happyenjoylife/services/trackbacks/366639.htmlInnodb瀛樺偍

琛ㄧ┖闂存槸閫昏緫瀛樻斁鎵鏈夋暟鎹殑鍦版柟錛岄粯璁ゆ儏鍐典笅浼氬叡浜竴涓〃絀洪棿——ibdata1錛屼絾濡傛灉鎶?/span>innodb_file_per_table=ON鍚庢瘡寮犺〃鍙互鍗曠嫭鏀懼埌涓涓〃絀洪棿鍐咃紝浣嗚繕鏄湁寰堝鏁版嵁淇濆瓨鍦ㄥ叡浜殑琛?/span>ibdata1涓紝濡?/span>undo淇℃伅絳夈?/span>

 

琛ㄧ┖闂寸敱鍚勭孌?/span>(segment)緇勬垚錛屽父瑙佺殑孌墊湁鏁版嵁孌點佺儲寮曟絳夈?/span>Innodb鏄儲寮曠粍緇囩殑錛屾暟鎹灝辨槸clustered index鐨勫彾緇撶偣銆傞渶瑕佹敞鎰忕殑鏄紝涓嶆槸姣忎釜瀵硅薄閮芥湁孌點?/span>

 

鍖?/span>(extend)鏄敱64涓繛緇殑欏電粍鎴愶紝姣忎釜欏碉紙page錛夊浐瀹氫負16KB錛屾墍浠ユ瘡涓尯鎬誨叡涓?/span>1M銆傞〉鏄?/span>innodb鏈灝忕殑紓佺洏綆$悊鍗曚綅銆?/span>

 

Innodb鏄寜琛岃繘琛屽瓨鏀劇殑錛屾瘡涓尯鏈灝戝彲浠ヤ繚瀛?/span>2鏉¤褰曪紝鍚﹀垯灝辨垚閾懼紡緇撴瀯浜嗐傛瘡琛屾暟鎹櫎浜嗚嚜瀹氫箟鍒椾互澶栵紝榪樹細澧炲姞浜嬪姟id鍜屽洖婊氭寚閽堝垪銆傚鏋滄病鏈夊畾涔?/span>primary key涔熸病鏈?/span>not null鐨?/span>unique,鍒欎細澧炲姞6瀛楄妭鐨?/span>RowId鍒椾綔涓轟富閿?br />        
            鍥劇墖鏉ヨ嚜錛?a >http://www.cnblogs.com/chjw8016/archive/2011/03/08/1976891.html

Innodb琛ㄧ殑闄愬埗

        涓涓〃涓嶈兘鍖呭惈瓚呰繃1000鍒椼?/span>

  鍐呴儴鏈澶ч敭闀垮害鏄?/span>3500瀛楄妭錛屼絾MySQL鑷繁闄愬埗榪欎釜鍒?/span>1024瀛楄妭銆?/span>

  闄や簡VARCHAR, BLOB鍜?/span>TEXT鍒楋紝鏈澶ц闀垮害紼嶅井灝忎簬鏁版嵁搴撻〉鐨勪竴鍗娿傚嵆錛屾渶澶ц闀垮害澶х害8000瀛楄妭銆?/span>LONGBLOB鍜?/span>LONGTEXT鍒楀繀欏誨皬浜?/span>4GB, 鎬葷殑琛岄暱搴︼紝欏靛寘鎷?/span>BLOB鍜?/span>TEXT鍒楋紝蹇呴』灝忎簬4GB銆?/span>InnoDB鍦ㄨ涓瓨鍌?/span>VARCHAR錛?/span>BLOB鎴?/span>TEXT鍒楃殑鍓?/span>768瀛楄妭錛屼綑涓嬬殑瀛樺偍鐨勫垎鏁g殑欏典腑銆?/span>

铏界劧InnoDB鍐呴儴鍦版敮鎸佽灝哄澶т簬65535錛屼綘涓嶈兘瀹氫箟涓涓寘鍚?/span>VARCHAR鍒楃殑錛屽悎騫跺昂瀵稿ぇ浜?/span>65535鐨勮銆?/span>

·                mysql> CREATE TABLE t (a VARCHAR(8000), b VARCHAR(10000),

·                    -> c VARCHAR(10000), d VARCHAR(10000), e VARCHAR(10000),

·                    -> f VARCHAR(10000), g VARCHAR(10000));

·                ERROR 1118 (42000): Row size too large. The maximum row size for the

·                used table type, not counting BLOBs, is 65535. You have to change some

·                columns to TEXT or BLOBs

 鍦ㄤ竴浜涙洿鑰佺殑鎿嶄綔緋葷粺涓婏紝鏁版嵁鏂囦歡蹇呴』灝忎簬2GB銆?/span>

 InnoDB鏃ュ織鏂囦歡鐨勫悎騫跺昂瀵稿繀欏誨皬浜?/span>4GB銆?/span>

鏈灝忕殑琛ㄧ┖闂村昂瀵告槸10MB銆傛渶澶х殑琛ㄧ┖闂村昂瀵告槸4,000,000,000涓暟鎹簱欏碉紙64TB錛夈傝繖涔熸槸涓涓〃鐨勬渶澶у昂瀵搞?/span>

 InnoDB琛ㄤ笉鏀寔FULLTEXT绱㈠紩

 

Innodb绱㈠紩

榛樿鎯呭喌涓?/span>Memory浣跨敤瀛樺偍hash绱㈠紩錛屼絾涔熸敮鎸?/span>b+tree绱㈠紩銆?/span>Hash绱㈠紩鍙敤浜?/span>=鎴栬?/span><=>鐨勭瓑寮忔瘮杈冿紝涓嶈兘鐢ㄦ潵鍔犻?/span>order by鎿嶄綔錛屽彧鑳介氳繃鍏抽敭瀛楁潵鎼滅儲涓琛屻?/span>innodb鍙敮鎸?/span>b+鏍戠儲寮曪紝榪涗竴姝ュ垎涓?/span>clustered index 涓庛secondary index銆傚湪涓嬈℃煡璇腑錛屽彧鑳戒嬌鐢ㄤ竴涓儲寮曘?/span>

        

Innodb鏄儲寮曠粍緇囪〃錛?/span>clustered index鐨勫彾緇撶偣淇濆瓨鐫鏁磋鐨勬暟鎹傚鏋滐紝瀹氫箟浜?/span>primary key錛屽垯clustered index灝辨槸primary key鐨勭儲寮曪紱濡傛灉娌℃湁瀹氫箟primary key mysql浼氶変腑絎竴涓粎鏈?/span>not null鍒楃殑unique绱㈠紩浣滀負涓婚敭錛屽茍鎶婃绱㈠紩褰撲綔clustered index浣跨敤錛涘鏋滄病鎵懼埌榪欐牱鐨勫垪錛?/span>innodb浼氬垱寤轟竴涓?/span>6瀛楄妭鐨?/span>RowId浣滀負涓婚敭銆傛墍浠ユ瘡寮犺〃鏈変笖鍙湁涓涓?/span>clustered index銆?/span>

 

         Secondary index鐨勫彾緇撶偣涓嶅寘鎷鐨勫叏閮ㄦ暟鎹紝鍖呭惈閿間互澶栬繕鍖呮嫭涓涓?/span>bookmark錛屽彲浠ュ憡璇?/span>innodb鍒頒粈涔堝湴鏂瑰彲浠ユ壘鍒扮浉瀵瑰簲鐨勫畬鏁磋鏁版嵁錛岃繕淇濆瓨浜嗕富閿殑鍋ュ箋?/span>Secondary index鍖呭惈涓婚敭錛屼絾涓嶅寘鍚畬鏁寸殑琛屾暟鎹紝鎵浠?/span>innodb鎬繪槸浼氬厛浠?/span>secondary index鐨勫彾鑺傜偣鍒ゆ柇鏄惁鑳藉緱鍒版墍闇鐨勬暟鎹傚,

         Create table t(a int, b varchar(20), primary key(a), key(b));

Explain select * from t;

         浼氬彂鐜?/span>mysql閫夋嫨浜嗙儲寮?/span>b錛岃屼笉鏄?/span>a.

澶嶅悎绱㈠紩

         澶嶅悎绱㈠紩鏄湪澶氬垪錛?/span>>=2錛変笂寤虹珛鐨勭儲寮曪紝鍙堝彨澶氬垪绱㈠紩鎴栬仈鍚堢儲寮曘?/span>Innodb涓殑澶嶅悎绱㈠紩涔熸槸b+ tree緇撴瀯銆傜儲寮曠殑鏁版嵁鍖呭惈澶氬垪(col1, col2, col3…)錛屽湪绱㈠紩涓緷嬈℃寜鐓?/span>col1, col2, col3鎺掑簭銆傚(1, 2), (1, 3),(2,0)…

 

         浣跨敤澶嶅悎绱㈠紩瑕佸厖鍒嗗埄鐢ㄦ渶宸﹀墠緙鍘熷垯錛岄【鍚嶆濅箟錛屽氨鏄渶宸︿紭鍏堛傚鍒涘緩绱㈠紩ind_col1_col2(col1, col2)錛岄偅涔堝湪鏌ヨwhere col1 = xxx and col2 = xx鎴栬?/span>where col1 = xxx閮藉彲浠ヨ蛋ind_col1_col2绱㈠紩銆?/span>

鍦ㄥ垱寤哄鍒楃儲寮曟椂錛岃鏍規嵁涓氬姟闇姹傦紝where瀛愬彞涓嬌鐢ㄦ渶棰戠箒涓旇繃婊ゆ晥鏋滃ソ鐨勭殑涓鍒楁斁鍦ㄦ渶宸﹁竟銆?/span>

绱㈠紩鎿嶄綔

         鍙互閫氳繃DML璇彞鎿嶄綔innodb绱㈠紩銆傚洜涓?/span>innodb鏄儲寮曠粍緇囩殑琛紝瀵圭儲寮曠殑鎿嶄綔浼氶犳垚閿佽〃錛屽厛鐢熸垚涓寮犱復鏃惰〃錛屽皢鏁版嵁浠庡師濮嬭〃涓啓鍒頒復鏃惰〃錛屽啀灝嗗師濮嬭〃鍒犻櫎錛屾渶鍚庡皢涓存椂琛ㄨ〃鍚嶆敼涓哄師濮嬭〃琛ㄥ悕錛佸洜澧炲姞銆佸垹闄ゃ佷慨鏀瑰瓧孌典細瀵逛富绱㈠紩浜х敓褰卞搷錛屾墍浠ヤ篃浼氶攣琛ㄣ傚secondary index浠?/span>Innodb plugin寮濮嬶紝鏀寔蹇熺儲寮曞垱寤虹殑鏂規硶錛屽湪鍒涘緩鐨勮繃紼嬩腑涓嶉渶瑕侀噸寤鴻〃錛屾墍浠ラ熷害浼氬緢蹇紝鍚屾椂寮曟搸浼氬湪琛ㄤ笂鍔?/span>S閿侊紝鍦ㄥ垱寤鴻繃紼嬩腑鍙兘榪涜璇繪搷浣溿?/span>

绱㈠紩璁捐鍘熷垯

1.       鎼滅儲鐨勭儲寮曞垪錛屼笉涓瀹氭槸鎵瑕侀夋嫨鐨勫垪銆備篃灝辨槸璇達紝鏈閫傚悎绱㈠紩鐨勫垪鏄嚭鐜板湪where瀛愬彞涓殑鍒楋紝鎴栬呰繛鎺ュ瓙鍙ヤ腑鎸囧畾鐨勫垪錛岃屼笉鏄嚭鐜板湪select鍏抽敭瀛楀悗鐨勯夋嫨鍒楄〃涓殑鍒椼?/span>

2.       浣跨敤鍞竴绱㈠紩銆傝冭檻鏌愬垪鐨勫垎甯冿紝绱㈠紩鐨勫垪鐨勫熀鏁拌秺澶э紝绱㈠紩鐨勬晥鏋滆秺濂姐備緥濡傦紝瀵規у埆M/F鍒楀仛绱㈠紩娌″澶х敤澶勩?/span>

3.       浣跨敤鐭儲寮曘傚鏋滄槸瀵瑰瓧絎︿覆榪涜绱㈠紩錛屽鏋滄湁鍙兘搴旇鎸囧畾鍓嶇紑闀垮害銆?/span>

4.       鍒╃敤鏈宸﹀墠緙銆傚敖閲忓皢浣跨敤棰戠箒涓旇繃婊ゆ晥鏋滃ソ鐨勫瓧孌墊斁“宸﹁竟”

5.       涓嶈榪囧害绱㈠紩銆?/span>

6.       Innodb榛樿浼氭寜鐓т竴瀹氱殑欏哄簭淇濆瓨鏁版嵁錛屽鏋滄槑紜畾涔変簡涓婚敭錛屽垯鎸夌収涓婚敭欏哄簭淇濆瓨銆傚鏋滄病鏈変富閿紝浣嗘湁鍞竴绱㈠紩錛屽氨鎸夌収鍞竴绱㈠紩鐨勯『搴忎繚瀛樸傚鏋滄湁鍑犱釜鍒楅兘鏄敮涓鐨勶紝閮藉彲浠ヤ綔涓轟富閿殑鏃跺欙紝涓轟簡鎻愰珮鏌ヨ鏁堢巼錛屽簲閫夋嫨鏈甯哥敤璁塊棶鐨勫垪浣滀負涓婚敭銆傚彟澶栵紝innodb鐨?/span>secondary index閮戒細淇濆瓨涓婚敭鐨勯敭鍊鹼紝鎵鏈変富閿灝藉彲鑳介夋嫨杈冪煭鐨勬暟鎹被鍨嬨傚彲浠ョ湅鍑猴紝搴斿綋灝介噺閬垮厤瀵逛富閿殑淇敼銆傜粡榪?/span>dba鐨勬祴璇曪紝淇濊瘉涓婚敭鐨勯掑鍙互鎻愰珮鎻掑叆鎬ц兘銆?/span>

 

Mysql濡備綍浣跨敤绱㈠紩

1.       瀵逛簬鍒涘緩鐨勫鍒楃儲寮曪紝鍙鏌ヨ鐨勬潯浠朵腑鐢ㄥ埌浜嗘渶宸﹁竟鐨勫垪錛岀儲寮曚竴鑸氨浼氳浣跨敤銆?/span>

2.       瀵逛簬浣跨敤like鐨勬煡璇紝鍚庨潰濡傛灉鏄父閲忓茍涓斿彧鏈?/span>%鍙蜂笉鍦ㄧ涓涓瓧絎︼紝绱㈠紩鎵嶅彲鑳借浣跨敤銆?/span>

3.       濡傛灉瀵瑰ぇ鏂囨湰榪涜鎼滅儲錛屽簲璇ヤ嬌鐢ㄥ叏鏂囩儲寮曪紝鑰屼笉鏄嬌鐢?/span>like ‘%...%’. 浣嗕笉騫哥殑鏄?/span>innodb涓嶆敮鎸佸叏鏂囩儲寮曘?/span>

4.       濡傛灉鍒楀悕鏄儲寮曪紝浣跨敤 index_column is null灝嗕嬌鐢ㄧ儲寮曘?/span>Oracle鏄笉琛岀殑銆?/span>

5.       濡傛灉mysql浼拌浣跨敤绱㈠紩姣斿叏琛ㄦ壂鎻忔洿鎱紝鏈涓嶄細浣跨敤绱㈠紩銆?/span>

6.       濡傛灉浣跨敤memory/head琛ㄥ茍涓?/span>where鏉′歡涓笉浣跨敤”=”榪涜绱㈠紩鍒楋紝閭d箞涓嶄細鐢ㄥ埌绱㈠紩銆?/span>Head琛ㄥ彧鏈夊湪”=”鐨勬椂鍊欐墠浼氫嬌鐢ㄧ儲寮曘?/span>

7.       鐢?/span>or鍒嗗壊寮鐨勬潯浠訛紝濡傛灉or鍓嶇殑鏉′歡涓殑鍒楁湁绱㈠紩錛岃屽悗闈㈠垪涓病鏈夌儲寮曪紝閭d箞娑夊強鍒扮殑绱㈠紩閮戒笉浼氳鐢ㄥ埌銆?/span>

8.       涓嶆槸澶氬垪绱㈠紩鐨勭涓閮ㄥ垎涓嶄細璧扮儲寮曘?/span>

9.       浠?/span>%寮濮嬬殑like涓嶄細璧扮儲寮?/span>

10.   濡傛灉鍒楁槸瀛楃涓詫紝閭d箞涓瀹氳鍦?/span>where鏉′歡涓妸瀛楃涓插父閲忓肩敤寮曞彿寮曡搗鏉ワ紝鍚﹀垯涓嶈兘璧扮儲寮曘傚洜涓猴紝mysql榛樿鎶婅緭鍏ョ殑甯擱噺鍊艱繘琛岃漿鎹互鍚庢墠榪涜媯绱€?/span>

11.   緇忚繃鏅氳繍綆楁垨鍑芥暟榪愮畻鍚庣殑绱㈠紩瀛楁涓嶈兘浣跨敤绱㈠紩

12.   涓嶇瓑浜庢搷浣滀笉鑳戒嬌鐢ㄧ儲錛?/span><>銆?/span>not in絳?/span>

13.   Order by 浼樺寲錛氭煇浜涙儏鍐典笅錛?/span>mysql鍙互浣跨敤涓涓儲寮曟弧瓚?/span>order by,鑰屼笉闇瑕侀澶栫殑鎺掑簭銆?/span>Where鏉′歡涓?/span>order by 浣跨敤鐩稿悓鐨勭儲寮曪紝騫朵笖order by鐨勯『搴忓拰绱㈠紩欏哄簭鐩稿悓錛屽茍涓?/span>order by鐨勫瓧孌甸兘鏄崌搴忔垨鑰呴兘鏄檷搴忋?/span>

SELECT * FROM t1 ORDER BY key_part1,key_part2,... ;

SELECT * FROM t1 WHERE key_part1=1 ORDER BY key_part1 DESC, key_part2

DESC;

SELECT * FROM t1 ORDER BY key_part1 DESC, key_part2 DESC;

浣嗘槸浠ヤ笅鎯呭喌涓嶄嬌鐢ㄧ儲寮曪細

SELECT * FROM t1 ORDER BY key_part1 DESC, key_part2 ASC 錛?/span>

--order by 鐨勫瓧孌墊販鍚?/span> ASC 鍜?/span> DESC

SELECT * FROM t1 WHERE key2=constant ORDER BY key1 錛?/span>

-- 鐢ㄤ簬鏌ヨ琛岀殑鍏抽敭瀛椾笌 ORDER BY 涓墍浣跨敤鐨勪笉鐩稿悓

SELECT * FROM t1 ORDER BY key1, key2 錛?/span>

-- 瀵逛笉鍚岀殑鍏抽敭瀛椾嬌鐢?/span> ORDER BY     

 

鍙互浣跨敤explain鏌ョ湅sql鐨勬墽琛岃鍒掋?/span>



]]>
[杞琞 Java bridge methods explainedhttp://www.tkk7.com/happyenjoylife/archive/2011/08/20/356919.htmlhappyenjoylifehappyenjoylifeSat, 20 Aug 2011 02:19:00 GMThttp://www.tkk7.com/happyenjoylife/archive/2011/08/20/356919.htmlhttp://www.tkk7.com/happyenjoylife/comments/356919.htmlhttp://www.tkk7.com/happyenjoylife/archive/2011/08/20/356919.html#Feedback0http://www.tkk7.com/happyenjoylife/comments/commentRss/356919.htmlhttp://www.tkk7.com/happyenjoylife/services/trackbacks/356919.htmlhttp://stas-blogspot.blogspot.com/2010/03/java-bridge-methods-explained.html
Bridge methods in Java are synthetic methods, which are necessary to implement some of Java language features. The best known samples are covariant return type and a case in generics when erasure of base method's arguments differs from the actual method being invoked.

Have a look at following example:

public class SampleOne {
public static class A<T> {
public T getT() {
return null;
}
}

public static class  B extends A<String> {
public String getT() {
return null;
}
}
}

Which in reality is just an example of covariant return type and after erasure will look like following snippet:

public class SampleOne {
public static class A {
public Object getT() {
return null;
}
}

public static class  B extends A {
public String getT() {
return null;
}
}
}

And after the compilation decompiled result class "B" will be following:
public class SampleOne$B extends SampleOne$A {
public SampleOne$B();

public java.lang.String getT();
Code:
0:   aconst_null
1:   areturn
public java.lang.Object getT();
Code:
0:   aload_0
1:   invokevirtual   #2// Call to Method getT:()Ljava/lang/String;
4:   areturn
}

Above you can see there is new synthetic method "java.lang.Object getT()" which is not present in source code. That method acts as bridge method and all is does is delegating invocation to "java.lang.String getT()". Compiler has to do that, because in JVM method return type is part of method's signature, and creation of bridge method is the way to implement covariant return type.

Now have a look at following example which is generics-specific:
public class SampleTwo {
public static class A<T> {
public T getT(T args) {
return args;
}

}


public static class B extends A<String> {
public String getT(String args) {
return args;
}

}

}

after compilation class "B" will be transformed into following:
public class SampleThree$B extends SampleThree$A{
public SampleThree$B();

public java.lang.String getT(java.lang.String);
Code:
0:   aload_1
1:   areturn

public java.lang.Object getT(java.lang.Object);
Code:
0:   aload_0
1:   aload_1
2:   checkcast       #2//class java/lang/String
5:   invokevirtual   #3//Method getT:(Ljava/lang/String;)Ljava/lang/String;
8:   areturn
}

here, the bridge method, which overrides method from base class "A", not just calling one with string argument (#3), but also performs type cast to "java.lang.String" (#2). It means, that if you will execute following code, ignoring compiler's "unchecked" warning, the result will be ClassCastException thrown from the bridge method:
A a = new B();
a.getT(
new Object()));

These two examples are the best known cases where bridge methods are used, but there is, at least, one more, where bridge method is used to "change" visibility of base class's methods. Have a look at following sample and try to guess where compiler may need the bridge method to be created:
package samplefour;

public class SampleFour {
static class A {
public void foo() {
}

}

public static class C extends A {

}

public static class D extends A {
public void foo() {
}

}

}
If you will decompile class C, you will see method "foo" there, which overrides method from base class and delegates to it:
public class SampleFour$C extends SampleFour$A{

public void foo();
Code:
0:   aload_0
1:   invokespecial   #2//Method SampleFour$A.foo:()V
4:   return

}

compiler needs that method, because class A is not public and can't be accessed outside it's package, but class C is public and all inherited method have to become visible outside the package as well. Note, that class D will not have bridge method, because it overrides "foo" and there is no need to "increase" visibility.
It looks like, that type of bridge method, was introduced after bug which was fixed in Java 6. It means that before Java 6 that type of bridge method is not generated and method "C#foo" can't be called from package other than it's own via reflection, so following snippet causes IllegalAccessException, in cases when compiled on Java version < 1.6:
package samplefive;

SampleFour.C.
class.getMethod("foo").invoke(new SampleFour.C());
Normal invocation, without using reflection, will work fine.

Probably there are some other cases where bridge methods are used, but there is no source of information about it. Also, there is no definition of bridge method, although you can guess it easily, it's pretty obvious from examples above, but still would be nice to have something in spec which states it clearly. In spite of the fact that method Method#isBridge() is part of public reflection API since Java1.5 and bridge flag is part of class file format, JVM and JLS specifications do not have any information what exactly is that and do not provide any rules when and how it should be used by compiler. All I could find is just reference in "Discussion" area here.


]]>
Jvm 瀛︿範鈥斺斿紓甯稿鐞?/title><link>http://www.tkk7.com/happyenjoylife/archive/2011/05/27/351175.html</link><dc:creator>happyenjoylife</dc:creator><author>happyenjoylife</author><pubDate>Fri, 27 May 2011 06:39:00 GMT</pubDate><guid>http://www.tkk7.com/happyenjoylife/archive/2011/05/27/351175.html</guid><wfw:comment>http://www.tkk7.com/happyenjoylife/comments/351175.html</wfw:comment><comments>http://www.tkk7.com/happyenjoylife/archive/2011/05/27/351175.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.tkk7.com/happyenjoylife/comments/commentRss/351175.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/happyenjoylife/services/trackbacks/351175.html</trackback:ping><description><![CDATA[<h2><span>寮傚父琛?/span></h2> <p><span style="font-family: 瀹嬩綋">姣忎竴涓?/span>try<span style="font-family: 瀹嬩綋">璇彞鍧?/span>catch<span style="font-family: 瀹嬩綋">鐨勫紓甯擱兘涓庡紓甯歌〃涓殑涓欏圭浉瀵瑰簲錛屽紓甯歌〃涓殑姣忎竴欏歸兘鍖呮嫭錛?/span></p> <ol><li> <div style="text-indent: -21pt; margin: 0cm 0cm 0pt 21pt"><span style="font-family: 瀹嬩綋">璧風偣</span></div></li><li> <div style="text-indent: -21pt; margin: 0cm 0cm 0pt 21pt"><span style="font-family: 瀹嬩綋">緇堢偣錛屽緇堟妸</span>catch<span style="font-family: 瀹嬩綋">寮傚父浣嶇疆鐨?/span>pc<span style="font-family: 瀹嬩綋">鎸囬拡鍋忕Щ閲忕殑鏈澶у煎ぇ錛?/span></div></li><li> <div style="text-indent: -21pt; margin: 0cm 0cm 0pt 21pt"><span style="font: 7pt 'Times New Roman'"> </span><span style="font-family: 瀹嬩綋">澶勭悊寮傚父鏃惰煩杞埌鐨勫瓧鑺傜爜搴忓垪涓殑</span>pc<span style="font-family: 瀹嬩綋">鎸囬拡鍋忕Щ閲?/span></div></li><li> <div style="text-indent: -21pt; margin: 0cm 0cm 0pt 21pt"><span style="font: 7pt 'Times New Roman'"> </span><span style="font-family: 瀹嬩綋">琚?/span>catch<span style="font-family: 瀹嬩綋">鐨勫紓甯哥被鐨勫父閲忔睜绱㈠紩</span></div></li></ol> <p> </p> <p><span style="font-family: 瀹嬩綋">渚嬪錛?/p> <div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img id="Codehighlighter1_18_180_Open_Image" onclick="this.style.display='none'; Codehighlighter1_18_180_Open_Text.style.display='none'; Codehighlighter1_18_180_Closed_Image.style.display='inline'; Codehighlighter1_18_180_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif"><img style="display: none" id="Codehighlighter1_18_180_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_18_180_Closed_Text.style.display='none'; Codehighlighter1_18_180_Open_Image.style.display='inline'; Codehighlighter1_18_180_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif"><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> Test </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_18_180_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_18_180_Open_Text"><span style="color: #000000">{<br /><img id="Codehighlighter1_60_178_Open_Image" onclick="this.style.display='none'; Codehighlighter1_60_178_Open_Text.style.display='none'; Codehighlighter1_60_178_Closed_Image.style.display='inline'; Codehighlighter1_60_178_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_60_178_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_60_178_Closed_Text.style.display='none'; Codehighlighter1_60_178_Open_Image.style.display='inline'; Codehighlighter1_60_178_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif">    </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">static</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> main(String[] args) </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_60_178_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_60_178_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" /><br /><img id="Codehighlighter1_69_111_Open_Image" onclick="this.style.display='none'; Codehighlighter1_69_111_Open_Text.style.display='none'; Codehighlighter1_69_111_Closed_Image.style.display='inline'; Codehighlighter1_69_111_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_69_111_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_69_111_Closed_Text.style.display='none'; Codehighlighter1_69_111_Open_Image.style.display='inline'; Codehighlighter1_69_111_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif">        </span><span style="color: #0000ff">try</span><span style="color: #000000"> </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_69_111_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_69_111_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />            Class.forName(</span><span style="color: #000000">"</span><span style="color: #000000">java.lang.String</span><span style="color: #000000">"</span><span style="color: #000000">);<br /><img id="Codehighlighter1_146_174_Open_Image" onclick="this.style.display='none'; Codehighlighter1_146_174_Open_Text.style.display='none'; Codehighlighter1_146_174_Closed_Image.style.display='inline'; Codehighlighter1_146_174_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_146_174_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_146_174_Closed_Text.style.display='none'; Codehighlighter1_146_174_Open_Image.style.display='inline'; Codehighlighter1_146_174_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif">        }</span></span><span style="color: #000000"> </span><span style="color: #0000ff">catch</span><span style="color: #000000"> (ClassNotFoundException e) </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_146_174_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_146_174_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />            e.printStackTrace();<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" />        }</span></span><span style="color: #000000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" /><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" />    }</span></span><span style="color: #000000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" alt="" />}</span></span><span style="color: #000000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span></div> <p style="margin: 0cm 0cm 0pt" class="MsoNormal"><span style="font-family: 瀹嬩綋; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 瀹嬩綋; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin">鐢?/span><span lang="EN-US"><font face="Calibri">javap –c</font></span><span style="font-family: 瀹嬩綋; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 瀹嬩綋; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin">鏌ョ湅瀛楄妭鐮佸涓嬶細</span><span lang="EN-US"><o:p></o:p></span></p> <p> </p> <div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /><span style="color: #000000">Compiled from </span><span style="color: #000000">"</span><span style="color: #000000">Test.java</span><span style="color: #000000">"</span><span style="color: #000000"><br /><img id="Codehighlighter1_68_632_Open_Image" onclick="this.style.display='none'; Codehighlighter1_68_632_Open_Text.style.display='none'; Codehighlighter1_68_632_Closed_Image.style.display='inline'; Codehighlighter1_68_632_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif"><img style="display: none" id="Codehighlighter1_68_632_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_68_632_Closed_Text.style.display='none'; Codehighlighter1_68_632_Open_Image.style.display='inline'; Codehighlighter1_68_632_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif"></span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> Test </span><span style="color: #0000ff">extends</span><span style="color: #000000"> java.lang.Object</span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_68_632_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_68_632_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" /></span><span style="color: #0000ff">public</span><span style="color: #000000"> Test();<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />  Code:<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />   </span><span style="color: #000000">0</span><span style="color: #000000">:    aload_0<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />   </span><span style="color: #000000">1</span><span style="color: #000000">:    invokespecial    #</span><span style="color: #000000">1</span><span style="color: #000000">; </span><span style="color: #008000">//</span><span style="color: #008000">Method java/lang/Object."<init>":()V</span><span style="color: #008000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" /></span><span style="color: #000000">   </span><span style="color: #000000">4</span><span style="color: #000000">:    </span><span style="color: #0000ff">return</span><span style="color: #000000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" /><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" /></span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">static</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> main(java.lang.String[]);<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />  Code:<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />   </span><span style="color: #000000">0</span><span style="color: #000000">:    ldc    #</span><span style="color: #000000">2</span><span style="color: #000000">; </span><span style="color: #008000">//</span><span style="color: #008000">String java.lang.String</span><span style="color: #008000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" /></span><span style="color: #000000">   </span><span style="color: #000000">2</span><span style="color: #000000">:    invokestatic    #</span><span style="color: #000000">3</span><span style="color: #000000">; </span><span style="color: #008000">//</span><span style="color: #008000">Method java/lang/Class.forName:(Ljava/lang/String;)Ljava/lang/Class;</span><span style="color: #008000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" /></span><span style="color: #000000">   </span><span style="color: #000000">5</span><span style="color: #000000">:    pop    <br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />   </span><span style="color: #000000">6</span><span style="color: #000000">:    </span><span style="color: #0000ff">goto</span><span style="color: #000000">    </span><span style="color: #000000">14</span><span style="color: #000000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />   </span><span style="color: #000000">9</span><span style="color: #000000">:    astore_1<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />   </span><span style="color: #000000">10</span><span style="color: #000000">:    aload_1<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />   </span><span style="color: #000000">11</span><span style="color: #000000">:    invokevirtual    #</span><span style="color: #000000">5</span><span style="color: #000000">; </span><span style="color: #008000">//</span><span style="color: #008000">Method java/lang/ClassNotFoundException.printStackTrace:()V</span><span style="color: #008000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" /></span><span style="color: #000000">   </span><span style="color: #000000">14</span><span style="color: #000000">:    </span><span style="color: #0000ff">return</span><span style="color: #000000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />  Exception table:<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />   from   to  target type<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />     </span><span style="color: #000000">0</span><span style="color: #000000">     </span><span style="color: #000000">6</span><span style="color: #000000">     </span><span style="color: #000000">9</span><span style="color: #000000">   Class java</span><span style="color: #000000">/</span><span style="color: #000000">lang</span><span style="color: #000000">/</span><span style="color: #000000">ClassNotFoundException<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" alt="" />}</span></span><span style="color: #000000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span></div> <p> </p> <p><span style="font-family: 瀹嬩綋">鍙</span>ClassNotFoundException<span style="font-family: 瀹嬩綋">寮傚父鍙兘浼氬湪</span>0~6<span style="font-family: 瀹嬩綋">涔嬮棿鎶涘嚭錛?/span>9<span style="font-family: 瀹嬩綋">寮濮嬪鐨勪唬鐮佸鐞嗘寮傚父銆?/span></p> <p> </p> <p><span style="font-family: 瀹嬩綋">褰撲駭鐢熷紓甯哥殑鏃跺欙紝</span>jvm<span style="font-family: 瀹嬩綋">灝嗕細鍦ㄦ暣涓紓甯歌〃涓悳绱笌涔嬪尮閰嶇殑欏癸紝濡傛灉褰撳墠</span>pc<span style="font-family: 瀹嬩綋">鍦ㄥ紓甯歌〃鍏ュ彛鎵鎸囩殑鑼冨洿鍐咃紝騫朵笖鎵鎶涘嚭鐨勫紓甯告槸姝ゅ叆鍙f墍鎸囧悜鐨勭被鎴栬呭叾瀛愮被錛屽垯璺寵漿鍒板搴旂殑澶勭悊浠g爜緇х畫鎵ц銆?/span></p> <p> </p> <h2><span style="font-family: 瀹嬩綋">鏂規硶鍙兘浼氭姏鍑哄摢浜涘凡媯鏌ュ紓甯?/span></h2> <p>Class<span style="font-family: 瀹嬩綋">鏂囦歡鐨?/span>attribute_info<span style="font-family: 瀹嬩綋">涓繚瀛樻湁</span>Exceptions<span style="font-family: 瀹嬩綋">灞炴э紝璁板綍鐫姣忎釜鏂規硶</span>throws<span style="font-family: 瀹嬩綋">鐨勫紓甯鎬俊鎭傚叿浣撶殑鍙互鏌ョ湅</span>class<span style="font-family: 瀹嬩綋">綾繪枃浠舵牸寮忕浉鍏崇殑鏂囩珷銆?/span></p> <p> </p> <p>athrow<span style="font-family: 瀹嬩綋">鎸囦護浠庢爤欏跺脊鍑?/span>Throwable<span style="font-family: 瀹嬩綋">瀵硅薄寮曠敤錛屾姏鍑哄紓甯搞?/span></p> <p> </p> <h2>finally<span style="font-family: 瀹嬩綋">璇彞</span></h2> <p><span style="font-family: 瀹嬩綋">鍦?/span>jvm<span style="font-family: 瀹嬩綋">瑙勮寖涓紝</span>finally<span style="font-family: 瀹嬩綋">璇彞鏄氳繃</span>jsr/jsr_w<span style="font-family: 瀹嬩綋">涓?/span>ret<span style="font-family: 瀹嬩綋">鎸囦護瀹炵幇鐨勩傚綋鎵ц</span>jsr/jsr_w<span style="font-family: 瀹嬩綋">鐨勬椂鍊欏皢</span>finally<span style="font-family: 瀹嬩綋">鎵ц瀹屾垚鍚庣殑榪斿洖鍦板潃鍘嬪叆鏍堜腑錛岃繘鍏?/span>finally<span style="font-family: 瀹嬩綋">鍚庝細椹笂灝嗘鍦板潃淇濆瓨鍒頒竴涓眬閮ㄥ彉閲忎腑錛屾墽琛屽畬鎴愬悗錛?/span>ret<span style="font-family: 瀹嬩綋">浠庢灞閮ㄥ彉閲忎腑鍙栧嚭榪斿洖鍦板潃銆傦紵錛燂紵涓轟粈涔堜細鍏堟妸榪斿洖鍦板潃淇濆瓨鍒板眬閮ㄥ彉閲忎腑鍛紵錛燂紵鍥犱負錛屽綋浠?/span>finally<span style="font-family: 瀹嬩綋">璇彞榪斿洖鐨勬椂鍊欓渶瑕佸皢榪斿洖鍦板潃鎴愭爤涓脊鍑猴紝褰?/span>finally<span style="font-family: 瀹嬩綋">璇彞闈炴甯哥粨鏉?/span>(break,continue,return, <span style="font-family: 瀹嬩綋">鎶涘紓甯?/span>)<span style="font-family: 瀹嬩綋">鐨勬椂鍊欏氨涓嶇敤鍐嶈冭檻榪欎釜闂銆?/span></p> <p> </p> <p><span style="font-family: 瀹嬩綋; font-size: 10.5pt">浠ヤ笅鏄?/span><span style="font-family: 'Calibri','sans-serif'; font-size: 10.5pt">jvm</span><span style="font-family: 瀹嬩綋; font-size: 10.5pt">瑙勮寖涓?/span><span style="font-family: 'Calibri','sans-serif'; font-size: 10.5pt">Compiling finally</span><span style="font-family: 瀹嬩綋; font-size: 10.5pt">鐨勪竴孌碉細</p> <div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img id="Codehighlighter1_18_92_Open_Image" onclick="this.style.display='none'; Codehighlighter1_18_92_Open_Text.style.display='none'; Codehighlighter1_18_92_Closed_Image.style.display='inline'; Codehighlighter1_18_92_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif"><img style="display: none" id="Codehighlighter1_18_92_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_18_92_Closed_Text.style.display='none'; Codehighlighter1_18_92_Open_Image.style.display='inline'; Codehighlighter1_18_92_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif"><span style="color: #0000ff">void</span><span style="color: #000000"> tryFinally() </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_18_92_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_18_92_Open_Text"><span style="color: #000000">{<br /><img id="Codehighlighter1_28_54_Open_Image" onclick="this.style.display='none'; Codehighlighter1_28_54_Open_Text.style.display='none'; Codehighlighter1_28_54_Closed_Image.style.display='inline'; Codehighlighter1_28_54_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_28_54_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_28_54_Closed_Text.style.display='none'; Codehighlighter1_28_54_Open_Image.style.display='inline'; Codehighlighter1_28_54_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif">    </span><span style="color: #0000ff">try</span><span style="color: #000000"> </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_28_54_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_28_54_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />        tryItOut();<br /><img id="Codehighlighter1_64_90_Open_Image" onclick="this.style.display='none'; Codehighlighter1_64_90_Open_Text.style.display='none'; Codehighlighter1_64_90_Closed_Image.style.display='inline'; Codehighlighter1_64_90_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_64_90_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_64_90_Closed_Text.style.display='none'; Codehighlighter1_64_90_Open_Image.style.display='inline'; Codehighlighter1_64_90_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif">    }</span></span><span style="color: #000000"> </span><span style="color: #0000ff">finally</span><span style="color: #000000"> </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_64_90_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_64_90_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />        wrapItUp();<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" />    }</span></span><span style="color: #000000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" alt="" />}</span></span><span style="color: #000000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />the compiled code is<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />Method </span><span style="color: #0000ff">void</span><span style="color: #000000"> tryFinally()<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />   </span><span style="color: #000000">0</span><span style="color: #000000">     aload_0            </span><span style="color: #008000">//</span><span style="color: #008000"> Beginning of try block</span><span style="color: #008000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #000000">   </span><span style="color: #000000">1</span><span style="color: #000000">    invokevirtual #</span><span style="color: #000000">6</span><span style="color: #000000">         </span><span style="color: #008000">//</span><span style="color: #008000"> Method Example.tryItOut()V</span><span style="color: #008000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #000000">   </span><span style="color: #000000">4</span><span style="color: #000000">     jsr </span><span style="color: #000000">14</span><span style="color: #000000">            </span><span style="color: #008000">//</span><span style="color: #008000"> Call finally block</span><span style="color: #008000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #000000">   </span><span style="color: #000000">7</span><span style="color: #000000">     </span><span style="color: #0000ff">return</span><span style="color: #000000">            </span><span style="color: #008000">//</span><span style="color: #008000"> End of try block</span><span style="color: #008000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #000000">   </span><span style="color: #000000">8</span><span style="color: #000000">     astore_1            </span><span style="color: #008000">//</span><span style="color: #008000"> Beginning of handler for any throw</span><span style="color: #008000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #000000">   </span><span style="color: #000000">9</span><span style="color: #000000">     jsr </span><span style="color: #000000">14</span><span style="color: #000000">            </span><span style="color: #008000">//</span><span style="color: #008000"> Call finally block</span><span style="color: #008000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #000000">  </span><span style="color: #000000">12</span><span style="color: #000000">     aload_1            </span><span style="color: #008000">//</span><span style="color: #008000"> Push thrown value</span><span style="color: #008000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #000000">  </span><span style="color: #000000">13</span><span style="color: #000000">     athrow            </span><span style="color: #008000">//</span><span style="color: #008000"> <img src="http://www.tkk7.com/Images/dot.gif" alt="" />and rethrow the value to the invoker</span><span style="color: #008000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #000000">  </span><span style="color: #000000">14</span><span style="color: #000000">     astore_2            </span><span style="color: #008000">//</span><span style="color: #008000"> Beginning of finally block</span><span style="color: #008000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #000000">  </span><span style="color: #000000">15</span><span style="color: #000000">     aload_0            </span><span style="color: #008000">//</span><span style="color: #008000"> Push this</span><span style="color: #008000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #000000">  </span><span style="color: #000000">16</span><span style="color: #000000">     invokevirtual #</span><span style="color: #000000">5</span><span style="color: #000000">         </span><span style="color: #008000">//</span><span style="color: #008000"> Method Example.wrapItUp()V</span><span style="color: #008000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #000000">  </span><span style="color: #000000">19</span><span style="color: #000000">     ret </span><span style="color: #000000">2</span><span style="color: #000000">            </span><span style="color: #008000">//</span><span style="color: #008000"> Return from finally block</span><span style="color: #008000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span><span style="color: #000000">Exception table:<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />       From     To     Target         Type<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" />    </span><span style="color: #000000">0</span><span style="color: #000000">        </span><span style="color: #000000">4</span><span style="color: #000000">        </span><span style="color: #000000">8</span><span style="color: #000000">           any<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span></div> <p></span> </p> <p><span style="font-family: 瀹嬩綋">褰?/span>tryItOut<span style="font-family: 瀹嬩綋">鎺掗櫎浠諱綍寮傚父鍚庨兘灝嗕細琚紓甯歌〃涓殑</span>any<span style="font-family: 瀹嬩綋">欏規崟鑾鳳紝鎵ц瀹?/span>finally<span style="font-family: 瀹嬩綋">鍚庯紝浼氭墽琛?/span>athrow<span style="font-family: 瀹嬩綋">鎸囦護灝嗗紓甯告姏鍑恒?/span></p> <p> </p> <p><span style="font-family: 瀹嬩綋">浠?/span>jdk<span style="font-family: 瀹嬩綋">鐨勬煇涓涓増鏈紑濮嬪氨涓嶄細緙栬瘧鍑虹紪璇戝嚭鍚?/span>jsr/jsr_w<span style="font-family: 瀹嬩綋">銆?/span>ret<span style="font-family: 瀹嬩綋">鐨勫瓧鑺傜爜浜嗭紝鍥犱負鏈夋寚浠や笂鐨勭己闄鳳紝瀵艱嚧</span>jvm<span style="font-family: 瀹嬩綋">鐨勬楠屽拰鍒嗘瀽緋葷粺鍑虹幇婕忔礊銆?/span></p> <p> </p> <h2><span style="font-family: 瀹嬩綋">鍐嶈</span>finally<span style="font-family: 瀹嬩綋">鐨勯潪姝e父閫鍑?/span></h2> <p><span style="font-family: 瀹嬩綋">鍦?/span>finally<span style="font-family: 瀹嬩綋">涓嬌鐢?/span>break<span style="font-family: 瀹嬩綋">銆?/span>continue<span style="font-family: 瀹嬩綋">銆?/span>return<span style="font-family: 瀹嬩綋">銆佹姏鍑哄紓甯哥瓑璁や負鏄?/span>finally<span style="font-family: 瀹嬩綋">鐨勯潪姝e父緇撴潫銆傞潪姝e父緇撴潫鐨勬椂鍊欙紝</span>ret<span style="font-family: 瀹嬩綋">鎸囦護涓嶄細琚墽琛岋紝寰堝彲鑳戒細鍑虹幇鎰忔兂涓嶅埌鐨勭粨鏋溿傚錛?/span></p> <p> </p> <div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><!--<br /><br />Code highlighting produced by Actipro CodeHighlighter (freeware)<br />http://www.CodeHighlighter.com/<br /><br />--><img id="Codehighlighter1_18_428_Open_Image" onclick="this.style.display='none'; Codehighlighter1_18_428_Open_Text.style.display='none'; Codehighlighter1_18_428_Closed_Image.style.display='inline'; Codehighlighter1_18_428_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif"><img style="display: none" id="Codehighlighter1_18_428_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_18_428_Closed_Text.style.display='none'; Codehighlighter1_18_428_Open_Image.style.display='inline'; Codehighlighter1_18_428_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif"><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> Test </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_18_428_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_18_428_Open_Text"><span style="color: #000000">{<br /><img id="Codehighlighter1_59_346_Open_Image" onclick="this.style.display='none'; Codehighlighter1_59_346_Open_Text.style.display='none'; Codehighlighter1_59_346_Closed_Image.style.display='inline'; Codehighlighter1_59_346_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_59_346_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_59_346_Closed_Text.style.display='none'; Codehighlighter1_59_346_Open_Image.style.display='inline'; Codehighlighter1_59_346_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif">    </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">static</span><span style="color: #000000"> </span><span style="color: #0000ff">boolean</span><span style="color: #000000"> test(</span><span style="color: #0000ff">boolean</span><span style="color: #000000"> b) </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_59_346_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_59_346_Open_Text"><span style="color: #000000">{<br /><img id="Codehighlighter1_73_326_Open_Image" onclick="this.style.display='none'; Codehighlighter1_73_326_Open_Text.style.display='none'; Codehighlighter1_73_326_Closed_Image.style.display='inline'; Codehighlighter1_73_326_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_73_326_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_73_326_Closed_Text.style.display='none'; Codehighlighter1_73_326_Open_Image.style.display='inline'; Codehighlighter1_73_326_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif">        </span><span style="color: #0000ff">while</span><span style="color: #000000"> (b) </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_73_326_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_73_326_Open_Text"><span style="color: #000000">{<br /><img id="Codehighlighter1_82_104_Open_Image" onclick="this.style.display='none'; Codehighlighter1_82_104_Open_Text.style.display='none'; Codehighlighter1_82_104_Closed_Image.style.display='inline'; Codehighlighter1_82_104_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_82_104_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_82_104_Closed_Text.style.display='none'; Codehighlighter1_82_104_Open_Image.style.display='inline'; Codehighlighter1_82_104_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif">            </span><span style="color: #0000ff">try</span><span style="color: #000000"> </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_82_104_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_82_104_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />                </span><span style="color: #0000ff">return</span><span style="color: #000000"> </span><span style="color: #0000ff">true</span><span style="color: #000000">;<br /><img id="Codehighlighter1_114_322_Open_Image" onclick="this.style.display='none'; Codehighlighter1_114_322_Open_Text.style.display='none'; Codehighlighter1_114_322_Closed_Image.style.display='inline'; Codehighlighter1_114_322_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_114_322_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_114_322_Closed_Text.style.display='none'; Codehighlighter1_114_322_Open_Image.style.display='inline'; Codehighlighter1_114_322_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif">            }</span></span><span style="color: #000000"> </span><span style="color: #0000ff">finally</span><span style="color: #000000"> </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_114_322_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_114_322_Open_Text"><span style="color: #000000">{<br /><img id="Codehighlighter1_120_317_Open_Image" onclick="this.style.display='none'; Codehighlighter1_120_317_Open_Text.style.display='none'; Codehighlighter1_120_317_Closed_Image.style.display='inline'; Codehighlighter1_120_317_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_120_317_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_120_317_Closed_Text.style.display='none'; Codehighlighter1_120_317_Open_Image.style.display='inline'; Codehighlighter1_120_317_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif">                </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_120_317_Closed_Text">/**/</span><span id="Codehighlighter1_120_317_Open_Text"><span style="color: #008000">/*</span><span style="color: #008000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />                break;                          濮嬬粓榪斿洖false<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />                continue;                         javac緙栬瘧鍐峧ava鎵ц浼氬嚭鐜版寰幆<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />                                                鍦╡clipse涓敋鑷充細鍑虹幇鎶ラ敊錛氭彁紺烘壘鍒頒笉main class<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />                return false;                     濮嬬粓榪斿洖false<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />                throw new RuntimeException("");    鎶涘嚭寮傚父<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" />                 </span><span style="color: #008000">*/</span></span><span style="color: #000000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" />            }</span></span><span style="color: #000000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" />        }</span></span><span style="color: #000000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" /><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />        </span><span style="color: #0000ff">return</span><span style="color: #000000"> </span><span style="color: #0000ff">false</span><span style="color: #000000">;<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" />    }</span></span><span style="color: #000000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" /><br /><img id="Codehighlighter1_389_426_Open_Image" onclick="this.style.display='none'; Codehighlighter1_389_426_Open_Text.style.display='none'; Codehighlighter1_389_426_Closed_Image.style.display='inline'; Codehighlighter1_389_426_Closed_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="display: none" id="Codehighlighter1_389_426_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_389_426_Closed_Text.style.display='none'; Codehighlighter1_389_426_Open_Image.style.display='inline'; Codehighlighter1_389_426_Open_Text.style.display='inline';" align="top" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif">    </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">static</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> main(String[] args) </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_389_426_Closed_Text"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_389_426_Open_Text"><span style="color: #000000">{<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" alt="" />        System.out.println(test(</span><span style="color: #0000ff">true</span><span style="color: #000000">));<br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" alt="" />    }</span></span><span style="color: #000000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" alt="" />}</span></span><span style="color: #000000"><br /><img align="top" src="http://www.tkk7.com/images/OutliningIndicators/None.gif" alt="" /></span></div> <p><br /><span style="font-family: 瀹嬩綋; color: black; font-size: 10pt; mso-ascii-font-family: 'Courier New'; mso-fareast-font-family: 瀹嬩綋; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: 'Courier New'; mso-bidi-font-family: 'Courier New'; mso-font-kerning: 0pt">寤鴻錛氬湪鍐?/span><span style="font-family: 'Courier New'; color: black; font-size: 10pt; mso-font-kerning: 0pt" lang="EN-US">finally</span><span style="font-family: 瀹嬩綋; color: black; font-size: 10pt; mso-ascii-font-family: 'Courier New'; mso-fareast-font-family: 瀹嬩綋; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: 'Courier New'; mso-bidi-font-family: 'Courier New'; mso-font-kerning: 0pt">璇彞鐨勬椂鍊欙紝灝介噺閬垮厤闈炴甯哥粨鏉燂紒</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt; mso-font-kerning: 0pt" lang="EN-US"><o:p></o:p></span></p> <p><br /></span> </p> <img src ="http://www.tkk7.com/happyenjoylife/aggbug/351175.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/happyenjoylife/" target="_blank">happyenjoylife</a> 2011-05-27 14:39 <a href="http://www.tkk7.com/happyenjoylife/archive/2011/05/27/351175.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍒嗗簱鍒嗚〃鎬葷粨http://www.tkk7.com/happyenjoylife/archive/2011/05/13/350177.htmlhappyenjoylifehappyenjoylifeFri, 13 May 2011 07:31:00 GMThttp://www.tkk7.com/happyenjoylife/archive/2011/05/13/350177.htmlhttp://www.tkk7.com/happyenjoylife/comments/350177.htmlhttp://www.tkk7.com/happyenjoylife/archive/2011/05/13/350177.html#Feedback4http://www.tkk7.com/happyenjoylife/comments/commentRss/350177.htmlhttp://www.tkk7.com/happyenjoylife/services/trackbacks/350177.html鍗曞簱鍗曡〃

鍗曞簱鍗曡〃鏄渶甯歌鐨勬暟鎹簱璁捐錛屼緥濡傦紝鏈変竴寮犵敤鎴?span lang="EN-US">(user)琛ㄦ斁鍦ㄦ暟鎹簱db涓紝鎵鏈夌殑鐢ㄦ埛閮藉彲浠ュ湪db搴撲腑鐨?span lang="EN-US">user琛ㄤ腑鏌ュ埌銆?/p>

 

鍗曞簱澶氳〃

闅忕潃鐢ㄦ埛鏁伴噺鐨勫鍔狅紝user琛ㄧ殑鏁版嵁閲忎細瓚婃潵瓚婂ぇ錛屽綋鏁版嵁閲忚揪鍒頒竴瀹氱▼搴︾殑鏃跺欏user琛ㄧ殑鏌ヨ浼氭笎娓愮殑鍙樻參錛屼粠鑰屽獎鍝嶆暣涓?span lang="EN-US">DB鐨勬ц兘銆傚鏋滀嬌鐢?span lang="EN-US">mysql, 榪樻湁涓涓洿涓ラ噸鐨勯棶棰樻槸錛屽綋闇瑕佹坊鍔犱竴鍒楃殑鏃跺欙紝mysql浼氶攣琛紝鏈熼棿鎵鏈夌殑璇誨啓鎿嶄綔鍙兘絳夊緟銆?/p>

鍙互閫氳繃鏌愮鏂瑰紡灝?span lang="EN-US">user榪涜姘村鉤鐨勫垏鍒嗭紝浜х敓涓や釜琛ㄧ粨鏋勫畬鍏ㄤ竴鏍風殑user_0000,user_0001絳夎〃錛?span lang="EN-US">user_0000 + user_0001 + …鐨勬暟鎹垰濂芥槸涓浠藉畬鏁寸殑鏁版嵁銆?/p>

 

澶氬簱澶氳〃

         闅忕潃鏁版嵁閲忓鍔犱篃璁稿崟鍙?span lang="EN-US">DB鐨勫瓨鍌ㄧ┖闂翠笉澶燂紝闅忕潃鏌ヨ閲忕殑澧炲姞鍗曞彴鏁版嵁搴撴湇鍔″櫒宸茬粡娌″姙娉曟敮鎾戙傝繖涓椂鍊欏彲浠ュ啀瀵規暟鎹簱榪涜姘村鉤鍖哄垎銆?/p>

 

鍒嗗簱鍒嗚〃瑙勫垯

         璁捐琛ㄧ殑鏃跺欓渶瑕佺‘瀹氭琛ㄦ寜鐓т粈涔堟牱鐨勮鍒欒繘琛屽垎搴撳垎琛ㄣ備緥濡傦紝褰撴湁鏂扮敤鎴鋒椂錛岀▼搴忓緱紜畾灝嗘鐢ㄦ埛淇℃伅娣誨姞鍒板摢涓〃涓紱鍚岀悊錛屽綋鐧誨綍鐨勬椂鍊欐垜浠緱閫氳繃鐢ㄦ埛鐨勮處鍙鋒壘鍒版暟鎹簱涓搴旂殑璁板綍錛屾墍鏈夌殑榪欎簺閮介渶瑕佹寜鐓ф煇涓瑙勫垯榪涜銆?/p>

璺敱

         閫氳繃鍒嗗簱鍒嗚〃瑙勫垯鏌ユ壘鍒板搴旂殑琛ㄥ拰搴撶殑榪囩▼銆傚鍒嗗簱鍒嗚〃鐨勮鍒欐槸user_id mod 4鐨勬柟寮忥紝褰撶敤鎴鋒柊娉ㄥ唽浜嗕竴涓處鍙鳳紝璐﹀彿id鐨?span lang="EN-US">123,鎴戜滑鍙互閫氳繃id mod 4鐨勬柟寮忕‘瀹氭璐﹀彿搴旇淇濆瓨鍒?span lang="EN-US">User_0003琛ㄤ腑銆傚綋鐢ㄦ埛123鐧誨綍鐨勬椂鍊欙紝鎴戜滑閫氳繃123 mod 4鍚庣‘瀹氳褰曞湪User_0003涓?/p>

鍒嗗簱鍒嗚〃浜х敓鐨勯棶棰橈紝鍙婃敞鎰忎簨欏?/h2>

1.   鍒嗗簱鍒嗚〃緇村害鐨勯棶棰?/p>

鍋囧鐢ㄦ埛璐拱浜嗗晢鍝?span lang="EN-US">,闇瑕佸皢浜ゆ槗璁板綍淇濆瓨鍙栨潵錛屽鏋滄寜鐓х敤鎴風殑綰害鍒嗚〃錛屽垯姣忎釜鐢ㄦ埛鐨勪氦鏄撹褰曢兘淇濆瓨鍦ㄥ悓涓琛ㄤ腑錛屾墍浠ュ緢蹇緢鏂逛究鐨勬煡鎵懼埌鏌愮敤鎴風殑璐拱鎯呭喌錛屼絾鏄煇鍟嗗搧琚喘涔扮殑鎯呭喌鍒欏緢鏈夊彲鑳藉垎甯冨湪澶氬紶琛ㄤ腑錛屾煡鎵捐搗鏉ユ瘮杈冮夯鐑︺傚弽涔嬶紝鎸夌収鍟嗗搧緇村害鍒嗚〃錛屽彲浠ュ緢鏂逛究鐨勬煡鎵懼埌姝ゅ晢鍝佺殑璐拱鎯呭喌錛屼絾瑕佹煡鎵懼埌涔頒漢鐨勪氦鏄撹褰曟瘮杈冮夯鐑︺?/p>

 

鎵浠ュ父瑙佺殑瑙e喅鏂瑰紡鏈夛細

     a.閫氳繃鎵〃鐨勬柟寮忚В鍐籌紝姝ゆ柟娉曞熀鏈笉鍙兘錛屾晥鐜囧お浣庝簡銆?/p>

     b.璁板綍涓や喚鏁版嵁錛屼竴浠芥寜鐓х敤鎴風含搴﹀垎琛紝涓浠芥寜鐓у晢鍝佺淮搴﹀垎琛ㄣ?/p>

     c.閫氳繃鎼滅儲寮曟搸瑙e喅錛屼絾濡傛灉瀹炴椂鎬ц姹傚緢楂橈紝鍙堝緱鍏崇郴鍒板疄鏃舵悳绱€?/p>

 

2.   鑱斿悎鏌ヨ鐨勯棶棰?/p>

鑱斿悎鏌ヨ鍩烘湰涓嶅彲鑳斤紝鍥犱負鍏寵仈鐨勮〃鏈夊彲鑳戒笉鍦ㄥ悓涓鏁版嵁搴撲腑銆?/p>

 

3.   閬垮厤璺ㄥ簱浜嬪姟

閬垮厤鍦ㄤ竴涓簨鍔′腑淇敼db0涓殑琛ㄧ殑鏃跺欏悓鏃朵慨鏀?span lang="EN-US">db1涓殑琛紝涓涓槸鎿嶄綔璧鋒潵鏇村鏉傦紝鏁堢巼涔熶細鏈変竴瀹氬獎鍝嶃?/p>

 

4.   灝介噺鎶婂悓涓緇勬暟鎹斁鍒板悓涓DB鏈嶅姟鍣ㄤ笂

渚嬪灝嗗崠瀹?span lang="EN-US">a鐨勫晢鍝佸拰浜ゆ槗淇℃伅閮芥斁鍒?span lang="EN-US">db0涓紝褰?span lang="EN-US">db1鎸備簡鐨勬椂鍊欙紝鍗栧a鐩稿叧鐨勪笢瑗垮彲浠ユ甯鎬嬌鐢ㄣ備篃灝辨槸璇撮伩鍏嶆暟鎹簱涓殑鏁版嵁渚濊禆鍙︿竴鏁版嵁搴撲腑鐨勬暟鎹?/p>

 

 

涓涓誨澶?/h2>

鍦ㄥ疄闄呯殑搴旂敤涓紝緇濆ぇ閮ㄥ垎鎯呭喌閮芥槸璇昏繙澶т簬鍐欍?span lang="EN-US">Mysql鎻愪緵浜嗚鍐欏垎紱葷殑鏈哄埗錛屾墍鏈夌殑鍐欐搷浣滈兘蹇呴』瀵瑰簲鍒?span lang="EN-US">Master錛岃鎿嶄綔鍙互鍦?span lang="EN-US">Master鍜?span lang="EN-US">Slave鏈哄櫒涓婅繘琛岋紝Slave涓?span lang="EN-US">Master鐨勭粨鏋勫畬鍏ㄤ竴鏍鳳紝涓涓?span lang="EN-US">Master鍙互鏈夊涓?span lang="EN-US">Slave,鐢氳嚦Slave涓嬭繕鍙互鎸?span lang="EN-US">Slave,閫氳繃姝ゆ柟寮忓彲浠ユ湁鏁堢殑鎻愰珮DB闆嗙兢鐨?span lang="EN-US">QPS.                                                       

鎵鏈夌殑鍐欐搷浣滈兘鏄厛鍦?span lang="EN-US">Master涓婃搷浣滐紝鐒跺悗鍚屾鏇存柊鍒?span lang="EN-US">Slave涓婏紝鎵浠ヤ粠Master鍚屾鍒?span lang="EN-US">Slave鏈哄櫒鏈変竴瀹氱殑寤惰繜錛屽綋緋葷粺寰堢箒蹇欑殑鏃跺欙紝寤惰繜闂浼氭洿鍔犱弗閲嶏紝Slave鏈哄櫒鏁伴噺鐨勫鍔犱篃浼氫嬌榪欎釜闂鏇村姞涓ラ噸銆?/p>

姝ゅ錛屽彲浠ョ湅鍑?span lang="EN-US">Master鏄泦緹ょ殑鐡墮錛屽綋鍐欐搷浣滆繃澶氾紝浼氫弗閲嶅獎鍝嶅埌Master鐨勭ǔ瀹氭э紝濡傛灉Master鎸傛帀錛屾暣涓泦緹ら兘灝嗕笉鑳芥甯稿伐浣溿?/p>

鎵浠ワ紝1. 褰撹鍘嬪姏寰堝ぇ鐨勬椂鍊欙紝鍙互鑰冭檻娣誨姞Slave鏈哄櫒鐨勫垎寮忚В鍐籌紝浣嗘槸褰?span lang="EN-US">Slave鏈哄櫒杈懼埌涓瀹氱殑鏁伴噺灝卞緱鑰冭檻鍒嗗簱浜嗐?span lang="EN-US"> 2. 褰撳啓鍘嬪姏寰堝ぇ鐨勬椂鍊欙紝灝卞繀欏誨緱榪涜鍒嗗簱鎿嶄綔銆?/p>

 

         鍙﹀錛屽彲鑳戒細鍥犱負縐嶇鍘熷洜錛岄泦緹や腑鐨勬暟鎹簱紜歡閰嶇疆絳変細涓嶄竴鏍鳳紝鏌愪簺鎬ц兘楂橈紝鏌愪簺鎬ц兘浣庯紝榪欎釜鏃跺欏彲浠ラ氳繃紼嬪簭鎺у埗姣忓彴鏈哄櫒璇誨啓鐨勬瘮閲嶏紝杈懼埌璐熻澆鍧囪 銆?/p>


澶囦喚鍦板潃錛?span style="font-family: Simsun; line-height: normal; font-size: medium; ">http://happyenjoylife.iteye.com/admin/blogs/1042538



]]>IE涓嬩慨鏀筯osts涓嶇敤閲嶅惎鐨勬柟娉?/title><link>http://www.tkk7.com/happyenjoylife/archive/2011/01/03/342223.html</link><dc:creator>happyenjoylife</dc:creator><author>happyenjoylife</author><pubDate>Mon, 03 Jan 2011 12:21:00 GMT</pubDate><guid>http://www.tkk7.com/happyenjoylife/archive/2011/01/03/342223.html</guid><wfw:comment>http://www.tkk7.com/happyenjoylife/comments/342223.html</wfw:comment><comments>http://www.tkk7.com/happyenjoylife/archive/2011/01/03/342223.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/happyenjoylife/comments/commentRss/342223.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/happyenjoylife/services/trackbacks/342223.html</trackback:ping><description><![CDATA[XP涓嬭瘯榪囷紝淇濆瓨璧鋒潵鎬曞皢鏉ュ繕浜?<br /> <br /> HKeyCurrentUser"SOFTWARE"Microsoft"Windows"CurrentVersion"Internet Settings <br /> 澧炲姞錛?br /> DnsCacheEnabled  0x0 (REG_DWORD) <br /> DnsCacheTimeout 0x0 (REG_DWORD) <br /> ServerInfoTimeOut 0x0 (REG_DWORD) <img src ="http://www.tkk7.com/happyenjoylife/aggbug/342223.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/happyenjoylife/" target="_blank">happyenjoylife</a> 2011-01-03 20:21 <a href="http://www.tkk7.com/happyenjoylife/archive/2011/01/03/342223.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Ubuntu10.04涓媌uild OpenJDK7 鐨勮繃紼?/title><link>http://www.tkk7.com/happyenjoylife/archive/2011/01/03/342218.html</link><dc:creator>happyenjoylife</dc:creator><author>happyenjoylife</author><pubDate>Mon, 03 Jan 2011 11:46:00 GMT</pubDate><guid>http://www.tkk7.com/happyenjoylife/archive/2011/01/03/342218.html</guid><wfw:comment>http://www.tkk7.com/happyenjoylife/comments/342218.html</wfw:comment><comments>http://www.tkk7.com/happyenjoylife/archive/2011/01/03/342218.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/happyenjoylife/comments/commentRss/342218.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/happyenjoylife/services/trackbacks/342218.html</trackback:ping><description><![CDATA[<!--[if gte mso 9]><![endif]--><!--[if gte mso 9]><xml> Normal 0 7.8 紓? 0 2 false false false EN-US ZH-CN X-NONE </xml><![endif]--><!--[if gte mso 9]><![endif]--><!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable { mso-style-parent:""; font-size:10.5pt; font-family:"Calibri","sans-serif"; mso-bidi-font-family:"Times New Roman";} </style> <![endif]--> <p style="margin-left: 18pt; text-indent: -18pt;"><span><span>1.<span style="font: 7pt "Times New Roman";">       </span></span></span><span style="font-family: 瀹嬩綋;">瀹夎</span>mercurial</p> <p style="margin-left: 18pt; text-indent: 0cm;">Mercurial<span style="font-family: 瀹嬩綋;">鏄竴涓増鏈鐞嗗伐鍏楓?/span></p> <p style="margin-left: 18pt; text-indent: 0cm;">sudo apt-get install mercurial</p> <p style="margin-left: 18pt; text-indent: 0cm;"><span style="font-family: 瀹嬩綋;">瀹夎</span>mercurial<span style="font-family: 瀹嬩綋;">鐨勬墿灞曪紝娣誨姞</span>fclone<span style="font-family: 瀹嬩綋;">鍦ㄦ敮鎸?/span></p> <p style="text-indent: 18pt;"><span>hg clone http://bitbucket.org/pmezard/hgforest-crew</span></p> <p style="margin-left: 18pt; text-indent: 0cm;"><span style="font-family: 瀹嬩綋;">灝嗕互涓嬪唴瀹規坊鍔犲埌</span>$HOME/.hgrc<span style="font-family: 瀹嬩綋;">鏂囦歡涓紝濡傛灉娌℃湁鍒欒嚜宸卞垱寤轟竴涓細</span></p> <p style="margin-left: 10.5pt;">[extensions]</p> <p style="margin-left: 10.5pt;">forest=/home/daren/hgforest-crew/forest.py</p> <p style="margin-left: 28.5pt; text-indent: 3pt;">fetch=</p> <p style="margin-left: 18pt; text-indent: -18pt;"><span><span>2.<span style="font: 7pt "Times New Roman";">       </span></span></span><span style="font-family: 瀹嬩綋;">涓嬭澆</span>jdk7<span style="font-family: 瀹嬩綋;">婧愮爜</span></p> <p style="margin-left: 18pt; text-indent: 0cm;">hg fclone <a >http://hg.openjdk.java.net/jdk7/jdk7</a></p> <p style="margin-left: 18pt; text-indent: -18pt;"><span><span>3.<span style="font: 7pt "Times New Roman";">       </span></span></span><span style="font-family: 瀹嬩綋;">瀹夎</span>gcc<span style="font-family: 瀹嬩綋;">銆?/span>g++<span style="font-family: 瀹嬩綋;">銆?/span>make<span style="font-family: 瀹嬩綋;">絳?/span></p> <p style="margin-left: 18pt; text-indent: 0cm;"><span style="font-family: "Times New Roman","serif";">sudo apt-get install build-essential</span></p> <p style="margin-left: 18pt; text-indent: -18pt;"><span><span>4.<span style="font: 7pt "Times New Roman";">       </span></span></span><span style="font-family: 瀹嬩綋;">瀹夎</span>XRender</p> <p style="margin-left: 18pt; text-indent: 0cm;">sudo apt-get install libxrender-dev</p> <p style="margin-left: 18pt; text-indent: 0cm;">sudo apt-get install xorg-dev</p> <p style="margin-left: 18pt; text-indent: -18pt;"><span><span>5.<span style="font: 7pt "Times New Roman";">       </span></span></span><span style="font-family: 瀹嬩綋;">瀹夎</span>alsa</p> <p style="margin-left: 18pt; text-indent: 0cm;">sudo apt-get install libasound2-dev</p> <p style="margin-left: 18pt; text-indent: -18pt;"><span><span>6.<span style="font: 7pt "Times New Roman";">       </span></span></span>Cups</p> <p style="margin-left: 18pt; text-indent: 0cm;">sudo apt-get install libcups2-dev</p> <p style="margin-left: 18pt; text-indent: -18pt;"><span><span>7.<span style="font: 7pt "Times New Roman";">       </span></span></span><span style="font-family: 瀹嬩綋;">瀹夎</span>jdk6</p> <p style="margin-left: 18pt; text-indent: -18pt;"><span><span>8.<span style="font: 7pt "Times New Roman";">       </span></span></span><span style="font-family: 瀹嬩綋;">瀹夎</span>ant</p> <p style="margin-left: 18pt; text-indent: 0cm;"><span style="font-family: 瀹嬩綋;">璁劇疆</span>ANT_HOME</p> <p style="margin-left: 18pt; text-indent: -18pt;"><span><span>9.<span style="font: 7pt "Times New Roman";">       </span></span></span><span style="font-family: 瀹嬩綋;">瀹夎</span>findbugs</p> <p style="margin-left: 18pt; text-indent: 0cm;"><span style="font-family: 瀹嬩綋;">緙栬瘧闇瑕佽繖鐜╂剰鍎挎湁鐐瑰鎬傞渶瑕佽緗?/span>FINDBUGS_HOME</p> <p style="margin-left: 18pt; text-indent: -18pt;"><span><span>10.<span style="font: 7pt "Times New Roman";">   </span></span></span><span style="font-family: 瀹嬩綋;">嫻嬭瘯緙栬瘧</span></p> <p style="margin-left: 18pt; text-indent: 0cm;">export LANG=C ALT_BOOTDIR=/opt/jdk1.6.0_22/</p> <p style="margin-left: 18pt; text-indent: 0cm;">#<span style="font-family: 瀹嬩綋;">鍒犻櫎</span>JAVA_HOME</p> <p style="margin-left: 18pt; text-indent: 0cm;">export -n JAVA_HOME</p> <p style="margin-left: 18pt; text-indent: 0cm;">export ALT_JDK_IMPORT_PATH=/opt/jdk1.6.0_22/</p> <p style="margin-left: 18pt; text-indent: 0cm;">make sanity BUILD_JAXWS=false BUILD_JAXP =false</p> <p style="margin-left: 18pt; text-indent: 0cm;"><span style="font-family: 瀹嬩綋;">鍦?/span>build BUILD_JAXWS<span style="font-family: 瀹嬩綋;">鍜?/span>BUILD_JAXP<span style="font-family: 瀹嬩綋;">鎬繪槸鎻愮ず鎵句笉鍒版簮鏂囦歡錛岃屾垜鍙堟殏鏃跺鍙</span>JDK<span style="font-family: 瀹嬩綋;">銆?/span>Hotspot<span style="font-family: 瀹嬩綋;">鎰熷叴瓚o紝鎵浠ョ儲鎬ф妸榪欎袱涓粰鍘繪帀銆?/span></p> <p style="margin-left: 18pt; text-indent: 0cm;"><span style="font-family: 瀹嬩綋;">濡傛灉鍑虹幇</span>:Sanity check passed.<span style="font-family: 瀹嬩綋;">鍒欒〃紺烘祴璇曠紪璇戦氳繃浜嗭紝涓嶈繃涔熷埆寮蹇冨緱澶棭錛岀湡姝?/span>make<span style="font-family: 瀹嬩綋;">鐨勬椂鍊欎笉淇濊瘉涓瀹氭病闂錛屼篃璁歌繕浼氱己灝戞煇浜涗緷璧栥?/span></p> <p style="margin-left: 18pt; text-indent: -18pt;"><span><span>11.<span style="font: 7pt "Times New Roman";">   </span></span></span><span style="font-family: 瀹嬩綋;">緙栬瘧</span></p> <p style="text-indent: 18pt;"><span>export LANG=C ALT_BOOTDIR=/opt/jdk1.6.0_22/</span></p> <p style="margin-left: 18pt; text-indent: 0cm;">#<span style="font-family: 瀹嬩綋;">鍒犻櫎</span>JAVA_HOME</p> <p style="text-indent: 18pt;"><span>export -n JAVA_HOME</span></p> <p style="text-indent: 18pt;"><span>export ALT_JDK_IMPORT_PATH=/opt/jdk1.6.0_22/</span></p> <p style="text-indent: 18pt;"><span>#make BUILD_JAXWS=false BUILD_JAXP=false</span></p> <p style="text-indent: 18pt;"><span>#make DEBUG_NAME=fastdebug BUILD_JAXWS=false BUILD_JAXP=false</span></p> <p style="margin-left: 18pt; text-indent: 0cm;"><span>make DEBUG_NAME=all_fastdebug BUILD_JAXWS=false BUILD_JAXP=false</span></p> <p style="margin-left: 18pt; text-indent: 0cm;"><span style="font-family: 瀹嬩綋;">濡傛灉涓鍒囨甯哥殑璇濆湪</span>$HOME/jdk7/build/linux-i586/<span style="font-family: 瀹嬩綋;">涓嬪氨鏈?/span>build<span style="font-family: 瀹嬩綋;">鍑烘潵鐨?/span>jdk<span style="font-family: 瀹嬩綋;">絳変簡銆?/span></p> <img src ="http://www.tkk7.com/happyenjoylife/aggbug/342218.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/happyenjoylife/" target="_blank">happyenjoylife</a> 2011-01-03 19:46 <a href="http://www.tkk7.com/happyenjoylife/archive/2011/01/03/342218.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://43caopen.com" target="_blank">国产成人综合亚洲</a>| <a href="http://xawsfkaisuo.com" target="_blank">成人电影在线免费观看</a>| <a href="http://438266.com" target="_blank">在线亚洲精品自拍</a>| <a href="http://ningxialanh.com" target="_blank">国产一区二区三区免费</a>| <a href="http://fenglufzjx.com" target="_blank">avtt天堂网手机版亚洲</a>| <a href="http://www-959kj.com" target="_blank">免费国产a国产片高清网站</a>| <a href="http://tzkanglong.com" target="_blank">国产在线国偷精品免费看</a>| <a href="http://caita88.com" target="_blank">亚洲日本乱码一区二区在线二产线</a>| <a href="http://4228970.com" target="_blank">成人无遮挡毛片免费看</a>| <a href="http://22youjizz.com" target="_blank">成在线人视频免费视频</a>| <a href="http://tianmao920.com" target="_blank">亚洲性色成人av天堂</a>| <a href="http://www1616hh.com" target="_blank">免费v片在线观看无遮挡</a>| <a href="http://3hc88.com" target="_blank">久久久久久久久久国产精品免费</a>| <a href="http://78avai.com" target="_blank">亚洲三级高清免费</a>| <a href="http://bjjs365.com" target="_blank">亚洲人成色7777在线观看</a>| <a href="http://6711wan.com" target="_blank">三年片在线观看免费大全</a>| <a href="http://ghdc5.com" target="_blank">香蕉免费看一区二区三区</a>| <a href="http://see13.com" target="_blank">亚洲中文字幕无码中文字</a>| <a href="http://by8847.com" target="_blank">国产亚洲色婷婷久久99精品</a>| <a href="http://www-65jjj.com" target="_blank">一个人在线观看视频免费</a>| <a href="http://yytengsheng.com" target="_blank">两性色午夜视频免费网</a>| <a href="http://27simnjingmiguan.com" target="_blank">77777午夜亚洲</a>| <a href="http://tv695.com" target="_blank">久久久久亚洲AV成人无码</a>| <a href="http://448tk.com" target="_blank">国产无遮挡裸体免费视频</a>| <a href="http://aijiu868.com" target="_blank">久9热免费精品视频在线观看</a>| <a href="http://zgj688.com" target="_blank">久久亚洲AV成人无码国产电影 </a>| <a href="http://266my.com" target="_blank">一区二区三区亚洲视频</a>| <a href="http://gsonlinet.com" target="_blank">一级毛片免费观看</a>| <a href="http://ahtxjk.com" target="_blank">色多多www视频在线观看免费</a>| <a href="http://imfever.com" target="_blank">亚洲国产精品成人久久久</a>| <a href="http://xhm33.com" target="_blank">国产成人亚洲综合无码精品</a>| <a href="http://ajguild.com" target="_blank">国产精品色午夜免费视频</a>| <a href="http://56v6.com" target="_blank">免费观看无遮挡www的视频</a>| <a href="http://sxjttxkywl.com" target="_blank">CAOPORN国产精品免费视频</a>| <a href="http://hzczj.com" target="_blank">亚洲爆乳大丰满无码专区 </a>| <a href="http://cjsyw123.com" target="_blank">h视频在线免费观看</a>| <a href="http://wwwseselu.com" target="_blank">亚洲熟妇久久精品</a>| <a href="http://www84847.com" target="_blank">亚洲狠狠狠一区二区三区</a>| <a href="http://18yinren.com" target="_blank">亚洲精品无码成人AAA片</a>| <a href="http://2c06xyz.com" target="_blank">亚洲国产电影av在线网址</a>| <a href="http://13813855.com" target="_blank">插B内射18免费视频</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>