提交 e6371c9c 编写于 作者: D dbuck

8135002: Fix or remove broken links in objectMonitor.cpp comments

Summary: Updated comments to refer to relevant patents.
Reviewed-by: dcubed
上级 b810974d
/* /*
* 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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -226,7 +226,8 @@ static volatile int InitDone = 0 ; ...@@ -226,7 +226,8 @@ static volatile int InitDone = 0 ;
// //
// * The monitor entry list operations avoid locks, but strictly speaking // * The monitor entry list operations avoid locks, but strictly speaking
// they're not lock-free. Enter is lock-free, exit is not. // 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 // * The cxq can have multiple concurrent "pushers" but only one concurrent
// detaching thread. This mechanism is immune from the ABA corruption. // detaching thread. This mechanism is immune from the ABA corruption.
...@@ -1955,7 +1956,8 @@ void ObjectMonitor::notifyAll(TRAPS) { ...@@ -1955,7 +1956,8 @@ void ObjectMonitor::notifyAll(TRAPS) {
// (duration) or we can fix the count at approximately the duration of // (duration) or we can fix the count at approximately the duration of
// a context switch and vary the frequency. Of course we could also // a context switch and vary the frequency. Of course we could also
// vary both satisfying K == Frequency * Duration, where K is adaptive by monitor. // 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 // This implementation varies the duration "D", where D varies with
// the success rate of recent spin attempts. (D is capped at approximately // the success rate of recent spin attempts. (D is capped at approximately
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册