For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!
I am full of curiosity about the source code of enq method from AbstractOueuedSvnchronizer in jdk1.8:
I think It is unnecessary to new another Instance of Node class, just use the node parameter is ok. And then, return tail.
Just like my code