Máquina virtual Java

Máquina virtual Java (em inglês: Java Virtual Machine, JVM) é um programa que carrega e executa os aplicativos Java, convertendo os bytecodes em código executável de máquina. A JVM é responsável pelo gerenciamento dos aplicativos, à medida que são executados.

Graças à máquina virtual Java, os programas escritos em Java podem funcionar em qualquer plataforma de hardware e software que possua uma versão da JVM, tornando assim essas aplicações independentes da plataforma onde funcionam.

Especificação JVM

A máquina virtual Java é um computador abstrato (virtual) definido por uma especificação. O algoritmo de coleta de lixo usado e qualquer otimização interna das instruções da máquina virtual Java (sua tradução em código de máquina) não são especificados. A principal razão para essa omissão é não restringir desnecessariamente os implementadores. Qualquer aplicativo Java pode ser executado apenas dentro de alguma implementação concreta da especificação abstrata da máquina virtual Java.[1]

Começando com Java Platform, Standard Edition (J2SE) 5.0, as mudanças na especificação JVM foram desenvolvidas sob o Java Community Process como JSR 924.[2] A partir de 2006, as mudanças nas especificações para suportar as mudanças propostas para o formato do arquivo de classe (JSR 202) estão sendo feitas como uma versão de manutenção do JSR 924.[3]

JVM no navegador da web

No início da vida útil da plataforma Java, a JVM foi comercializada como uma tecnologia da web para a criação de aplicativos ricos para a Internet. A partir de 2018, a maioria dos navegadores da web e sistemas operacionais que empacotam navegadores da web não são enviados com um plug-in Java, nem permitem o side-loading de qualquer plug-in não Flash. O plugin do navegador Java foi preterido no JDK 9.[4]

Em junho de 2015, de acordo com a W3Techs, o uso de miniaplicativos Java e Silverlight caiu para 0,1% cada para todos os sites, enquanto o Flash caiu para 10,8%.[5]

Execução segura do código remoto

A arquitetura de JVM permite um controle muito fino sobre as ações liberadas para o código que está rodando na VM. Isso permite a execução de código confiável de fontes remotas, um modelo usado pelos applets. Os applets rodam dentro de uma VM incorporada ao browser do usuário, executando código baixado de um servidor HTTP remoto. O código remoto roda em uma sandbox, que protege o usuário de códigos maliciosos. O autor do applet pode aplicar um certificado para assinar digitalmente o applet como "seguro", dando a ele permissão de sair do sandbox e acessar livremente a máquina onde está rodando.

Ver também

Referências

  1. Venners, Bill. «Free Online Chapters of Inside the Java Virtual Machine». Artima. Chapter 5. Consultado em 5 de dezembro de 2020 
  2. «The Java Community Process(SM) Program - JSRs: Java Specification Requests - detail JSR# 924». www.jcp.org. Consultado em 5 de dezembro de 2020 
  3. «The Java Community Process(SM) Program - JSRs: Java Specification Requests - detail JSR# 202». www.jcp.org. Consultado em 5 de dezembro de 2020 
  4. Staff, Ars (28 de janeiro de 2016). «Oracle deprecates the Java browser plugin, prepares for its demise». Ars Technica (em inglês). Consultado em 5 de dezembro de 2020 
  5. «Historical yearly trends in the usage statistics of client-side programming languages for websites, December 2020». w3techs.com. Consultado em 5 de dezembro de 2020 

Ligações externas

Ícone de esboço Este artigo sobre programação de computadores é um esboço. Você pode ajudar a Wikipédia expandindo-o.

Read other articles:

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Januari 2023. Yohanes Soan dari Goto Yohanes Soan dari Goto adalah seorang martir Katolik Jepang dari pulau Goto. Ia bersekolah di sekolah Serikat Yesus untuk menjadi seorang Katekis dan membantu para misionaris dengan keahliannya melukis dan bermain musik. Ia ditem...

 

Frank Charles HighPenerima Medal of HonorLahir(1875-06-07)7 Juni 1875Yolo County, CaliforniaMeninggal13 Desember 1966(1966-12-13) (umur 91)Ashland, OregonPengabdianAmerika SerikatDinas/cabangAngkatan Darat Amerika SerikatPangkatPrivat Kelas SatuKesatuanYoung's Scouts, Company G, 2nd Oregon VolunteersPerang/pertempuranPerang Filipina-AmerikaPenghargaanMedal of Honor Frank Charles High (7 Juni 1875 – 13 Desember 1966) adalah seorang prajurit Angkatan Darat Amerika Serikat y...

 

