I mean that if multiple jvms using PDFBox library set the java environmental 
variable for fontcache to the same location and they are all using the same 
fontcache directory will there be any issues?

-----Original Message-----
From: John Hewson [mailto:[email protected]] 
Sent: Thursday, March 10, 2016 3:59 PM
To: [email protected]
Subject: Re: font cache & thread safe question


> On 10 Mar 2016, at 08:09, Stahle, Patrick <[email protected]> wrote:
> 
> Hi,
> 
> Is the font cache code in pdfbox thread safe? If it is, is it thread safe 
> just for the jvm or is it thread safe across multiple jvms?

Yes, it is, because it’s always accessed by FontMapperImpl in a thread safe 
manner. I’m not sure what you mean about multiple JVMs, objects can’t be shared 
across JVMs.

> Thanks,
> Patrick
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to