6968368: SIGSEGV in the BCEscapeAnalyzer::copy_dependencies

Use GrowableArray and VectorSet allocated in ciEnv arena.

Reviewed-by: never, twisti
This commit is contained in:
Vladimir Kozlov 2010-07-14 14:47:34 -07:00
parent 7378cf14d9
commit 2b339c9319
6 changed files with 71 additions and 76 deletions

View file

@ -48,7 +48,6 @@ class ciMethod : public ciObject {
ciInstanceKlass* _holder;
ciSignature* _signature;
ciMethodData* _method_data;
BCEscapeAnalyzer* _bcea;
ciMethodBlocks* _method_blocks;
// Code attributes.
@ -72,7 +71,8 @@ class ciMethod : public ciObject {
// Optional liveness analyzer.
MethodLiveness* _liveness;
#ifdef COMPILER2
ciTypeFlow* _flow;
ciTypeFlow* _flow;
BCEscapeAnalyzer* _bcea;
#endif
ciMethod(methodHandle h_m);