什麼是 Java 虛擬機器 (JVM)?

這是一個推薦產品對話框
熱門建議
起價
查看全部 >
語言
French
English
ไทย
German
繁體中文
國家/地區
All
登入/建立帳戶
language Selector,${0} is Selected
註冊並於Lenovo Pro 商務採購商店購物
於Lenovo教育商店註冊

專業等級福利

• 在 Think 每日價格上節省高達額外 3%
• 消費滿HK$78,000,晉升至 Plus 等級,享有更多福利

Plus 等級福利

• 在 Think 每日價格上節省高達額外 5%
• 消費滿HK$120,000,免費升級至擁有更多福利的菁英等級
等菁英級福利
• 在Think日常價格上節省高達額外8%
經銷商福利
• 可獲得Lenovo全系列產品的使用權
• 配置和購買價格優於Lenovo.com
查看所有詳情 >
再多達到
PRO Plus
PRO 菁英
恭喜,您已達到菁英地位!
Pro for Business
Delete icon Remove icon Add icon Reload icon
即將上市
已停產
暫時無法使用
Cooming Soon!
. Additional units will be charged at the non-eCoupon price. Purchase additional now
We're sorry, the maximum quantity you are able to buy at this amazing eCoupon price is
登入或建立帳戶以儲存您的購物車!
登錄或創建帳戶以加入獎勵計劃
檢視購物車
Wow, your cart is empty!
移除
item(s) in cart
Fill it in with great deals
Some items in your cart are no longer available. Please visit cart for more details.
has been deleted
Please review your cart as items have changed.
/
Contains Add-ons
繼續進行結帳
是的
Popular Searches
今天您想找什麼?
Trending
Recent Searches
Hamburger Menu
{"arrowColor":"#000000","backgroundColor":"#e6f4fa","divideColor":"","sideMsg":"","data":[{"pcInfo":"","mAndTabInfo":"","bannerInfo":{"t_id":"Page3311844f-6f4e-4b5c-a6de-635d0f03801b","language":{"zh_hk":"%3Cp%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%22%3E%3C%2Fspan%3E%3C%2Fp%3E%3Cp%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3Cstrong%3E%3C%2Fstrong%3E%E5%95%86%E6%A5%AD%E7%94%A8%20Lenovo%20Pro%20%7C%20%E5%85%8D%E8%B2%BB%E6%9C%83%E5%93%A1%E3%80%81%E6%9C%83%E5%93%A1%E5%B0%88%E5%B1%AC%E5%84%AA%E6%83%A0%E3%80%82%E9%81%B8%E8%B3%BC%E5%80%8B%E4%BA%BA%E9%9B%BB%E8%85%A6%EF%BC%8C%E5%8D%B3%E5%8F%AF%E4%BB%A5%E5%85%AB%E6%8A%98%E5%84%AA%E6%83%A0%E9%81%B8%E8%B3%BC%E9%85%8D%E4%BB%B6%3C%2Fp%3E%3Cp%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3Ca%20href%3D%22https%3A%2F%2Faccount.lenovo.com%2Fhk%2Flenovopro%2Fzh%2Fsmbaccount%2Fgatekeeper%2Fshowpage%3FipromoID%3DHellobar_01_lpro%22%20target%3D%22_self%22%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%22%3E%3Cstrong%3E%E5%85%8D%E8%B2%BB%E5%8A%A0%E5%85%A5%20Lenovo%20Pro%3C%2Fstrong%3E%3C%2Fspan%3E%3C%2Fa%3E%3C%2Fp%3E","en":"","en_hk":"%3Cp%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3Cstrong%3E%3C%2Fstrong%3E%3Cstrong%3E%3C%2Fstrong%3E%3Cstrong%3E%3C%2Fstrong%3ELenovo%20Pro%20for%20Business%20%7C%20FREE%20membership%2C%20exclusive%20member%20discounts%2C%20Purchase%20PC%20%26amp%3B%20get%2020%25%20off%20Accessories%3C%2Fp%3E%3Cp%20style%3D%22text-wrap%3A%20wrap%3B%22%3E%3Ca%20href%3D%22https%3A%2F%2Faccount.lenovo.com%2Fhk%2Flenovopro%2Fen%2Fsmbaccount%2Fgatekeeper%2Fshowpage%3FipromoID%3DHellobar_01_lpro%22%20target%3D%22_self%22%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%22%3E%3Cstrong%3EJoin%20Lenovo%20Pro%20FREE%3C%2Fstrong%3E%3C%2Fspan%3E%3C%2Fa%3E%3C%2Fp%3E","zh":""},"id":"Page3311844f-6f4e-4b5c-a6de-635d0f03801b"},"gInfo":""},{"pcInfo":"","mAndTabInfo":"","bannerInfo":{"t_id":"Paged3d40bec-66ee-467c-805f-247433c624f2","language":{"zh_hk":"%3Cp%3E%3Cstrong%3E%3C%2Fstrong%3ELenovo%20%E6%95%99%E8%82%B2%20%7C%20%E8%A8%BB%E5%86%8A%E5%8D%B3%E5%8F%AF%E8%A7%A3%E9%8E%96%E9%AB%98%E9%81%94%20HK%24800%20%E8%BF%8E%E6%96%B0%E5%84%AA%E6%83%A0%E5%8F%8A%E9%AB%98%E9%81%94%2010%25%20%E9%A1%8D%E5%A4%96%E5%84%AA%E6%83%A0%EF%BC%8C%E5%B9%B3%E6%9D%BF%E9%9B%BB%E8%85%A6%E5%8F%AF%E4%BA%AB%2085%20%E6%8A%98%E5%84%AA%E6%83%A0%E3%80%82%3C%2Fp%3E%3Cp%3E%3Ca%20href%3D%22%2Fd%2Fschool-from-home%2F%3FipromoID%3Dhellobar_02_edu_cta1%22%20target%3D%22_blank%22%20textvalue%3D%22%E7%AB%8B%E5%8D%B3%E8%B3%BC%E8%B2%B7%26nbsp%3B%22%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cstrong%3E%3Cspan%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%22%3E%E7%AB%8B%E5%8D%B3%E8%B3%BC%E8%B2%B7%26nbsp%3B%3C%2Fspan%3E%3C%2Fstrong%3E%3C%2Fa%3E%3Cstrong%3E%3Cspan%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%22%3E%20%7C%26nbsp%3B%20%3C%2Fspan%3E%3C%2Fstrong%3E%3Ca%20href%3D%22https%3A%2F%2Fwww.lenovo.com%2Fhk%2Fedu%2Fhkedu%2Fzh%2Flogin%2Fedu%2F%3FipromoID%3Dhellobar_02_edu_cta2%22%20target%3D%22_blank%22%20textvalue%3D%22%E8%A8%BB%E5%86%8A%EF%BC%8F%E7%99%BB%E5%85%A5%22%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%22%3E%3Cstrong%3E%E5%8A%A0%E5%85%A5%20Lenovo%20%E6%95%99%E8%82%B2%26nbsp%3B%3C%2Fstrong%3E%3C%2Fspan%3E%3C%2Fa%3E%3C%2Fp%3E","en":"","en_hk":"%3Cp%3E%3Cstrong%3E%3C%2Fstrong%3ELenovo%20Education%20%7C%20Register%20to%20unlock%20HK%24800%20welcome%20discount%20%2B%20up%20to%2010%25%20EXTRA%20savings%26nbsp%3B%20%2B%2015%25%20off%20tablets.%3C%2Fp%3E%3Cp%3E%3Ca%20href%3D%22%2Fd%2Fschool-from-home%2F%3FipromoID%3Dhellobar_02_edu_cta1%22%20target%3D%22_blank%22%20textvalue%3D%22Shop%20Now%22%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%22%3E%3Cstrong%3EShop%20Now%3C%2Fstrong%3E%3Cstrong%3E%3C%2Fstrong%3E%3C%2Fspan%3E%3C%2Fa%3E%3Cspan%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%22%3E%3Cstrong%3E%26nbsp%3B%20%7C%26nbsp%3B%26nbsp%3B%3C%2Fstrong%3E%3Ca%20href%3D%22https%3A%2F%2Fwww.lenovo.com%2Fhk%2Fedu%2Fhkedu%2Fen%2Flogin%2Fedu%2F%3FipromoID%3Dhellobar_02_edu_cta2%22%20target%3D%22_blank%22%20textvalue%3D%22Sign%20Up%20%2F%20Sign%20In%22%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%22%3E%3Cstrong%3EJoin%20Lenovo%20Education%26nbsp%3B%3C%2Fstrong%3E%3C%2Fspan%3E%3C%2Fa%3E%3C%2Fspan%3E%3C%2Fp%3E","zh":""},"id":"Paged3d40bec-66ee-467c-805f-247433c624f2"},"gInfo":""},{"pcInfo":"","mAndTabInfo":"","bannerInfo":{"t_id":"Page538c1d4b-4718-42c9-a398-6ef13adc5fc2","language":{"zh_hk":"%3Cp%3E%3Cstrong%3E%E7%8B%82%E6%AD%A1Black%20Friday%E8%B3%BC%E7%89%A9%E6%94%BB%E7%95%A5%3C%2Fstrong%3E%20%7C%26nbsp%3B%E9%9B%BB%E8%85%A6%E4%BD%8E%E8%87%B350%25%20off%20%2B%20%E6%B6%88%E8%B2%BB%E4%BA%AB%E9%AB%98%E9%81%943%25%20My%20Lenovo%20Rewards%E5%9B%9E%E8%B4%88%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%3Ca%20href%3D%22%2Fd%2Fdeals%2Fspecial-offer%2F%22%20target%3D%22_self%22%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%22%3E%3Cstrong%3E%E7%AB%8B%E5%8D%B3%E6%90%B6%E8%B3%BC%3C%2Fstrong%3E%3C%2Fspan%3E%3C%2Fa%3E%3C%2Fp%3E","en":"","en_hk":"%3Cp%3E%3Cstrong%3E%3Cspan%20style%3D%22text-wrap-mode%3A%20wrap%3B%22%3EBlack%20Friday%20Shopping%20Carnival%3C%2Fspan%3E%3C%2Fstrong%3E%3Cspan%20style%3D%22text-wrap-mode%3A%20wrap%3B%22%3E%20%7C%26nbsp%3B%20%3C%2Fspan%3ELAPTOPS%20UP%20TO%2050%25%20OFF%2B%20UP%20TO%203%25%20My%20Lenovo%20Rewards%20Points%20on%20PCs%20%26amp%3B%20accessories%20for%20a%20limited%20time.%26nbsp%3B%20%3Cspan%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%22%3E%26nbsp%3B%3C%2Fspan%3E%3Ca%20href%3D%22%2Fd%2Fdeals%2Fspecial-offer%2F%22%20target%3D%22_self%22%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cstrong%3E%3Cspan%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%22%3EShop%20Deals%3C%2Fspan%3E%3C%2Fstrong%3E%3C%2Fa%3E%3C%2Fp%3E","zh":""},"id":"Page538c1d4b-4718-42c9-a398-6ef13adc5fc2"},"gInfo":""},{"pcInfo":"","mAndTabInfo":"","bannerInfo":{"t_id":"Pagec4a2f708-9e43-48b6-afce-95e81f993c15","language":{"zh_hk":"%3Cp%3EThinkPad%20X1%20Carbon%20Gen%2013%20AI%20PC%20%7C%20%E5%85%A8%E6%96%B0%E7%9A%84%20ThinkPad%20X1%20Carbon%20Gen%2013%20AI%20%E9%9B%BB%E8%85%A6%E7%8F%BE%E5%B7%B2%E4%B8%8A%E5%B8%82%E3%80%82%3C%2Fp%3E%3Cp%3E%3Ca%20href%3D%22%2Fp%2Flaptops%2Fthinkpad%2Fthinkpadx1%2Fthinkpad-x1-carbon-gen-13-aura-edition-14-inch-intel%2Flen101t0108%3FipromoID%3Dhellobar_04_ThinkPad-X1-Carbon-Gen-13%22%20target%3D%22_self%22%20style%3D%22text-decoration%3A%20underline%3B%20color%3A%20rgb(0%2C%200%2C%200)%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%22%3E%3Cstrong%3E%E7%AB%8B%E5%8D%B3%E9%A0%90%E8%B3%BC%3C%2Fstrong%3E%3Cstrong%3E%3C%2Fstrong%3E%3Cstrong%3E%3C%2Fstrong%3E%3C%2Fspan%3E%3C%2Fa%3E%3C%2Fp%3E","en":"","en_hk":"%3Cp%3EThinkPad%20X1%20Carbon%20Gen%2013%20AI%20PC%20%7C%20The%20all-new%20ThinkPad%20X1%20Carbon%20Gen%2013%20AI%20PC%20is%20available%20now.%3C%2Fp%3E%3Cp%3E%3Ca%20href%3D%22%2Fp%2Flaptops%2Fthinkpad%2Fthinkpadx1%2Fthinkpad-x1-carbon-gen-13-aura-edition-14-inch-intel%2Flen101t0108%3FipromoID%3Dhellobar_04_ThinkPad-X1-Carbon-Gen-13%22%20target%3D%22_self%22%20style%3D%22text-decoration%3A%20underline%3B%20color%3A%20rgb(0%2C%200%2C%200)%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%22%3E%3Cstrong%3EPre-order%20Now%3C%2Fstrong%3E%3Cstrong%3E%3C%2Fstrong%3E%3Cstrong%3E%3C%2Fstrong%3E%3C%2Fspan%3E%3C%2Fa%3E%3C%2Fp%3E","zh":""},"id":"Pagec4a2f708-9e43-48b6-afce-95e81f993c15"},"gInfo":""},{"pcInfo":"","mAndTabInfo":"","bannerInfo":{"t_id":"Page6d282365-9103-4286-af03-009adc6eaf27","language":{"zh_hk":"%3Cp%3E%E6%96%B0%E5%88%B0%E8%B2%A8%E5%93%81%20%7C%20%E6%8E%A2%E7%B4%A2%E6%88%91%E5%80%91%E6%9C%80%E6%96%B0%E7%9A%84%20Yoga%E3%80%81Legion%E3%80%81ThinkPad%20%E8%88%87%20IdeaPad%20%E7%B3%BB%E5%88%97%26nbsp%3B%20%26nbsp%3B%3Ca%20href%3D%22%2Fd%2Fdeals%2Fnew-arrival%2F%3FipromoID%3Dhellobar_New_Arrivals%22%20target%3D%22_self%22%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%22%3E%3Cstrong%3E%E7%AB%8B%E5%8D%B3%E9%81%B8%E8%B3%BC%3C%2Fstrong%3E%3C%2Fspan%3E%3C%2Fa%3E%3C%2Fp%3E","en":"","en_hk":"%3Cp%3ENew%20Arrivals%20%7C%20Explore%20our%20latest%20Yoga%2C%20Legion%2C%20ThinkPad%20%26amp%3B%20IdeaPad%20range.%26nbsp%3B%20%26nbsp%3B%3Ca%20href%3D%22%2Fd%2Fdeals%2Fnew-arrival%2F%3FipromoID%3Dhellobar_New_Arrivals%22%20target%3D%22_self%22%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%20text-decoration%3A%20underline%3B%22%3E%3Cspan%20style%3D%22color%3A%20rgb(0%2C%200%2C%200)%3B%22%3E%3Cstrong%3EAll%20New%20Arrivals%3C%2Fstrong%3E%3C%2Fspan%3E%3C%2Fa%3E%3C%2Fp%3E","zh":""},"id":"Page6d282365-9103-4286-af03-009adc6eaf27"},"gInfo":""}],"autoRun":true,"displayTerminal":"pc,tablet,mobile","isShowDivide":true}
11.11 最強折扣反應熱烈!
優惠延長一週!最後倒數,立即行動!
天數
小時
分鐘
秒數
11.11 最強折扣反應熱烈!
優惠延長一週!最後倒數,立即行動!
天數
小時
分鐘
秒數


