adding rsockets support into JDK
Lu, Yingqi
yingqi.lu at intel.com
Fri Nov 16 13:49:29 UTC 2018
Hi Chris,
I already updated RdmaSockets.java in the version 17 of the patch with your suggestions. http://cr.openjdk.java.net/~ylu/8195160.17/
I have not generated Javadoc before. Would you please let me know what kind of flags/options I need to use for the two classes?
Also, in addition to attach the Javadocs for the two classes, anything else I need to modify the CSR?
Thanks,
Lucy
>-----Original Message-----
>From: Chris Hegarty [mailto:chris.hegarty at oracle.com]
>Sent: Friday, November 16, 2018 3:19 AM
>To: Lu, Yingqi <yingqi.lu at intel.com>
>Cc: nio-dev at openjdk.java.net; Viswanathan, Sandhya
><sandhya.viswanathan at intel.com>; Aundhe, Shirish
><shirish.aundhe at intel.com>; Kaczmarek, Eric <eric.kaczmarek at intel.com>
>Subject: Re: adding rsockets support into JDK
>
>Lucy,
>
>
>On 15/11/18 19:12, Lu, Yingqi wrote:
>> Hi Chris,
>>
>> Here is the version 17 of the patch:
>> http://cr.openjdk.java.net/~ylu/8195160.17/
>
>This looks much better. Some final spec comments:
>
>1) src/jdk.net/share/classes/jdk/net/RdmaSocketOptions.java
>
> Looks good.
>
>2) src/jdk.net/share/classes/jdk/net/RdmaSockets.java
>
> a) class-level description now seems a little odd, and heavily weighted
> towards channels, how about something like:
>
> /**
> * Factory methods for creating RDMA-based TCP sockets and channels.
> *
> * <p> The {@link #openSocket() openSocket} and {@link
> * #openServerSocket() openServerSocket} methods create RDMA-based
> * TCP sockets.
> *
> * <p> The {@link #openSelector() openSelector ...
>
> b) Maybe put the security manager verbiage in its own paragraph, since
> it relates to both sockets and channels.
>
> * <p> When a security manager is installed ...
>
> c) Please remove the trailing <p> on line L60.
>
> d) openSocket: "Creates an unconnected RDMA socket."
>
> Given that the socket options mention that the option is allowed to
> be "set before the socket is bound or connected", then maybe this
> opening sentence should be:
> "Creates an unbound and unconnected RDMA socket.
> Note: the other factory methods are clear on this point already.
>
> 3) Minor: personally I'd remove the @see ...NetworkChannel
> It adds no value.
>
>That's it.
>
>Is it possible to generate the javadoc for these classes? It would be useful to
>have to attach to the CSR, or even to be viewable as a link from the CSR.
>
>Can you please update the CSR and I will then add myself as reviewer?
>
>-Chris.
More information about the nio-dev
mailing list