[理工] 102交大計系 數題

看板Grad-ProbAsk作者 (還很新)時間9年前 (2017/01/10 00:04), 9年前編輯推噓3(304)
留言7則, 2人參與, 最新討論串1/1
http://i.imgur.com/sO2aIKP.jpg
首先想請問這題的thread是怎麼跑的,爬文看好像是說兩個thread會卡住,但有點不是很 清 http://i.imgur.com/RRH4RPe.jpg
5個選項都有點看不懂,選的有點抖...,JAVA interpreter只會直譯bytecode一次? b選項完全沒看過... c選項是錯在 implementation嗎 不是怎麼改 d選項是指虛擬機裡的特權指令可被模擬嗎? e選項不懂... http://i.imgur.com/dDHWz1V.jpg
15.a的absolute code是...? c選項中反轉分頁表不是會變成frame記錄page嗎?這樣space沒有差? 16.d memory mapped file不可以隨意被讀寫? http://i.imgur.com/Mj0fpFP.jpg
這題完全不知道該怎麽轉換,題目中說的The CPU includes a fully associative TLB w it 還有想請問這題該怎麼操作... -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 223.136.30.229 ※ 文章網址: https://www.ptt.cc/bbs/Grad-ProbAsk/M.1483977883.A.FEB.html ※ 編輯: newpuma (223.136.30.229), 01/10/2017 00:25:50

01/10 10:10, , 1F
13(a)interpreter translate one instruction at a time
01/10 10:10, 1F

01/10 10:11, , 2F
這也是interpreter和compiler的差別所在,compiler會一
01/10 10:11, 2F

01/10 10:11, , 3F
次把所有translation都做完
01/10 10:11, 3F
原來如此@@ ※ 編輯: newpuma (223.136.30.229), 01/10/2017 20:49:53

01/10 21:20, , 4F
absolute code應該就是指address不用relocate的code 所以
01/10 21:20, 4F

01/10 21:20, , 5F
compile time binding的code就算是惹
01/10 21:20, 5F

01/10 21:24, , 6F
15(c)IPT搜尋費時 因為不需要紀錄沒在frame裡的page 所以
01/10 21:24, 6F

01/10 21:24, , 7F
可以縮小原本page table的大小
01/10 21:24, 7F
文章代碼(AID): #1OSxIR_h (Grad-ProbAsk)