comparison src/share/vm/classfile/classFileParser.hpp @ 5979:fc9d8850ab8b

7150058: Allocate symbols from null boot loader to an arena for NMT Summary: Move symbol allocation to an arena so NMT doesn't have to track them at startup. Reviewed-by: never, kamg, zgu
author coleenp
date Fri, 23 Mar 2012 11:16:05 -0400
parents cd5d8cafcc84
children 749b1464aa81
comparison
equal deleted inserted replaced
5978:51612f0c0a79 5979:fc9d8850ab8b
1 /* 1 /*
2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2012, 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.
66 // Accessors 66 // Accessors
67 ClassFileStream* stream() { return _stream; } 67 ClassFileStream* stream() { return _stream; }
68 void set_stream(ClassFileStream* st) { _stream = st; } 68 void set_stream(ClassFileStream* st) { _stream = st; }
69 69
70 // Constant pool parsing 70 // Constant pool parsing
71 void parse_constant_pool_entries(constantPoolHandle cp, int length, TRAPS); 71 void parse_constant_pool_entries(Handle class_loader,
72 72 constantPoolHandle cp, int length, TRAPS);
73 constantPoolHandle parse_constant_pool(TRAPS); 73
74 constantPoolHandle parse_constant_pool(Handle class_loader, TRAPS);
74 75
75 // Interface parsing 76 // Interface parsing
76 objArrayHandle parse_interfaces(constantPoolHandle cp, 77 objArrayHandle parse_interfaces(constantPoolHandle cp,
77 int length, 78 int length,
78 Handle class_loader, 79 Handle class_loader,