Association football club in Grantham, England Football clubGrantham TownFull nameGrantham Town Football ClubNickname(s)The GingerbreadsFounded1874GroundSouth Kesteven Sports Stadium, GranthamCapacity7,500 (750 seated)[1]ChairmanPaul RawdenManagerLouis BlandLeagueNorthern Premier League Division One East2022–23Northern Premier League Division One East, 16th of 20WebsiteClub website Home colours Away colours Grantham Town Football Club is a football club based in Grantham, Lincolnshi...

Japanese politician Tanaka ShōzōShōzō TanakaBorn(1841-12-15)December 15, 1841Sano, Tochigi, JapanDied4 September 1913(1913-09-04) (aged 71)Sano, JapanNationalityJapaneseOccupation(s)Politician, Environmental activist Shōzō Tanaka (田中 正造, Tanaka Shōzō, 15 December 1841 – 4 September 1913)[1] was a Japanese politician and social activist, and is considered to be Japan's first conservationist.[2] Tanaka was politically active in the Meiji Restoration and le...

 

Legislative body of the Islamic Republic of Iran Islamic Consultative Assembly مجلس شورای اسلامیMajles-e Showrā-ye Eslāmī11th termTypeTypeUnicameral[1] HistoryFounded16 November 1906; 117 years ago (1906-11-16)14 March 1980 (current form)Preceded byNational Consultative AssemblyLeadershipSpeakerMohammad Bagher Ghalibaf since 28 May 2020 First ViceAbdolreza Mesri since 28 May 2023 Second ViceMojtaba Zonnour since 28 May 2023 StructureSeats290 ...

 

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: KF Bashkimi 1947–2008 – news · newspapers · books · scholar · JSTOR (January 2020) (Learn how and when to remove this message) For other uses, see Bashkimi (disambiguation). This article is about the dissolved association football club. For the currently...

Gurindam 12 oleh Raja Ali Haji (Pahlawan Nasional), Tanking Pining Contoh gurindam di Berita Adat Gurindam adalah salah satu jenis puisi yang memadukan antara sajak dan peribahasa. Jumlah baris pada gurindam hanya dua dengan rima a-a. Gurindam berisi ajaran yang berkaitan dengan budi pekerti dan nasihat keagamaan. Baris pada gurindam disebut sebagai syarat dan akibat. Syarat merupakan baris pertama dan akibat sebagai baris kedua.[1] Baris pertama membahas tentang persoalan, masalah at...

 

أندريه ساخاروف (بالروسية: Андрей Дмитриевич Сахаров)‏  أندريه ساخاروف في مارس 1989 معلومات شخصية الميلاد 21 مايو 1921(1921-05-21)موسكو، الاتحاد السوفيتي الوفاة 14 ديسمبر 1989 (68 سنة)موسكو، الاتحاد السوفيتي سبب الوفاة نوبة قلبية  مكان الدفن مقبرة فوستريكوفو  [لغات أخرى]‏...

 

Pour les articles homonymes, voir Autoportrait (homonymie). AutoportraitArtiste RembrandtDate Vers 1652Type Huile sur toileTechnique PeintureDimensions (H × L) 112 × 81 cmSérie Autoportraits de RembrandtMouvement Âge d'or de la peinture néerlandaiseNo d’inventaire GG_411Localisation Musée d'Histoire de l'art de Vienne, Vienne (Autriche)Coordonnées 48° 12′ 13″ N, 16° 21′ 41″ ELocalisation sur la carte d’AutricheLo...

Untuk kegunaan lain, lihat Siwalan. SiwalanKecamatanPeta lokasi Kecamatan SiwalanNegara IndonesiaProvinsiJawa TengahKabupatenPekalonganPemerintahan • CamatH. Siswoyo, M.SiPopulasi • Total37,864 jiwaKode Kemendagri33.26.17 Kode BPS3326101 Luas25.91 km²Desa/kelurahan13 Siwalan (bahasa Jawa: ꦱꦶꦮꦭꦤ꧀, translit. Siwalan) adalah sebuah kecamatan di Kabupaten Pekalongan, Provinsi Jawa Tengah, Indonesia. Kecamatan ini berjarak sekitar 19 km dari ...

 

「マグナ・カルタ」のその他の用法については「マグナ・カルタ (曖昧さ回避)」をご覧ください。 この記事は検証可能な参考文献や出典が全く示されていないか、不十分です。出典を追加して記事の信頼性向上にご協力ください。(このテンプレートの使い方)出典検索?: マグナ・カルタ – ニュース · 書籍 · スカラー · CiNii · J-STAGE · N...

 