什麼是 Java 虛擬機器 (JVM)?

JVM 是一個能夠執行 Java 位元組碼的虛擬機器。 JVM 可作為 Java 程式語言和底層硬體之間的解釋器。它為Java應用程式提供在不同平台和作業系統上運作的環境。

JVM中類別載入器的作用是什麼?

類別載入器負責在引用類別時將類別載入到 JVM 記憶體中。它會搜尋所需的類別檔案並將它們載入到記憶體中,確保每個類別僅載入一次。類別載入器還執行重要的任務,例如驗證載入的類別的完整性並解決它們之間的任何依賴關係。

我可以在任何使用 JVM 的作業系統上執行 Java 應用程式嗎?

是的,JVM 的主要優點之一是它的平台獨立性。編譯為字節碼的 Java 應用程式可以在任何安裝了相容 JVM 的作業系統或平台上運行。這意味著,只要有適當的 JVM,在 Windows 機器上開發的 Java 程式無需任何修改就可以在 Linux 系統上運行。

JVM 提供任何安全功能嗎?

是的,JVM提供了各種安全功能來確保Java應用程式的安全執行。 Java 安全管理器是關鍵的安全功能之一,它允許您為應用程式定義安全性原則。此策略指定授予 JVM 中執行的程式碼的權限,控製程式碼可以執行的操作,例如存取檔案、網路或系統資源。

