Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotCompiledNmethod.java @ 18176:c2270ad35f57
Better construction of data section and data patches.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Mon, 27 Oct 2014 14:07:49 +0100 |
parents | a20be10ad437 |
children | 5664cadb3cee |
comparison
equal
deleted
inserted
replaced
18175:cf09e921458f | 18176:c2270ad35f57 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
34 public final HotSpotResolvedJavaMethod method; | 34 public final HotSpotResolvedJavaMethod method; |
35 public final int entryBCI; | 35 public final int entryBCI; |
36 public final int id; | 36 public final int id; |
37 public final long ctask; | 37 public final long ctask; |
38 | 38 |
39 public HotSpotCompiledNmethod(TargetDescription target, HotSpotResolvedJavaMethod method, CompilationResult compResult) { | 39 public HotSpotCompiledNmethod(HotSpotResolvedJavaMethod method, CompilationResult compResult) { |
40 this(target, method, compResult, 0L); | 40 this(method, compResult, 0L); |
41 } | 41 } |
42 | 42 |
43 public HotSpotCompiledNmethod(TargetDescription target, HotSpotResolvedJavaMethod method, CompilationResult compResult, long ctask) { | 43 public HotSpotCompiledNmethod(HotSpotResolvedJavaMethod method, CompilationResult compResult, long ctask) { |
44 super(target, compResult); | 44 super(compResult); |
45 this.method = method; | 45 this.method = method; |
46 this.entryBCI = compResult.getEntryBCI(); | 46 this.entryBCI = compResult.getEntryBCI(); |
47 this.id = compResult.getId(); | 47 this.id = compResult.getId(); |
48 this.ctask = ctask; | 48 this.ctask = ctask; |
49 } | 49 } |