Re: RFR: 8329629: GC interfaces should work directly against nmethod instead of CodeBlob

2024-04-09 Thread Stefan Karlsson
On Fri, 5 Apr 2024 12:32:30 GMT, Stefan Karlsson wrote: > The GCs scan and handles nmethods and ignores CodeBlobs of other kinds. The I > propose that we stop sending in CodeBlobs to the GCs and make sure to only > give them nmethods. > > I removed `void CodeCache::blobs_do(CodeBlobClosure*

Re: RFR: 8329629: GC interfaces should work directly against nmethod instead of CodeBlob [v2]

2024-04-09 Thread Stefan Karlsson
> The GCs scan and handles nmethods and ignores CodeBlobs of other kinds. The I > propose that we stop sending in CodeBlobs to the GCs and make sure to only > give them nmethods. > > I removed `void CodeCache::blobs_do(CodeBlobClosure* f)` since there's no > more usage of that function. Is

Re: RFR: 8329629: GC interfaces should work directly against nmethod instead of CodeBlob

2024-04-08 Thread Erik Ă–sterlund
On Fri, 5 Apr 2024 12:32:30 GMT, Stefan Karlsson wrote: > The GCs scan and handles nmethods and ignores CodeBlobs of other kinds. The I > propose that we stop sending in CodeBlobs to the GCs and make sure to only > give them nmethods. > > I removed `void CodeCache::blobs_do(CodeBlobClosure*

Re: RFR: 8329629: GC interfaces should work directly against nmethod instead of CodeBlob

2024-04-08 Thread Albert Mingkun Yang
On Fri, 5 Apr 2024 12:32:30 GMT, Stefan Karlsson wrote: > The GCs scan and handles nmethods and ignores CodeBlobs of other kinds. The I > propose that we stop sending in CodeBlobs to the GCs and make sure to only > give them nmethods. > > I removed `void CodeCache::blobs_do(CodeBlobClosure*

RFR: 8329629: GC interfaces should work directly against nmethod instead of CodeBlob

2024-04-05 Thread Stefan Karlsson
The GCs scan and handles nmethods and ignores CodeBlobs of other kinds. The I propose that we stop sending in CodeBlobs to the GCs and make sure to only give them nmethods. I removed `void CodeCache::blobs_do(CodeBlobClosure* f)` since there's no more usage of that function. Is this OK? I