JVM如何進行記憶體管理?

JVM 透過自動記憶體分配和垃圾收集相結合來管理記憶體。它動態地為物件分配內存,當物件不再被引用時,垃圾收集器會釋放記憶體。

JVM 語言和 JVM 實作之間有什麼區別?

JVM 語言(例如 Kotlin、Scala)是一種在 JVM 上執行並編譯為 Java 字節碼的程式語言。它利用 JVM 的執行環境,但可能有自己的語法和功能。

JVM 實作(例如,Oracle HotSpot、OpenJDK)是解釋和執行Java 字節碼的實際軟體。不同的實作可能具有不同的性能特徵和最佳化。

我可以透過命令列選項自訂 JVM 行為嗎?

是的,JVM 提供了廣泛的命令列選項,允許自訂其行為。這些選項可以控制各個方面,例如記憶體分配、垃圾收集演算法和效能分析。

JVM 與平台無關嗎?

是的,JVM 被設計為獨立於平台,這意味著 Java 應用程式可以在任何具有相容 JVM 的系統上運行。這是透過解釋和執行 Java 字節碼來實現的,Java 字節碼在 JVM 實作中是標準化的。

JVM如何處理執行緒同步?

JVM 提供了鎖、監視器和同步區塊等內建機制來促進執行緒同步。這些機制確保多個執行緒可以安全地存取共享資源,而不會發生幹擾或資料損壞。

