mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-19 04:13:07 +00:00
8297693: Fix typos in src/hotspot and test/hotspot files
Co-authored-by: Michael Ernst <mernst@openjdk.org> Reviewed-by: kevinw, dholmes, sspitsyn
This commit is contained in:
parent
b52611bc36
commit
3f8882b2eb
@ -1178,7 +1178,7 @@ public:
|
||||
return ReservedCodeCacheSize > branch_range;
|
||||
}
|
||||
|
||||
// Check if branches to the the non nmethod section require a far jump
|
||||
// Check if branches to the non nmethod section require a far jump
|
||||
static bool codestub_branch_needs_far_jump() {
|
||||
return CodeCache::max_distance_to_non_nmethod() > branch_range;
|
||||
}
|
||||
|
||||
@ -66,7 +66,7 @@ inline void frame::setup() {
|
||||
_pc = original_pc;
|
||||
_deopt_state = is_deoptimized;
|
||||
assert(_cb == nullptr || _cb->as_compiled_method()->insts_contains_inclusive(_pc),
|
||||
"original PC must be in the main code section of the the compiled method (or must be immediately following it)");
|
||||
"original PC must be in the main code section of the compiled method (or must be immediately following it)");
|
||||
} else {
|
||||
if (_cb == SharedRuntime::deopt_blob()) {
|
||||
_deopt_state = is_deoptimized;
|
||||
|
||||
@ -61,7 +61,7 @@ inline void frame::setup() {
|
||||
_pc = original_pc;
|
||||
_deopt_state = is_deoptimized;
|
||||
assert(_cb == nullptr || _cb->as_compiled_method()->insts_contains_inclusive(_pc),
|
||||
"original PC must be in the main code section of the the compiled method (or must be immediately following it)");
|
||||
"original PC must be in the main code section of the compiled method (or must be immediately following it)");
|
||||
} else {
|
||||
if (_cb == SharedRuntime::deopt_blob()) {
|
||||
_deopt_state = is_deoptimized;
|
||||
|
||||
@ -557,7 +557,7 @@ class FreeCSetClosure : public HeapRegionClosure {
|
||||
assert(!r->is_empty(), "Region %u is an empty region in the collection set.", r->hrm_index());
|
||||
stats()->account_evacuated_region(r);
|
||||
|
||||
// Free the region and and its remembered set.
|
||||
// Free the region and its remembered set.
|
||||
_g1h->free_region(r, nullptr);
|
||||
_g1h->hr_printer()->cleanup(r);
|
||||
}
|
||||
|
||||
@ -2387,7 +2387,7 @@ Node* LoadNode::klass_identity_common(PhaseGVN* phase) {
|
||||
Node* x = LoadNode::Identity(phase);
|
||||
if (x != this) return x;
|
||||
|
||||
// Take apart the address into an oop and and offset.
|
||||
// Take apart the address into an oop and offset.
|
||||
// Return 'this' if we cannot.
|
||||
Node* adr = in(MemNode::Address);
|
||||
intptr_t offset = 0;
|
||||
@ -2488,7 +2488,7 @@ Node *LoadRangeNode::Ideal(PhaseGVN *phase, bool can_reshape) {
|
||||
Node* p = MemNode::Ideal_common(phase, can_reshape);
|
||||
if (p) return (p == NodeSentinel) ? NULL : p;
|
||||
|
||||
// Take apart the address into an oop and and offset.
|
||||
// Take apart the address into an oop and offset.
|
||||
// Return 'this' if we cannot.
|
||||
Node* adr = in(MemNode::Address);
|
||||
intptr_t offset = 0;
|
||||
@ -2520,7 +2520,7 @@ Node* LoadRangeNode::Identity(PhaseGVN* phase) {
|
||||
Node* x = LoadINode::Identity(phase);
|
||||
if (x != this) return x;
|
||||
|
||||
// Take apart the address into an oop and and offset.
|
||||
// Take apart the address into an oop and offset.
|
||||
// Return 'this' if we cannot.
|
||||
Node* adr = in(MemNode::Address);
|
||||
intptr_t offset = 0;
|
||||
|
||||
@ -42,7 +42,7 @@ class StringConcat : public ResourceObj {
|
||||
PhaseStringOpts* _stringopts;
|
||||
AllocateNode* _begin; // The allocation the begins the pattern
|
||||
CallStaticJavaNode* _end; // The final call of the pattern. Will either be
|
||||
// SB.toString or or String.<init>(SB.toString)
|
||||
// SB.toString or String.<init>(SB.toString)
|
||||
bool _multiple; // indicates this is a fusion of two or more
|
||||
// separate StringBuilders
|
||||
|
||||
|
||||
@ -174,7 +174,7 @@ char* os::iso8601_time(jlong milliseconds_since_19700101, char* buffer, size_t b
|
||||
|
||||
// Compute the time zone offset.
|
||||
// localtime_pd() sets timezone to the difference (in seconds)
|
||||
// between UTC and and local time.
|
||||
// between UTC and local time.
|
||||
// ISO 8601 says we need the difference between local time and UTC,
|
||||
// we change the sign of the localtime_pd() result.
|
||||
const time_t local_to_UTC = -(UTC_to_local);
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
* public VirtualMachine attach(Map arguments)
|
||||
* throws IOException,
|
||||
* IllegalConnectorArgumentsException
|
||||
* Attaches to a running application and and returns a mirror of its VM.
|
||||
* Attaches to a running application and returns a mirror of its VM.
|
||||
* The connector uses the given argument map in attaching the application.
|
||||
* These arguments will include addressing information that identifies
|
||||
* the VM. The argument map associates argument name strings to instances
|
||||
|
||||
@ -55,7 +55,7 @@
|
||||
* found referenceTypeID and list of fieldIDs as arguments, writes packet
|
||||
* to the transport channel, and waits for a reply packet.
|
||||
* When reply packet is received, debugger parses the packet structure
|
||||
* and and checks that there is no data in the reply packet.
|
||||
* and checks that there is no data in the reply packet.
|
||||
* Then debugger sends signal RUN to debuggee to ask it to verify
|
||||
* new fields values of tested class. Debuggee compares compares
|
||||
* these values with original and terget values and sends ERROR signal
|
||||
|
||||
@ -57,7 +57,7 @@
|
||||
* found objectID and list of fieldIDs as arguments, writes packet
|
||||
* to the transport channel, and waits for a reply packet.
|
||||
* When reply packet is received, debugger parses the packet structure
|
||||
* and and checks that there is no data in the reply packet.
|
||||
* and checks that there is no data in the reply packet.
|
||||
* Then debugger sends signal RUN to debuggee to ask it to verify
|
||||
* new fields values of tested class. Debuggee compares these values
|
||||
* with the original and target values and sends ERROR signal
|
||||
|
||||
@ -27,8 +27,8 @@ import nsk.share.TestBug;
|
||||
import nsk.share.Wicket;
|
||||
|
||||
/*
|
||||
* Class used to create deadlocked threads. It is possible create 2 or more deadlocked thread, also
|
||||
* is is possible to specify resource of which type should lock each deadlocked thread
|
||||
* Class used to create deadlocked threads. It is possible to create 2 or more deadlocked threads, also
|
||||
* it is possible to specify resource of which type should lock each deadlocked thread.
|
||||
*/
|
||||
public class DeadlockMaker {
|
||||
// create deadlock with 2 threads
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
* test class).
|
||||
<p>
|
||||
<h3>A simplified example</h3>
|
||||
Suppose we want to to define a test Test with an option "iterations",
|
||||
Suppose we want to define a test Test with an option "iterations",
|
||||
which can be run via
|
||||
</p>
|
||||
<pre> > java Test -iterations 10 </pre>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user