I-Oracle ibhengeze ukukhutshwa kweJava SE 15, yazi ukuba yintoni entsha

Emva kweenyanga ezintandathu zophuhliso, I-Oracle ibhengeze ukukhutshwa kwe Inguqulelo entsha ye IJava SE 15 njengophumezo lwesalathiso olusebenzisa umthombo ovulekileyo weprojekthi ye-OpenJDK.

IJava SE 15 Ihlelwe njengohlobo lwenkxaso rhoqo, ngohlaziyo oluzakukhutshwa kude kube luhlobo olulandelayo. UJezi SE 11 kufuneka zisetyenziswe njengomlenze wexesha elide wokuxhasa (LTS) kunye nohlaziyo luya kukhutshwa kude kube ngu-2026 IJava 8 LTS iya kuxhaswa kude kube nguDisemba 2020. Ukukhutshwa kwe-LTS elandelayo kucwangciselwe uSeptemba 2021.

Iimpawu ezintsha eziphambili zeJava SE 15

Kule nguqulo intsha, Umsebenzi wenkxaso ye-EdDSA RFC 8032 Signature iyaziswa, umiliselo olucetywayo lwe-EdDSA ayixhomekekanga kumaqonga ehardware, ikhuselekile ekuhlaselweni ngamajelo asecaleni (ixesha elihlala lihleli lalo lonke ubalo liqinisekisiwe) kwaye likwenza ngcono ukuphunyezwa kwe-ECDSA ebhaliweyo ngo-C ngokwendlela yokusebenza, kwinqanaba elifanayo lokhuseleko.

Olunye utshintsho ngu Inkxaso yovavanyo lweeklasi ezitywiniweyo kunye nendawo yokuhlangana que azinakusetyenziswa ngamanye amaqela kunye nonxibelelwano ukufumana ilifa, ukwandisa, okanye ukungasebenzi.

Ikwaphawulwe kolu hlobo lutsha lweJava SE 15 yi inkxaso yeeklasi ezifihliweyo ezingenakusetyenziswa ngokuthe ngqo yi-bytecode kwezinye iiklasi. Ukusetyenziswa okuphambili kweeklasi ezifihliweyo kukwizakhelo ezivelisa iiklasi ngamandla ngexesha lokubaleka kwaye uzisebenzise ngokungangqalanga ngokubonisa.

Umqokeleli wenkunkuma I-ZGC (Umqokeleli wenkunkuma) izinzile kwaye yamkelwa njengelungele ukusetyenziswa gabalala. I-ZGC isebenza kwimowudi yokuhamba ukunciphisa ukubambezeleka ngenxa yokuqokelelwa kwenkunkuma kangangoko kunokwenzeka (ixesha lokuphumla xa usebenzisa i-ZGC ingadluli kwi-10 ms) kwaye inokusebenza ngeemfumba ezincinci nezinkulu, ezisusela kubukhulu ukusuka kumakhulu aliqela. ukusuka kwii-megabytes ukuya kwii-terabytes ezininzi.

Umqokeleli wenkunkuma I-Shenandoah izinzile kwaye yamkelwa njengobukho kuyo yonke indawo. I-Shenandoah iphuhliswa nguRed Hat kwaye ibalasele ngokusetyenziswa kwealgorithm eyanciphisa amaxesha okuphumla xa kuqokelelwa inkunkuma xa ucoca ngokudibanisa nokusebenzisa iiJava application.

Kwakhona Inkxaso yeebhloko zombhalo izinzile kwaye wangena ngolwimi: a uhlobo olutsha lweentambo zokoqobo Bayakuvumela ukuba ubandakanye idatha yemigca emininzi kwikhowudi yakho yemithombo ngaphandle kokusebenzisa oonobumba bokubaleka kunye nokugcina ukufomatha okubhaliweyo kwasekuqaleni kwibhloko.

Kwelinye icala the Idatha yeLifa ledatha yeSocket API iphinde yasebenza njenge iJava.net endala.DatagramSocket kunye ne-java.net.Umiliselo lweMulticastSocket luthathelwe indawo kukuphunyezwa kwale mihla okulula ukuyilungisa kunye nokuyigcina, kwaye iyahambelana nemisonto ebonakalayo ephuhliswe yiprojekthi yeLoom.

Kwimeko yokophula ukungqinelana okunokwenzeka kunye nekhowudi esele ikho, ukumiliselwa kwakudala akususwanga kwaye kungenziwa kwenziwe kusebenze jdk.net.usePlainDatagramSocketImpl ukhetho.

Kwakhona, ukumiliselwa kwesibini kokuvavanywa kokuthelekiswa kwepateni kuyacetyiswa Kumsebenzisi "instanceof", ekuvumela ukuba uchaze kwangoko umahluko wasekhaya ukufikelela kwixabiso eliqinisekisiweyo.

Okokugqibela, ukumiliselwa kwesibini kwegama eliphambili «irekhodi» kukwaqaqanjisiwe, okunika ifom ehambelana neenkcazo zeklasi, kuthintela isidingo sokuchaza ngokucacileyo iindlela ezininzi ezikumgangatho osezantsi ezinje ngokulingana (), hashCode () kunye toString (), Kwimeko apho idatha igcinwa kuphela kumabala.

Gqibela Olunye utshintsho olwahlukileyo:

  • Uyilo lwesibini lokufikelela kwimemori lwangaphandle lwe-API luyacetyiswa
  • Inkqubo yokuSebenza ngokuTshixiza okusetyenzisiweyo esetyenziswa yiHotSpot JVM ukunciphisa ukutshixa ngaphezulu kukhutshaziwe kwaye kwehlisiwe.
  • Ukusebenza kwe-RMI yendlela ephelelwe lixesha, eya kuthi isuswe xa kukhutshwa ixesha elizayo.
  • Isuse injini yeNashorn yeJavaScript, eyayichithwe kwiJava SE 11.
  • Amachweba asuswe kwiiprosesa zeSolaris OS kunye ne-SPARC (iSolaris / SPARC, iSolaris / x64, kunye neLinux / SPARC).

Si ufuna ukwazi ngakumbi ngayo malunga nale nguqulo intsha. Ungajonga iinkcukacha Kule khonkco ilandelayo.


Umxholo wenqaku uyabambelela kwimigaqo yethu imigaqo yokuziphatha yokuhlela. Ukuxela impazamo cofa apha.

Yiba ngowokuqala ukuphawula

Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa.

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.