Skip to content

Commit 269537a

Browse files
committed
Fix typos in Markdown files
Clean up misspellings via codespell.
1 parent 9421c15 commit 269537a

File tree

26 files changed

+47
-47
lines changed

26 files changed

+47
-47
lines changed

compiler/docs/Debugging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ obtained with `-XX:+JVMCIPrintProperties -Djdk.graal.PrintPropertiesAll=true`.
7878
The compiler supports metrics in the form of counters, timers and memory trackers.
7979
Each metric has a unique name. Metrics are collected per-compilation.
8080
At shutdown, they are aggregated across all compilations and reported to the console.
81-
This ouput can be redirected to a file via the `-Djdk.graal.AggregatedMetricsFile` option.
81+
This output can be redirected to a file via the `-Djdk.graal.AggregatedMetricsFile` option.
8282

8383
To list the per-compilation metrics, use the `-Djdk.graal.MetricsFile` option. If not specified,
8484
per-compilation metrics are not reported.

docs/graalvm-as-a-platform/implement-language.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ gu -L install /path/to/sl-component.jar
136136
A language built with Truffle can be AOT compiled using [Native Image](../reference-manual/native-image/README.md).
137137
Running `mvn package` in the SimpleLanguage directory also builds a `slnative` executable in the `native` directory.
138138
This executable is the full SimpleLanguage implementation as a single native application, and has no need for GraalVM in order to execute SimpleLanguage code.
139-
Besides this, a big advantage of using the native executable when compared to running on GraalVM is the greatly faster startup time as shown bellow:
139+
Besides this, a big advantage of using the native executable when compared to running on GraalVM is the greatly faster startup time as shown below:
140140
```shell
141141
time ./sl language/tests/HelloWorld.sl
142142
== running on org.graalvm.polyglot.Engine@2db0f6b2

docs/reference-manual/llvm/Compiling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ permalink: /reference-manual/llvm/Compiling/
77
# Compiling to LLVM Bitcode
88

99
GraalVM can execute C/C++, Rust, and other languages that can be compiled to LLVM bitcode.
10-
As the first step, you have to compile a program to LLVM bitcode using some LLVM compiler front end, for example, `clang` for C and C++, `rust` for the Rust programing language, etc.
10+
As the first step, you have to compile a program to LLVM bitcode using some LLVM compiler front end, for example, `clang` for C and C++, `rust` for the Rust programming language, etc.
1111

1212
## File Format
1313

docs/reference-manual/native-image/DebugInfo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ inlined compiled method code as well as mappings from code addresses
833833
to the corresponding source files and lines.
834834
`perf` and `valgrind` are able to use this information for some of
835835
their recording and reporting operations.
836-
For example, `perf report` is able to associate code adresses sampled
836+
For example, `perf report` is able to associate code addresses sampled
837837
during a `perf record` session with Java methods and print the
838838
DWARF-derived method name for the method in its output histogram.
839839

docs/tools/insight/Insight-Manual.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ The `returnValue` function is always available on the provided `ctx` object, but
672672

673673
If you ask whether GraalVM Insight causes any performance overhead when the scripts are applied, the answer is "No" or "Minimal".
674674
The overhead depends on what your scripts do.
675-
When they add and spread complex computations all around your code base, then the price for the computation will be payed.
675+
When they add and spread complex computations all around your code base, then the price for the computation will be paid.
676676
However, that would be overhead of your code, not of the instrumentation.
677677
Using a simple _function-count.js_ script, measure overhead.
678678

docs/tools/insight/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ That provides ultimate insights into execution and behavior of one's application
210210

211211
To continue learning and deep dive into GraalVM Insight, proceed to the [Insight Manual](Insight-Manual.md) which starts with an obligatory _HelloWorld_ example and then demonstrates more challenging tasks.
212212

213-
### Embeddeding GraalVM Insight into Applications
213+
### Embedding GraalVM Insight into Applications
214214

215215
GraalVM languages (languages implemented with the Truffle framework) can be embedded into custom applications via [Polyglot Context API](https://www.graalvm.org/sdk/javadoc/org/graalvm/polyglot/Context.html).
216216
GraalVM Insight can also be controlled via the same API.

espresso/docs/continuations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ There are special situations in which a call to `suspend` may fail with `Illegal
132132
- If in between the call to `resume` and `suspend` any of the following holds:
133133
- A lock is held (this may be an object monitor through the `MONITORENTER` bytecode, or even
134134
a `java.util.concurrent.locks.ReentrantLock`).
135-
- There is a non-java frame on the stack (this could be a `native` method, or even a VM instrinsic).
135+
- There is a non-java frame on the stack (this could be a `native` method, or even a VM intrinsic).
136136

