Mercurial > hg > icedtea7-forest > hotspot
changeset 6462:c2a745174c84 icedtea-2.7.0pre08
8135002, PR3162: Fix or remove broken links in objectMonitor.cpp comments
Summary: Updated comments to refer to relevant patents.
Reviewed-by: dcubed
author | dbuck |
---|---|
date | Sun, 06 Sep 2015 05:02:06 -0700 |
parents | 3b5ed034ebab |
children | 76e61db96315 |
files | src/share/vm/runtime/objectMonitor.cpp |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/runtime/objectMonitor.cpp Fri Jan 08 05:28:21 2016 -0800 +++ b/src/share/vm/runtime/objectMonitor.cpp Sun Sep 06 05:02:06 2015 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -224,7 +224,8 @@ // // * The monitor entry list operations avoid locks, but strictly speaking // they're not lock-free. Enter is lock-free, exit is not. -// See http://j2se.east/~dice/PERSIST/040825-LockFreeQueues.html +// For a description of 'Methods and apparatus providing non-blocking access +// to a resource,' see U.S. Pat. No. 7844973. // // * The cxq can have multiple concurrent "pushers" but only one concurrent // detaching thread. This mechanism is immune from the ABA corruption. @@ -2007,7 +2008,8 @@ // (duration) or we can fix the count at approximately the duration of // a context switch and vary the frequency. Of course we could also // vary both satisfying K == Frequency * Duration, where K is adaptive by monitor. -// See http://j2se.east/~dice/PERSIST/040824-AdaptiveSpinning.html. +// For a description of 'Adaptive spin-then-block mutual exclusion in +// multi-threaded processing,' see U.S. Pat. No. 8046758. // // This implementation varies the duration "D", where D varies with // the success rate of recent spin attempts. (D is capped at approximately