JVM可以嵌入到其他環境或設備中嗎?

是的,JVM 可以嵌入到其他環境或裝置中,允許 Java 應用程式在從伺服器到行動裝置甚至物聯網 (IoT) 裝置的平台上運行。

JVM 中有哪些不同類型的垃圾收集器?

JVM 提供了各種垃圾收集器,例如串行、並行、並發標記清除 (CMS)、垃圾優先 (G1) 和 Z 垃圾收集器 (ZGC)。每個收集器都有自己的優勢和特點,適合不同的場景。

JVM如何處理多執行緒和同步問題?

JVM 提供了鎖定、監視器和原子操作等內建機制,以方便執行緒同步並確保多個執行緒存取共享資源時的資料完整性。

JVM可以在運行時動態載入類別嗎?

是的,JVM 支援運行時動態類別載入。這允許應用程式載入和使用編譯時未知的類,從而實現靈活性和可擴展性。

JVM 中的即時 (JIT) 編譯器的作用是什麼?

JVM 中的 JIT 編譯器動態地將部分字節碼編譯為機器碼,以提高效能。它分析經常執行的程式碼路徑並優化它們以加快執行速度。

JVM可以用於即時應用程式嗎?

是的,一些 JVM 實作提供即時功能,例如可預測和低延遲執行。這些實作是為必須滿足嚴格時序要求的用例而設計的。

