mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8235193: (dc) Remove JNI overhead from DatagramChannel.send implementation
Reviewed-by: chegar
This commit is contained in:
parent
386b387ef2
commit
e7d68cd13b
10 changed files with 438 additions and 159 deletions
|
@ -310,6 +310,13 @@ class Inet4Address extends InetAddress {
|
|||
return addr;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the 32-bit IPv4 address.
|
||||
*/
|
||||
int addressValue() {
|
||||
return holder().getAddress();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the IP address string in textual presentation form.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue