Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
QueryR
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Julien Lopez
QueryR
Commits
f8abd62b
Commit
f8abd62b
authored
8 years ago
by
Mick Jordan
Browse files
Options
Downloads
Patches
Plain Diff
mx_fastr: add back modified version of sanitizeVmArgs; up date ci.hocon
parent
930df695
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ci.hocon
+1
-1
1 addition, 1 deletion
ci.hocon
mx.fastr/mx_fastr.py
+23
-0
23 additions, 0 deletions
mx.fastr/mx_fastr.py
with
24 additions
and
1 deletion
ci.hocon
+
1
−
1
View file @
f8abd62b
java7
:
{
name
:
oraclejdk
,
version
:
"7"
,
platformspecific
:
true
}
#java8 : {name : oraclejdk, version : "8u66", platformspecific: true}
java8
:
{
name
:
labsjdk
,
version
:
"8u92-jvmci-0.1
1
"
,
platformspecific
:
true
}
java8
:
{
name
:
labsjdk
,
version
:
"8u92-jvmci-0.1
4
"
,
platformspecific
:
true
}
common
:
{
packages
:
{
...
...
This diff is collapsed.
Click to expand it.
mx.fastr/mx_fastr.py
+
23
−
0
View file @
f8abd62b
...
...
@@ -94,10 +94,33 @@ def do_run_r(args, command, extraVmArgs=None, jdk=None, **kwargs):
if
extraVmArgs
:
vmArgs
+=
extraVmArgs
vmArgs
=
_sanitize_vmArgs
(
jdk
,
vmArgs
)
if
command
:
vmArgs
.
append
(
_command_class_dict
[
command
.
lower
()])
return
mx
.
run_java
(
vmArgs
+
args
,
jdk
=
jdk
,
**
kwargs
)
def
_sanitize_vmArgs
(
jdk
,
vmArgs
):
'''
jdk dependent analysis of vmArgs to remove those that are not appropriate for the
chosen jdk. It is easier to allow clients to set anything they want and filter them
out here.
'''
jvmci_jdk
=
jdk
.
tag
==
'
jvmci
'
jvmci_disabled
=
'
-XX:-EnableJVMCI
'
in
vmArgs
xargs
=
[]
i
=
0
while
i
<
len
(
vmArgs
):
vmArg
=
vmArgs
[
i
]
if
vmArg
!=
'
-XX:-EnableJVMCI
'
:
if
'
graal
'
in
vmArg
or
'
JVMCI
'
in
vmArg
:
if
not
jvmci_jdk
or
jvmci_disabled
:
i
=
i
+
1
continue
xargs
.
append
(
vmArg
)
i
=
i
+
1
return
xargs
def
_graal_options
(
nocompile
=
False
):
if
_mx_graal
:
result
=
[
'
-Dgraal.InliningDepthError=500
'
,
'
-Dgraal.EscapeAnalysisIterations=3
'
,
'
-XX:JVMCINMethodSizeLimit=1000000
'
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment