I found this construction reading someone's else C++ code:
_worklist = new (_arena) Block_List();
I'm a little rusty on my C++, can someone explain what is going on here? I don't understand what this code is doing.
EDIT:
_arena is a field of type Arena.
EDIT 2:
And here is the code of Block_List
Edit 3: My bad, I now understand should have provide more context, here is the whole code: http://hg.openjdk.java.net/hsx/hsx24/hotspot/file/ed3ac73a70ab/src/share/vm/opto/live.cpp#l52