JVM 中的即時 (JIT) 編譯器的作用是什麼?

JVM 中的 JIT 編譯器在執行時間動態地將字節碼部分編譯為本機機器碼,從而優化程式中頻繁執行部分的效能。這使得JVM能夠在字節碼的可移植性和本機程式碼執行的效率之間取得平衡。

JVM中ClassLoader的作用是什麼?

JVM中的ClassLoader負責將類別載入到記憶體中並在運行時連結它們。它定位字節碼或編譯的類別文件,驗證它們的完整性,並將它們載入到 JVM 中。

JVM 如何處理 Java 應用程式中的安全性?

JVM 透過安全管理器、字節碼驗證、沙箱和存取控制機制等功能的組合來增強安全性。這些確保 Java 應用程式在安全的環境中運行,防止未經授權的存取和惡意程式碼的執行。

JVM 可以執行用其他程式語言編寫的程式碼嗎?

雖然 JVM 主要執行 Java 字節碼,但它支援其他 JVM 語言,例如 Kotlin、Scala、Groovy 和 Clojure。這些語言可以編譯為字節碼並在 JVM 上執行,利用其執行時間環境和函式庫。

JVM 的客戶端版本和伺服器版本有什麼不同?

JVM 的客戶端版本針對快速啟動時間和減少記憶體佔用進行了最佳化,使其適合客戶端應用程式。伺服器版本針對長時間運行的伺服器應用程式進行了最佳化,優先考慮效能和吞吐量。

