JAVA? ?? ??? JVM ???, ?? ????? ?? ? ?? ????? ??? ?? ??? ? ??? ????? ?????. 1) Java 11? ZGC? ?? JVM ???? ??? ?? ??? ??????. 2) ??? ?? ??? ????? Java 9? ?? ???? ?? ?? ????? ??. 3) ?? ?????? OpenCV? ?? ??? ??? ??? ?????.
??
?? ??? Java? ???? ???? ? ??? ? ??? ???? ?? ? ???? ??? ?????. ??? ??? ????, ?? ?? ? ??? "? ?? ???? ????? ??"???. ??? ?? ?? ???? ??? ? ??? ?? ????? ??????. ? ??? ?? Java? ?? ???? ??? ??? ???? ??, ?? ???? ?? ???? ???? ???? ??? ?????? ????? ??? ??? ?? ? ??? ??????.
?? ?? ??
Java? ??? ??? ??? JVM (Java Virtual Machine)? ????, ?? Java Bytecode? ?? ???? ?? ??? ?????. ??? ? ??? ???? ??? ???? ? JVM? ?? ??? ???? ?? ??????. ?? Java? ?? ????? ? ?? ?????? ??? ????? ???? ?? ??? ??? ? ????.
?? ?? ?? ?? ??
??? ? ??? ?? ? ??
??? ? ??? ??? ?? ?? ?? ???? ???? ?? ???? ??? ??? ??? Java ????? ?????. ??? ???? ?? ?? ??, ??? ?? ??, ??? ????? ??? ?? ??? ? ????. ??? ??? ???? ?? ??? ???? Java ????? ???? ???? ???? ? ?????.
?? ??
?? ??? Java?? ??? ? ??? ???? ?? ?? ??? ??? ????.
- JVM ??? : JVM? ?? ???? ? ? ????? ????? ????????. ?? ??, Java 11? ?? ? ZGC (Z Garbage Collector)? ?? Linux ????? ??? ??? ??? ?? ??????.
- ?? ????? ?? : Java? ?? ?????? ??? ??? ???? ?? ????? ???????. ?? ??, Java 9? ??? ??? ? ???? ???? ??? ?? ??? ??? ??? ?? ???? ??????.
- ?? ????? ?? : ?? ?? ?????? Windows ? Linux?? OpenCV? ??? ??? ?? ??? ???? ??? ? ??? ?????.
?
??? ?? ?? ?? ??? ???? ?? ?? ???? ??? ?????.
java.nio.file.path ?? ??; java.nio.file.paths import; <p>?? ??? ?? ?? { public static void main (String [] args) { Path Path = Paths.get ( "???", "??", "file.txt"); System.out.println (Path); // output : user \ documents \ file.txt (Windows) ?? User/Documents/File.txt (unix) } }</p>
? ??? Java? Paths
???? ???? ?? ????? ?? ??? ???? ??? ?????.
??? ?
?? ??
??? ? ??? ??? ?? ??? Java? ???? API? ???? ????. Java? ??? ??? ?? ??? ????? ???????. ?? ??, java.nio.file
???? ??? ??? ?? ?? API? ?????.
import java.nio.file.files; java.nio.file.paths import; import java.io.ioexception; <p>?? ??? ?? ? { public static void main (String [] args) { ???? { files.createdirectories (paths.get ( "???", "??")); } catch (ioexception e) { e.printstacktrace (); } } }</p>
? ??? ?? ????? ???? ???? Files
???? ???? ????? ??? ??? ?????.
?? ??
??? ???? ?? ??? ? ??? ?????. ?? ?? ??? ?????? ?? ? ? ??? ? API ?? ?????? ???? ? ?? ????.
com.sun.jna.native import; import com.sun.jna.pointer; import com.sun.jna.platform.win32.user32; import com.sun.jna.platform.win32.windef.hwnd; <p>?? ??? WindowsSpecificexample { public static void main (String [] args) { user32 user32 = aviL.load ( "user32", user32.class); hwnd hwnd = user32.findwindow (null, "notepad"); if (hwnd! = null) { user32.showwindow (hwnd, user32.sw_restore); } } }</p>
? ??? JNA (Java Native Access) ?????? ???? Windows ?? API? ???? ??? ?? ???? ??? ?????.
???? ?? ? ??? ?
??? ? ??? ?? ? ?? ???? ??? ??? ????.
- PATH DELIMITER ?? : ?? ????? Path Delimiter?
File.separator
??Paths.get
???? ????. - ??? ?? ?? : ?? ?????? ?? ??? ??? ??? ? ????.
System.getProperty("os.name")
???? ?? ???? ??? ?? ??? API? ??????. - ?? ?? : ?? ???? ??? ?? ? ??? ????? ?? ????????.
??? ???? ??? ?????.
- ?? ??? ? ??? ???? ??? ???? ? ??????.
- ??? ??? ???? ?? ??? ?? ?? ?? ????? ??????.
- ?? ?? ?? ????? ????
-XX: PrintGCDetails
? ?? JVM ??? ????? ??? ?? ??? ? ? ????.
?? ??? ? ?? ??
?? ?? ?????? ??? ? ??? ?? ??? ?????? ?? ??? ???????.
- ???? : ????? ?? ??? ???? ?? ?? ????? ?????. ?? ??, ??? ?? ???? ?? JMH (Java Microbenchmark Harness)? ??????.
import org.openjdk.jmh.annotations.benchmark; import org.openjdk.jmh.annotations.benchmarkmode; import org.openjdk.jmh.annotations.mode; import org.openjdk.jmh.annotations.outputtimeUnit; import org.openjdk.jmh.runner.runner; import org.openjdk.jmh.runner.runnerexception; org.openjdk.jmh.runner.options.options import; import org.openjdk.jmh.runner.options.optionsbuilder; <p>java.util.concurrent.timeUnit import;</p><p> ?? ??? Benchmarkexample { @?? @benchmarkmode (??. ???) @outputtimeUnit (TimeUnit.milliseconds) public void testmethod () { // ??? ??}</p><pre class='brush:php;toolbar:false;'> public static void main (String [] args)? runnerexception { ?? opt = ??? ??builder () .include (benchmarkexample.class.getSimplename ()) .forks (1) .??(); ? ?? (opt) .run (); }
}
? ?? ????? JMH? ???? ??? ?????.
?? ??? ? ?? ?? : ??? ? ??? ?? ? ? ?? ??? ? ?? ??? ???? ?? ?? ?????. Clear Naming? ??? ???? ??? ???? ???? ?? ? ??????.
?? ? ?? : ?? ? ?? ??? ?? ??? ? ??? ??????. ?? ?? Java 9? ?? ???? ??? ? ??? ???? ? ?????.
???? ???? ??? ? ??? ??? ???? ??? ? ????? ?? ??? ????? ?? ???? ??? ?????. ??? ????? ???? ?????? ??? ?? ???? ?? ??????.
???, JVM ???, ?? ????? ?? ? ?? ????? ??? ?? ?? ??? Java? ??? ? ??? ????? ?????. ? ??? ??? ???? ?? ??? ? ??? ??? ???? ???? ??? ?? ? ? ??? ????.
? ??? ?? ??? Java? ??? ? ??? ??? ??????? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

JDBC ????? ???? ????? ?? ?? ?? ??? ?? ?? ??? ?? ? ?? ??? ?? ?? ?? ??? ???????. 1. ????? ????? Conn.SetAutoCommit (False)?? ??????. 2. ??? ? ????? ?? ?? SQL ??? ?????. 3. ?? ??? ??? ?? Conn.commit ()?? ???? ??? ???? ???? ?? ??? ???? Conn.Rollback ()?? ??????. ???, ? ??? ???? ????, ??? ???? ????, ?? ??? ??? ?? ??? ??? ???? ? ???????. ?? ?? ?? ???? ????? ??? ???? ?? ?? ???? ???? ??? ????? ?? ??? ??? ? ?? ???? ?? ????.

thejvmenablesjava? "WriteOnce, Runynywhere"??? ?? excodecodethroughfourmaincomponents : 1. theclassloadersubsystemloads, ??, ? intinitializes.classfilesusingbootsprap, extension, andapplicationclassloaders, ensuringsecureandlazyclasloa

?? ?? ? ?? ???? ???? ?? Java.Time ???? ???? ??????. 2. LocalDate, LocalDateTime ? LocalTime? ?? ?? ??? ??? ?????. 3. () ???? ???? ?? ??? ??? ????. 4. ???/???? ??? ???? ??? ????? ??? ??????. 5. ZonedDateTime ? Zoneid? ???? ???? ??????. 6. DateTimeFormatter? ?? ?? ? ?? ?? ?? ???; 7. ??? ?? ?? ?? ??? ????? ?? ??????. ?? Java? ?? ??? ???? ??? ??? ???? Java.Timeapi ??? ?? ??? ???????.

Pre-FormancetArtUptimeMoryUsage, Quarkusandmicronautleadduetocompile-timeprocessingandgraalvsupport, withquarkusoftenperforminglightbetterine serverless sinarios.2.thyvelopecosyste,

NetworkPortSandfirewallsworkTogetToenableCommunication whileensuringsecurity.1.networkportSarevirtualendpointsnumbered0–65535, Withwell-nownports like80 (http), 443 (https), 22 (ssh) ? 25 (smtp) ?? (specservices

Java 's Garbage Collection (GC)? ???? ???? ???? ??????, ?? ? ??? ??? ? ??? ??? ??? ??? ????. 1.GC? ?? ?? (? : ?? ??, ?? ???, ?? ?? ?)?? ??? ???? ????, ?? ? ??? ??? ???? ?????. 2. ?? ???? ????? ????, ?? ?? ??? ??? ???? ?? ??? ??????. 3. ?? ?? ?? ?? : ??? ?? (Eden, S0, S1)? ?? ????? ?????. ??? ??? ?? ? MajorGC? ???? ? ??? ? ????. Metaspace? ??? ?? ???? ?????. 4. JVM? ??? GC ??? ?????. SerialGC? ??? ?? ????? ?????. ParallelGC? ???? ??????. CMS? ?? ???

GradleisBetTerChoiceFormostNewProjectSduetoitssuperiorflexible, Performance, and ModernToolingsupport.1.Gradle'Sgroovy/kotlindslismoreConcisENDEXPRESSIVETHANMAVEN'SVOSEXML.2.GradleOutsMaveninbuildweedweedweedweedweedweedweedweedweedweedweedweedweedweede

DEFER? ??? ???? ?? ??? ??? ???? ? ?????. ?? ??? ?? ? ? ?? ????, ??? ??? ? ?? ?? (LIFO)? ??? ?????. 1. ?? ??? ??? ? ??? ?????. 2. ?? ??? ?? ??? ??? ????? ?????. 3. ?? ? ?? ?? ??? ? ????. 4. ??? ?????? ??? ??? ???? ?????. 5. ?? ??? ???? ?? ??? ?? ??? ?????. ??? ??? ?? ?? ? ???? ???? ? ????.
