File tree 4 files changed +1
-21
lines changed
src/hotspot/share/gc/shared
4 files changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -328,7 +328,7 @@ class CollectedHeap : public CHeapObj<mtGC> {
328
328
// super::ensure_parsability so that the non-generational
329
329
// part of the work gets done. See implementation of
330
330
// CollectedHeap::ensure_parsability and, for instance,
331
- // that of GenCollectedHeap ::ensure_parsability().
331
+ // that of ParallelScavengeHeap ::ensure_parsability().
332
332
// The argument "retire_tlabs" controls whether existing TLABs
333
333
// are merely filled or also retired, thus preventing further
334
334
// allocation from them and necessitating allocation of new TLABs.
Original file line number Diff line number Diff line change @@ -1069,16 +1069,3 @@ void GenCollectedHeap::record_gen_tops_before_GC() {
1069
1069
}
1070
1070
}
1071
1071
#endif // not PRODUCT
1072
-
1073
- class GenEnsureParsabilityClosure : public GenCollectedHeap ::GenClosure {
1074
- public:
1075
- void do_generation (Generation* gen) {
1076
- gen->ensure_parsability ();
1077
- }
1078
- };
1079
-
1080
- void GenCollectedHeap::ensure_parsability (bool retire_tlabs) {
1081
- CollectedHeap::ensure_parsability (retire_tlabs);
1082
- GenEnsureParsabilityClosure ep_cl;
1083
- generation_iterate (&ep_cl, false );
1084
- }
Original file line number Diff line number Diff line change @@ -228,9 +228,6 @@ class GenCollectedHeap : public CollectedHeap {
228
228
size_t requested_size,
229
229
size_t * actual_size) override ;
230
230
231
- // Ensure parsability
232
- void ensure_parsability (bool retire_tlabs) override ;
233
-
234
231
// Total number of full collections completed.
235
232
unsigned int total_full_collections_completed () {
236
233
assert (_full_collections_completed <= _total_full_collections,
Original file line number Diff line number Diff line change @@ -291,10 +291,6 @@ class Generation: public CHeapObj<mtGC> {
291
291
// Save the high water marks for the used space in a generation.
292
292
virtual void record_spaces_top () {}
293
293
294
- // Some generations may need to be "fixed-up" after some allocation
295
- // activity to make them parsable again. The default is to do nothing.
296
- virtual void ensure_parsability () {}
297
-
298
294
// Generations may keep statistics about collection. This method
299
295
// updates those statistics. current_generation is the generation
300
296
// that was most recently collected. This allows the generation to
You can’t perform that action at this time.
0 commit comments