JVM中類別文件驗證器的作用是什麼?

JVM中的類別檔案驗證器確保字節碼符合Java虛擬機器定義的規格。它檢查有效的字節碼指令、正確的類型使用,並檢測任何安全漏洞或潛在錯誤。

JVM 如何處理物件導向程式設計中的方法分派?

JVM 使用動態方法分派來決定在執行時間呼叫哪個版本的方法。它考慮呼叫該方法的對象,允許多態行為和重寫。

JVM如何處理程式拋出的例外狀況?

JVM 使用異常處理機制來捕捉和傳播異常。當拋出異常時,JVM 會搜尋適當的異常處理程序(try-catch 區塊)來處理異常。如果沒有找到合適的處理程序,JVM 將終止程序並顯示異常堆疊追蹤。

JVM可以在運行時動態載入和卸載類別嗎?

是的,JVM支援動態類別載入和卸載。它提供了諸如 ClassLoader 之類的應用程式介面 (API),允許在運行時動態載入類別。類別也可以透過刪除它們的參考來卸載,JVM 的垃圾收集器將回收被卸載的類別所佔用的記憶體。

{"pageComponentDataId":"537198bf07954-401a-b47a-087e257f1d72","isAssociatedRelease":"true","pageComponentDataLangCode":"en_hk","configData":{"jumpType":"currentTab","headlineColor":"black","displayNumber":"","styleMode":"vertical","miniCardHoMode":"2","headline":"","products":[{"number":{"t_id":"len101t0102","language":{"zh_hk":"len101t0102","en":"","en_hk":"len101t0102","zh":""},"id":"Page497e178f-e4db-4b5b-b1a5-ec4687329efb"}},{"number":{"t_id":"len101t0104","language":{"zh_hk":"len101t0104","en":"","en_hk":"len101t0104","zh":""},"id":"Page9145835b-830f-4dee-9765-5a8ed87b670f"}},{"number":{"t_id":"len101t0081","language":{"zh_hk":"len101t0081","en":"","en_hk":"len101t0081","zh":""},"id":"Pagebb4de9bf-4262-41eb-9982-04bc0777035c"}},{"number":{"t_id":"len101g0036","language":{"zh_hk":"len101g0036","en":"","en_hk":"len101g0036","zh":""},"id":"Paged7259f59-5586-49c9-8b68-20a93f7b4c51"}}]},"urlPrefix":"AAAAAAALAAAG","needGetLatestTransDataKey":"needGetLatestTransDataValue","title":"glossary-right-blue-boxes-fragment","pageId":"82171833-6325-4d09-947e-5979c9876a90","urlEdit":0,"uri":"/FragmentDirectory/glossary/glossary-right-blue-boxes-fragment.frag","pageComponentId":"537198bf07954-401a-b47a-087e257f1d72","tplId":"c7389f9a-59c0-4c34-a9e1-f1c090c6ab86","pageComponentUuid":"537198bf07954-401a-b47a-087e257f1d72","targetUser":"0"}
即將上市
起價
建議售價
原價
網上售價:
建議售價
預估價值 (Estimated Value)
定價是Lenovo根據產業數據對產品價值的估算,包括第一方和第三方零售商和電商提供或估值相同或相似產品的價格。第三方經銷商數據可能不是基於實際銷售。
預估價值是Lenovo根據行業數據對產品價值的估算,包括Lenovo和/或第三方零售商和電子零售商提供或估值相同或相似產品的價格。第三方數據可能不是基於實際銷售。
了解更多
See More
See Less
查看 {0} 型號
查看 {0} 款型
shipping.options.for.{0}
產品編號
功能
查看更多
查看較少
比較
已加入!
好選擇!
您可以在每個產品類別(筆記本電腦、桌上型電腦等)中比較最多 4 項產品。請取消選擇一項才能新增另一項。
檢視您的比較
加入購物車
加入購物車
我們很抱歉,
產品暫時無法使用。
繼續購物
了解更多
即將上市
精選產品
精選產品
哎呀!未找到任何結果。請瀏覽上方的類別以尋找您的產品。
儲存
open in new tab
© 2024 Lenovo. 保留所有權利。
© {year} Lenovo. All rights reserved.
比較  ()
x