Mercurial > hg > truffle
comparison src/share/vm/interpreter/interpreter.hpp @ 20804:7848fc12602b
Merge with jdk8u40-b25
author | Gilles Duboscq <gilles.m.duboscq@oracle.com> |
---|---|
date | Tue, 07 Apr 2015 14:58:49 +0200 |
parents | 89152779163c 094cbdffa87d |
children |
comparison
equal
deleted
inserted
replaced
20184:84105dcdb05b | 20804:7848fc12602b |
---|---|
51 DEBUG_ONLY(CodeStrings _strings;) // Comments for annotating assembler output. | 51 DEBUG_ONLY(CodeStrings _strings;) // Comments for annotating assembler output. |
52 | 52 |
53 public: | 53 public: |
54 // Initialization/finalization | 54 // Initialization/finalization |
55 void initialize(int size, | 55 void initialize(int size, |
56 CodeStrings& strings) { _size = size; DEBUG_ONLY(_strings.assign(strings);) } | 56 CodeStrings& strings) { _size = size; |
57 DEBUG_ONLY(::new(&_strings) CodeStrings();) | |
58 DEBUG_ONLY(_strings.assign(strings);) } | |
57 void finalize() { ShouldNotCallThis(); } | 59 void finalize() { ShouldNotCallThis(); } |
58 | 60 |
59 // General info/converters | 61 // General info/converters |
60 int size() const { return _size; } | 62 int size() const { return _size; } |
61 static int code_size_to_size(int code_size) { return round_to(sizeof(InterpreterCodelet), CodeEntryAlignment) + code_size; } | 63 static int code_size_to_size(int code_size) { return round_to(sizeof(InterpreterCodelet), CodeEntryAlignment) + code_size; } |