For other uses of terms redirecting here, see Macedonian struggle. National Liberation FrontНародноослободителен фронтDates of operation1945–1949Active regionsMacedonia (Greece)IdeologyMacedonian nationalismCommunismAllies Democratic Army of GreeceOpponents Hellenic ArmyBattles and warsGreek Civil War The National Liberation Front (Macedonian: Народноослободителен фронт [НОФ], Narodnoosloboditelen front [NOF]), also known as the...

Tank division of the Russian Ground Forces This article is about the 1965–1997 military formation. For the 1957–1960 military unit, see 72nd Guards Joint Training Centre. 47th Guards Tank Division(1965–1997, 2022–present) 26th Guards Tank Division(1957–1965) 19th Guards Mechanized Division(1945–1957) 47th Guards Rifle Division(1942–1945)47-я гвардейская танковая Нижнеднепровская Краснознамённая, ордена Богдана Хм�...

 

Italian economist and politician Ezio VanoniMinister of FinanceIn office24 May 1948 – 18 January 1954PresidentAlcide De GasperiGiuseppe PellaPreceded byGiuseppe PellaSucceeded byAdone ZoliMinister of BudgetIn office18 January 1954 – 16 February 1956Prime MinisterAmintore FanfaniMario ScelbaAntonio SegniPreceded byGiuseppe PellaSucceeded byAdone ZoliMinister of Foreign CommerceIn office2 February 1947 – 1 June 1947Prime MinisterAlcide De GasperiPreceded byPietr...

 

Israel Artikel ini adalah bagian dari seri Politik dan KetatanegaraanIsrael Konstitusi Hukum Dasar Hukum Yerusalem Undang-undang Kepulangan Kepresidenan Presiden (daftar) Reuven Rivlin Pejabat Sementara Presiden Tertunjuk Yuli-Yoel Edelstein Eksekutif Perdana Menteri (daftar) Benjamin Netanyahu Wakil Perdana Menteri Kabinet Kabinet sekarang (ke-34) Kabinet Keamanan Kabinet Dapur Pengawas Keuangan Legislatif Ketua: Yuli Edelstein Anggota (Arab) Pemimpin Oposisi Isaac Herzog Penjaga Knesset Pem...

7th Season of Pro Kabaddi League Vivo Pro Kabaddi 2019 Season 7Le pangaTournament informationDates20 July 2019–19 October 2019AdministratorMashal SportsTournamentformat(s)Double round robin and playoffsHost(s)IndiaTeams12Websiteprokabaddi.comFinal positionsChampionBengal Warriors (1st title)Runner-upDabang DelhiTournament statisticsMatches played137Top scorer(s) Pawan Sehrawat (346) (Bengaluru Bulls)Most tackle points Fazel Atrachali (82) (U Mumba)Most successful raid Pawan Sehrawat (2...

 

CBS television station in Philadelphia This article is about the television station that used the WPTZ callsign from 1941 to 1956. For the television station in Plattsburgh, New York, that currently uses this callsign, see WPTZ. For the Cleveland station that formerly used the KYW-TV callsign, see WKYC. For other media outlets with similar call letters or branding, see KYW and CBS 3. KYW-TVPhiladelphia, PennsylvaniaUnited StatesChannelsDigital: 30 (UHF)Virtual: 3BrandingCBS Philadelphia; CBS ...

 

Disambiguazione – Ferrari 512 M rimanda qui. Se stai cercando la vettura stradale degli anni novanta, vedi Ferrari F512 M. Ferrari 512 SDescrizione generaleCostruttore  Ferrari CategoriaCampionato del mondo sportprototipi ClasseGruppo 5 - Sport 5.0 litri SquadraScuderia Ferrari SostituisceFerrari 312 P Sostituita daFerrari 312 PB Descrizione tecnicaMeccanicaTelaioSemimonoscocca MotoreV12 da 4993,53cm³ TrasmissioneCambio a 5 rapporti, trazione posteriore Dimensioni e pesiPasso...

For other uses, see Batavia (disambiguation). City in Illinois, United StatesBatavia, IllinoisCityBatavia Depot Museum FlagNicknames: The Windmill City, City of Energy[1]Motto(s): Where Tradition and Vision Meet[2]Location of Batavia in Kane and DuPage Counties within Illinois.Location of Illinois in the United StatesCoordinates: 41°50′56″N 88°18′30″W / 41.84889°N 88.30833°W / 41.84889; -88.30833CountryUnited StatesStateIllinoisCo...

 

この項目には放送または配信開始前の番組に関する記述があります。 ウィキペディアはニュース速報でも宣伝サイトでもありません。方針に従い独自研究の予測などは載せず、信頼の可能である出典を明記した上で正確な記述を心がけてください。また、特に重要と思われることについてはウィキニュースへの投稿も検討してください。(2023年12月) 呪術廻戦 > �...