Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into resources
- Loading branch information
Showing
121 changed files
with
9,606 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...m/src/com.oracle.svm.core/src/com/oracle/svm/core/doc-files/FlightRecorderLoggingHelp.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Usage: -XX:FlightRecorderLogging=[tag1[+tag2...][*][=level][,...]] | ||
|
||
When this option is not set, logging is enabled at a level of WARNING. | ||
When this option is set to the empty string, logging is enabled at a level of INFO. | ||
When this option is set to "disable", logging is disabled entirely. | ||
|
||
Otherwise, this option expects a comma separated list of tag combinations, each with an optional wildcard (*) and level. | ||
A tag combination without a level is given a default level of INFO. | ||
Messages with tags that match a given tag combination are set to log at that tag combination's level. | ||
If a tag combination does not have a wildcard, then only messages with exactly the same tags are matched. | ||
Otherwise, messages whose tags are a subset of the tag combination are matched. | ||
Specifying "all" instead of a tag combination matches all tag combinations. | ||
If more than one tag combination matches a message's tags, the rightmost one will apply. | ||
Messages with tags that do not have any matching tag combinations are set to log at a default level of WARNING. | ||
This option is case insensitive. | ||
|
||
Available log levels: | ||
[trace, debug, info, warning, error, off] | ||
|
||
Available log tags: | ||
[jfr, system, event, setting, bytecode, parser, metadata, dcmd] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
72 changes: 72 additions & 0 deletions
72
substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/jdk/UninterruptibleEntry.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
/* | ||
* Copyright (c) 2020, 2021, 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 | ||
* under the terms of the GNU General Public License version 2 only, as | ||
* published by the Free Software Foundation. Oracle designates this | ||
* particular file as subject to the "Classpath" exception as provided | ||
* by Oracle in the LICENSE file that accompanied this code. | ||
* | ||
* This code is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
* version 2 for more details (a copy is included in the LICENSE file that | ||
* accompanied this code). | ||
* | ||
* You should have received a copy of the GNU General Public License version | ||
* 2 along with this work; if not, write to the Free Software Foundation, | ||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | ||
* | ||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | ||
* or visit www.oracle.com if you need additional information or have any | ||
* questions. | ||
*/ | ||
package com.oracle.svm.core.jdk; | ||
|
||
import org.graalvm.nativeimage.c.struct.RawField; | ||
import org.graalvm.nativeimage.c.struct.RawStructure; | ||
import org.graalvm.word.PointerBase; | ||
|
||
/** | ||
* The common interface for the LinkedList entries that can be used in an | ||
* {@link UninterruptibleHashtable}. | ||
*/ | ||
@RawStructure | ||
public interface UninterruptibleEntry<T extends UninterruptibleEntry<T>> extends PointerBase { | ||
/** | ||
* Gets the next entry. | ||
*/ | ||
@RawField | ||
T getNext(); | ||
|
||
/** | ||
* Sets the next entry. | ||
*/ | ||
@RawField | ||
void setNext(T value); | ||
|
||
/** | ||
* Gets the id for the entry. | ||
*/ | ||
@RawField | ||
long getId(); | ||
|
||
/** | ||
* Sets the id for the entry. | ||
*/ | ||
@RawField | ||
void setId(long value); | ||
|
||
/** | ||
* Get the hashcode for the entry. | ||
*/ | ||
@RawField | ||
int getHash(); | ||
|
||
/** | ||
* Sets the hashcode for the entry. | ||
*/ | ||
@RawField | ||
void setHash(int value); | ||
} |
Oops, something went wrong.