137137
Furthermore, there is currently no support for continuation-in-continuation.
138138

espresso/docs/how-espresso-works.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ a series of slots stored on the host stack, or when _materialized_, the frame is
176176
languages these slots are strongly typed and correspond to the base Java type system with ints, booleans, longs and
177177
object references etc. Espresso however uses Truffle's _static slots_, which are (somewhat confusingly) both typed and
178178
untyped at the same time. The Truffle `Frame` interface has an API for reading and writing to static slots which
179-
distinguishes betwen primitive types (`get/setObjectStatic`, `get/setLongStatic` etc), but the actual primitive type of
179+
distinguishes between primitive types (`get/setObjectStatic`, `get/setLongStatic` etc), but the actual primitive type of
180180
a static slot is tracked only when assertions are enabled i.e. in debug mode. You can see some of this code in Truffle's
181181
`FrameWithoutBoxing` class. In normal execution the slot types are marked only as being "static". This is OK because
182182
Java bytecode implicitly types stack slots. The types aren't recorded in the bytecode itself, but can be recovered using

sdk/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ the close operation throws a [`PolyglotException`](https://www.graalvm.org/sdk/j
145145

146146
## Version 22.0.0
147147
* (GR-31170) Native Image API: Added `WINDOWS_AARCH64` Platform.
148-
* (GR-33657) Native Image API: Added `CEntryPoint#include` attribute which can be used to controll if the entry point should be automatically added to the shared library.
148+
* (GR-33657) Native Image API: Added `CEntryPoint#include` attribute which can be used to control if the entry point should be automatically added to the shared library.
149149
* (GR-22699)(EE-only) Added the ability to spawn a native-image isolate for a each `Engine` or `Context` by calling `Context.Builder.option("engine.SpawnIsolate", "true")`. This enables heap isolation between the host and guest applications. Using isolates improves security, startup and warmup time of polyglot languages. In this mode, calls between host and guest are more costly as they need to cross a native boundary. It is recommended to use the `HostAccess.SCOPED` policy with this mode to avoid strong cyclic references between host and guest. This mode is experimental in this release and only supported for a limited set of languages.
150150

151151
## Version 21.3.0

sdk/mx.sdk/vm/windows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ to work.
5858
## Testing
5959

6060
A primitive way to test the windows script is to copy the template to a file
61-
named `test.cmd`, and make a couple temporary adjustements:
61+
named `test.cmd`, and make a couple temporary adjustments:
6262

6363
- Prefix the final command invocation with `echo`.
6464
- Escape all substitution tags that live within strings with `^`. e.g.

substratevm/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ At runtime, premain runtime options are set along with main class' arguments in
4444
* (GR-47832) Experimental support for upcalls from foreign code and other improvements to our implementation of the [Foreign Function & Memory API](https://github.com/oracle/graal/blob/master/docs/reference-manual/native-image/ForeignInterface.md) (part of "Project Panama", [JEP 454](https://openjdk.org/jeps/454)) on AMD64. Must be enabled with `-H:+ForeignAPISupport` (requiring `-H:+UnlockExperimentalVMOptions`).
4545
* (GR-52314) `-XX:MissingRegistrationReportingMode` can now be used on program invocation instead of as a build option, to avoid a rebuild when debugging missing registration errors.
4646
* (GR-51086) Introduce a new `--static-nolibc` API option as a replacement for the experimental `-H:±StaticExecutableWithDynamicLibC` option.
47-
* (GR-52732) Introduce a new `ReduceImplicitExceptionStackTraceInformation` hosted option that reduces image size by reducing the runtime metadata for implicit exceptions, at the cost of stack trace precision. The option is diabled by default, but enabled with optimization level 3 and profile guided optimizations.
47+
* (GR-52732) Introduce a new `ReduceImplicitExceptionStackTraceInformation` hosted option that reduces image size by reducing the runtime metadata for implicit exceptions, at the cost of stack trace precision. The option is disabled by default, but enabled with optimization level 3 and profile guided optimizations.
4848
* (GR-52534) Change the digest (used e.g. for symbol names) from SHA-1 encoded as a hex string (40 bytes) to 128-bit Murmur3 as a Base-62 string (22 bytes).
4949
* (GR-52578) Print information about embedded resources into `embedded-resources.json` using the `-H:+GenerateEmbeddedResourcesFile` option.
5050
* (GR-51172) Add support to catch OutOfMemoryError exceptions on native image if there is no memory left.

substratevm/docs/module-system/ModuleSystemSupportRuntime.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The purpose of the runtime module support:
1717
- `com.oracle.svm.core.jdk.Target_java_lang_ModuleLayer`:
1818
- `boot()` - replaces the hosted boot module layer with our own
1919

20-
Some data structures also need to be substituted/resetted as to not pull in hosted modules (see runtime module synthesizing):
20+
Some data structures also need to be substituted/reset as to not pull in hosted modules (see runtime module synthesizing):
2121
- `com.oracle.svm.core.jdk.Target_java_lang_Module_ReflectionData`
2222

2323

sulong/docs/contributor/INTEROP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ a native pointer pointing to the type returned by the `getNativeType` message.
111111
The value returned by `getNativeType` should be a `polyglot_typeid` as returned
112112
by a `polyglot_*_typeid` function (see `graalvm/llvm/polyglot.h`).
113113

114-
The foreing object will then behave as if it was cast by `polyglot_as_typed(type, ...)`
114+
The foreign object will then behave as if it was cast by `polyglot_as_typed(type, ...)`
115115
to that type.
116116

117117
### `isPointer`/`asPointer`

tools/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ This changelog summarizes major changes between Truffle Tools versions.
3636
* Reimplemented CPUSampler to use the Truffle language safepoints thus deprecating several API functions.
3737
* Added new option `--cpusampler.SampleContextInitialization` which includes code executed during context initialization in the general sampling profile instead of grouping it into a single entry.
3838
* Default CLI output of CPUSampler was simplified to not include compiled times.
39-
* CPUSampler APIs to distingish compiled from interpreted samples were replaced by a more general API that supports an arbitrary number of compilation tiers.
39+
* CPUSampler APIs to distinguish compiled from interpreted samples were replaced by a more general API that supports an arbitrary number of compilation tiers.
4040
* Added the --cpusampler.ShowTiers option that shows time spend in each optimization tier.
4141
* Support for hash interoperability in Insight - no need to use `Truffle::Interop.hash_keys_as_members` anymore
4242
* [Cooperative heap dumping](https://www.graalvm.org/tools/javadoc/org/graalvm/tools/insight/heap/package-summary.html) when embedding Insight into Java applications

tools/docs/Insight.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ That provides ultimate insights into execution and behavior of one's application
5252

5353
Consult the [Insight Manual](../../docs/tools/insight/Insight-Manual.md) to get started with an obligatory HelloWorld example and other challenging tasks.
5454

55-
## Embeddeding Insight into Applications
55+
## Embedding Insight into Applications
5656

5757
GraalVM languages (languages implemented with the Truffle framework) can be embedded into custom applications via [Polyglot Context API](https://www.graalvm.org/sdk/javadoc/org/graalvm/polyglot/Context.html). GraalVM Insight can also be controlled via the same API.
5858

0 commit comments

Comments
 (0)