summaryrefslogtreecommitdiffstats
path: root/dalvik
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-01-17 09:20:49 -0800
committerElliott Hughes <enh@google.com>2013-01-17 09:20:49 -0800
commit444aa237703574bb9082ba1481bc0dcc208910db (patch)
tree6049d02ef96e48b16fcf4adf1f2860e5af52d9be /dalvik
parent85d429a8989df0da4f0c7f9d97d09725f1c1725b (diff)
downloadlibcore-444aa237703574bb9082ba1481bc0dcc208910db.zip
libcore-444aa237703574bb9082ba1481bc0dcc208910db.tar.gz
libcore-444aa237703574bb9082ba1481bc0dcc208910db.tar.bz2
Fix typos.
Change-Id: I6a9f7d8203c91f854fef64c9acd0e0b04459724b
Diffstat (limited to 'dalvik')
-rw-r--r--dalvik/src/main/java/dalvik/system/profiler/SamplingProfiler.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/dalvik/src/main/java/dalvik/system/profiler/SamplingProfiler.java b/dalvik/src/main/java/dalvik/system/profiler/SamplingProfiler.java
index 0266103..744977c 100644
--- a/dalvik/src/main/java/dalvik/system/profiler/SamplingProfiler.java
+++ b/dalvik/src/main/java/dalvik/system/profiler/SamplingProfiler.java
@@ -74,7 +74,7 @@ public final class SamplingProfiler {
/**
* A sampler is created every time profiling starts and cleared
- * everytime profiling stops because once a {@code TimerTask} is
+ * every time profiling stops because once a {@code TimerTask} is
* canceled it cannot be reused.
*/
private Sampler sampler;
@@ -94,7 +94,7 @@ public final class SamplingProfiler {
* Real hprof output examples don't start the thread and trace
* identifiers at one but seem to start at these arbitrary
* constants. It certainly seems useful to have relatively unique
- * identifers when manual searching hprof output.
+ * identifiers when manual searching hprof output.
*/
private int nextThreadId = 200001;
private int nextStackTraceId = 300001;
@@ -146,9 +146,9 @@ public final class SamplingProfiler {
*
* @param threadSet The thread set specifies which threads to
* sample. In a general purpose program, all threads typically
- * should be sample with a ThreadSet such as provied by {@link
- * #newThreadGroupTheadSet newThreadGroupTheadSet}. For a
- * benchmark a fixed set such as provied by {@link
+ * should be sample with a ThreadSet such as provided by {@link
+ * #newThreadGroupThreadSet newThreadGroupThreadSet}. For a
+ * benchmark a fixed set such as provided by {@link
* #newArrayThreadSet newArrayThreadSet} can reduce the overhead
* of profiling.
*/
@@ -188,7 +188,7 @@ public final class SamplingProfiler {
/**
* Returns a ThreadSet for a fixed set of threads that will not
* vary at runtime. This has less overhead than a dynamically
- * calculated set, such as {@link #newThreadGroupTheadSet}, which has
+ * calculated set, such as {@link #newThreadGroupThreadSet}, which has
* to enumerate the threads each time profiler wants to collect
* samples.
*/
@@ -218,7 +218,7 @@ public final class SamplingProfiler {
* threads found in the specified ThreadGroup and that
* ThreadGroup's children.
*/
- public static ThreadSet newThreadGroupTheadSet(ThreadGroup threadGroup) {
+ public static ThreadSet newThreadGroupThreadSet(ThreadGroup threadGroup) {
return new ThreadGroupThreadSet(threadGroup);
}