Oracle ya sanar da sakin Java SE 15, san menene sabo

Bayan watanni shida na ci gaba, Oracle ya sanar da sakin sabon salo na Java SE 15 azaman aiwatarwar tunani wanda ke amfani da buɗaɗɗiyar hanyar buɗe aikin OpenJDK.

Java SE 15 an rarraba shi azaman sigar tallafi na yau da kullun, tare da sabuntawa don sakewa har zuwa na gaba mai zuwa. Jya kamata a yi amfani da ava SE 11 azaman kafa mai goyon baya na dogon lokaci (LTS) da sabuntawa za a sake su har zuwa 2026. Theashin da ya gabata na Java 8 LTS za a tallafawa har zuwa Disamba 2020. LTS na gaba an shirya shi don Satumba 2021.

Sabbin fasalulluka na Java SE 15

A cikin wannan sabon sigar, an gabatar da aikin tallafi don Sa hannu na EdDSA RFC 8032, shirin da aka gabatar na EdDSA baya dogara da dandamali na kayan aiki, yana da kariya daga hare-haren tashar tashar (lokaci mai tsawo na dukkan lissafi yana da tabbas) kuma ya fi ƙarfin aiwatarwar ECDSA da aka rubuta a cikin C dangane da aiki, tare da matakin kariya iri ɗaya.

Wani canji shine tallafi na gwaji don azuzuwan karatu da musaya que ba za a iya amfani da su da sauran azuzuwan da musaya ba don gado, faɗaɗa, ko ɓarna.

Hakanan alama a cikin wannan sabon sigar na Java SE 15 shine tallafi don ɓoyayyun azuzuwan da ba za a iya amfani da su kai tsaye ta bytecode ba na wasu azuzuwan. Babban mahimmancin amfani da azuzuwan ɓoye shine don tsarin da ke samarda azuzuwan cikin sauri yayin aiki kuma yayi amfani dasu kai tsaye ta hanyar tunani.

Mai tara shara ZGC (Z Mai tarin Shara) an daidaita kuma an san shi azaman a shirye don amfanin gaba ɗaya. ZGC yana aiki a cikin yanayin wucewa don rage latenci saboda tarin datti gwargwadon iko (lokacin aiki lokacin amfani da ZGC bai wuce 10 ms ba) kuma zai iya aiki tare da ƙanana da manya-manyan tsibi, wanda yakai girman daga ɗari-ɗari daga megabytes zuwa terabytes da yawa.

Mai tara shara Shenandoah ya daidaita kuma an gane shi a ko'ina. Shenandoah ya haɓaka ta Red Hat kuma ya fita waje don amfani da wani algorithm wanda ya rage lokutan dakatawa yayin tattara shara lokacin tsaftacewa a layi daya tare da aikace-aikacen Java masu gudana.

Hakanan tallafi don toshe rubutu an daidaita kuma ya shiga cikin yaren: a sabon nau'i na zaren zahiri Suna ba ku damar haɗa bayanan rubutu na multiline a cikin lambar asalinku ba tare da amfani da haruffan tserewa da adana ainihin rubutun rubutu a cikin toshe ba.

A gefe guda da Legacy DatagramSocket API an sake yin shi kamar yadda tsohuwar java.net.DatagramSocket da java.net.MicicicSSocket aiwatarwa an maye gurbinsu da aiwatarwa ta zamani wacce ta fi sauƙi don gyarawa da kiyayewa, kuma ya dace da zaren kama-da-wane wanda aka ƙaddamar da aikin Loom.

Idan akwai yiwuwar cin zarafin aiki tare da lambar data kasance, ba a cire tsohuwar aiwatar ba kuma ana iya kunna ta amfani da zaɓin jdk.net.usePlainDatagramSocketImpl.

Har ila yau, an gabatar da gwajin gwaji karo na biyu don daidaita daidaito a cikin '' misali '' mai aiki, wanda ke ba ka damar ayyana mai canjin nan da nan don samun damar ƙimar da aka tabbatar.

A ƙarshe, an ƙaddamar da aiwatar da gwaji karo na biyu na maɓallin «rikodin», wanda ke ba da ƙaramin tsari don ma'anar aji, guje wa buƙatar bayyana a fili ƙididdigar hanyoyi da yawa kamar daidaito (), hashCode () da toString (), a cikin yanayin inda aka adana bayanan kawai a cikin filayen.

Finalmente wasu canje-canje da suka yi fice:

  • An gabatar da daftarin na biyu na damar samun damar ƙwaƙwalwar API
  • Fasahar Nuna Son Kullewa wanda HotSpot JVM yayi amfani dashi don rage yawan kullewa ya lalace kuma yayi rauni.
  • RMI kunnawa na aikin daɗaɗɗen tsarin, wanda za'a cire shi a cikin fitowar ta gaba.
  • Cire injin Nashorn JavaScript, wanda aka rage daraja a Java SE 11.
  • Cire tashar jiragen ruwa don Solaris OS da masu sarrafa SPARC (Solaris / SPARC, Solaris / x64, da Linux / SPARC).

Si kuna so ku sani game da shi game da wannan sabon sigar. Zaka iya duba bayanan A cikin mahaɗin mai zuwa.


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

Kasance na farko don yin sharhi

Bar tsokaci

Your email address ba za a buga. Bukata filayen suna alama da *

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.